Gpop
Gnuplot of Pipe of Pop
Public Member Functions | List of all members
Gnuplot Class Reference

Public Member Functions

 Gnuplot ()
 コンストラクター. More...
 
 ~Gnuplot ()
 デストラクタ. More...
 
void write (std::string command)
 パイプを通して,Gnuplotに命令を送る. More...
 
void write_command (std::string command)
 パイプを通して,Gnuplotに命令を送る. More...
 
bool is_open ()
 
void flush ()
 
void util_set_title (std::string title)
 
void util_set_title (std::string title, unsigned int font_size)
 
void util_set_x_label (std::string label)
 
void util_set_x_label (std::string label, unsigned int font_size)
 
void util_set_y_label (std::string label)
 
void util_set_y_label (std::string label, unsigned int font_size)
 
void util_set_window_size (unsigned int width, unsigned int height)
 
void util_set_x_range (double min, double max)
 
void util_set_y_range (double min, double max)
 
void util_set_grid (bool should_set)
 
void util_set_autoscale (bool should_autoscale)
 

Constructor & Destructor Documentation

◆ Gnuplot()

Gnuplot::Gnuplot ( )

コンストラクター.

Gnuplotとのパイプを接続する.もし,パイプが接続できない場合はエラーメッセージを表示する.

◆ ~Gnuplot()

Gnuplot::~Gnuplot ( )

デストラクタ.

Gnuplotとのパイプを閉じる.エラーは発生しない.

Member Function Documentation

◆ write()

void Gnuplot::write ( std::string  command)

パイプを通して,Gnuplotに命令を送る.

コマンドは加工されずに,そのまま,パイプを通してGnuplotに送られる.

Parameters
commandコマンド(末尾に"\n"が必要)

◆ write_command()

void Gnuplot::write_command ( std::string  command)

パイプを通して,Gnuplotに命令を送る.

引数のcommandの末尾に"\n"が自動的につく.

Parameters
commandコマンド(末尾に"\n"が自動で挿入される)

The documentation for this class was generated from the following files: