|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.mklab.tool.graph.gnuplot.Gnuplot
public class Gnuplot
Gnuplot
クラスはgnuplotでグラフを描画するためのラッパークラスです。
コンストラクタの概要 | |
---|---|
Gnuplot()
コンストラクター オプションなしでGnuplotオブジェクトを生成します。 |
|
Gnuplot(Environment env,
String options)
コンストラクター ウインドウオプションを指定して Gnuplot オブジェクトを生成します。 |
|
Gnuplot(String options)
新しく生成された Gnuplot オブジェクトを初期化します。 |
メソッドの概要 | |
---|---|
void |
clear()
グラフ描画を消去します。 |
void |
close()
グラフ表示を終了します。 |
Canvas |
createCanvas()
メインキャンバスを返します。 |
void |
createCanvas(int rowSize,
int columnSize)
マルチキャンバスを生成します。 |
void |
destroy()
グラフを強制終了します。 |
void |
doCommand(String command)
コマンドを実行します。 |
void |
export(String fileName,
String mode)
現在持っているグラフ情報を各種ファイルに出力します。 |
void |
export(String fileName,
String mode,
String command)
現在持っているグラフ情報を各種ファイルに出力します。 |
protected void |
finalize()
|
Canvas |
getCanvas()
メインキャンバスを返します。 |
Canvas |
getCanvas(int row,
int column)
指定されたキャンバスを返します。 |
Environment |
getEnvironment()
gnuplot実行環境を取得します。 |
boolean |
isBuffering()
バッファリングの設定を返します。 |
boolean |
isRunning()
Gnuplotプロセスが起動中であるか判定します。 |
void |
redraw()
グラフを再描画します。 |
void |
reset()
リセットします。 |
void |
setBuffering(boolean buffering)
出力のバッファリングを設定します。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public Gnuplot() throws IOException
オプションなしでGnuplotオブジェクトを生成します。
IOException
- gnuplotプロセスを起動できない場合public Gnuplot(String options) throws IOException
Gnuplot
オブジェクトを初期化します。
options
- ウィンドウオプション
IOException
- gnuplotプロセスを起動できない場合public Gnuplot(Environment env, String options) throws IOException
ウインドウオプションを指定してGnuplot
オブジェクトを生成します。
env
- gnuplotの実行環境options
- ウインドウオプション
IOException
- gnuplotプロセスを起動できない場合メソッドの詳細 |
---|
public Environment getEnvironment()
public void doCommand(String command)
command
- コマンドpublic void clear()
public Canvas getCanvas()
public void reset()
public void redraw()
public void export(String fileName, String mode)
fileName
- 出力ファイル名mode
- ファイルの種類{"ps", "eps", "psplus", "epsplus", "fig"}public void export(String fileName, String mode, String command)
fileName
- 出力ファイル名mode
- ファイルの種類{"ps", "eps", "psplus", "epsplus", "fig"}command
- コマンドprotected void finalize()
Object
内の finalize
Object.finalize()
public void close()
public void destroy()
public boolean isRunning()
public Canvas createCanvas()
public void createCanvas(int rowSize, int columnSize)
rowSize
- 縦方向の分割数columnSize
- 横方向の分割数public Canvas getCanvas(int row, int column)
row
- 行番号(0から始まります)column
- 列番号(0から始まります)
public void setBuffering(boolean buffering)
buffering
- バッファリングするならばtrue、そうでなければfalsepublic boolean isBuffering()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |