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

Public Member Functions

 Pie ()
 円グラフのコンストラクタ 1 of 2
 
 Pie (std::string title)
 円グラフのコンストラクタ 2 of 2 More...
 
 ~Pie ()
 円グラフのデストラクタ
 
void plot (double data, std::string name)
 描画するデータを追加する関数 More...
 
void show ()
 円グラフの描画を行う関数
 
void pause (int usec=0)
 
void save_as_png (std::string title)
 プロットをpngファイルとして保存する More...
 
void set_window_size (unsigned int width, unsigned int height)
 ウィンドウのサイズを変更する関数 More...
 

Constructor & Destructor Documentation

◆ Pie()

Gpop::Pie::Pie ( std::string  title)

円グラフのコンストラクタ 2 of 2

Parameters
titleグラフのタイトル

Member Function Documentation

◆ plot()

void Gpop::Pie::plot ( double  data,
std::string  name 
)

描画するデータを追加する関数

Parameters
data円グラフのデータ
namedataで入力したデータの要素の名前

◆ save_as_png()

void Gpop::Pie::save_as_png ( std::string  title)

プロットをpngファイルとして保存する

Parameters
title保存するpngファイルの名前.拡張子は不要

◆ set_window_size()

void Gpop::Pie::set_window_size ( unsigned int  width,
unsigned int  height 
)

ウィンドウのサイズを変更する関数

Parameters
widthウィンドウの横幅
heightウィンドウの高さ

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