Gpop
Gnuplot of Pipe of Pop
|
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) |
Gnuplot::Gnuplot | ( | ) |
コンストラクター.
Gnuplotとのパイプを接続する.もし,パイプが接続できない場合はエラーメッセージを表示する.
Gnuplot::~Gnuplot | ( | ) |
デストラクタ.
Gnuplotとのパイプを閉じる.エラーは発生しない.
void Gnuplot::write | ( | std::string | command | ) |
パイプを通して,Gnuplotに命令を送る.
コマンドは加工されずに,そのまま,パイプを通してGnuplotに送られる.
command | コマンド(末尾に"\n"が必要) |
void Gnuplot::write_command | ( | std::string | command | ) |
パイプを通して,Gnuplotに命令を送る.
引数のcommandの末尾に"\n"が自動的につく.
command | コマンド(末尾に"\n"が自動で挿入される) |