View
1
Download
0
Embed Size (px)
gnuplot 4.6
An Interactive Plotting Program
Thomas Williams & Colin Kelley
Version 4.6 organized by: Hans-Bernhard Bröker, Ethan A Merritt, and others
Major contributors (alphabetic order): Hans-Bernhard Bröker, John Campbell, Robert Cunningham, David Denholm,
Gershon Elber, Roger Fearick, Carsten Grammes, Lucas Hart,
Lars Hecking, Péter Juhász, Thomas Koenig, David Kotz, Ed Kubaitis, Russell Lang,
Timothée Lecomte, Alexander Lehmann, Alexander Mai, Bastian Märkisch, Ethan A Merritt, Petr Mikuĺık,
Carsten Steger, Shigeharu Takeno, Tom Tkacik, Jos Van der Woude,
James R. Van Zandt, Alex Woo, Johannes Zellner Copyright c© 1986 - 1993, 1998, 2004 Thomas Williams, Colin Kelley
Copyright c© 2004 - 2014 various authors
Mailing list for comments: gnuplot-info@lists.sourceforge.net Mailing list for bug reports: gnuplot-bugs@lists.sourceforge.net
Web access (preferred): http://sourceforge.net/projects/gnuplot
This manual was originally prepared by Dick Crawford.
2014 Version 4.6.6
2 gnuplot 4.6 CONTENTS
Contents
I Gnuplot 16
著作権 (Copyright) 16
はじめに (Introduction) 17
探し出す手助け (Seeking-assistance) 18
新しい機能 (New features) 19
新しい構文 (New syntax) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
線種のカスタマイズ (Local customization of linetypes) . . . . . . . . . . . . . . . . . . . . . . . . . 19
新しい描画スタイル (New plot styles) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
極座標軸の改良 (Revised polar axes) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
新しい平滑化アルゴリズム . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
新しい日時 (time/date) の取扱い . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
データの簡単な統計情報 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
新しい/修正された出力形式 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
後方互換性 (Backwards compatibility) 21
バッチ/対話型操作 (Batch/Interactive) 21
キャンバスサイズ (Canvas size) 22
コマンドライン編集 (Command-line-editing) 22
コメント (Comments) 23
座標系 (Coordinates) 23
文字列データ (Datastrings) 24
拡張文字列処理モード (Enhanced text mode) 24
環境変数 (Environment) 25
式 (Expressions) 26
関数 (Functions) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
種々の楕円積分 (elliptic integrals) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
乱数の生成 (random) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
演算子 (Operators) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
単項演算子 (Unary) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
二項演算子 (Binary) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
三項演算子 (Ternary) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
CONTENTS gnuplot 4.6 3
和 (Summation) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
定義済み変数 (Gnuplot-defined variables) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
ユーザ定義の変数と関数 (User-defined) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
フォント 32
Cairo (pdfcairo, pngcairo, epscairo, wxt 出力形式) . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Gd (png, gif, jpeg terminals) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Postscript (カプセル化 postscript *.eps も) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
ヘルプの用語解説 (Glossary) 34
線種、色、スタイル (linetypes) 34
色指定 (colorspec) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Background color . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Linecolor variable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Rgbcolor variable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Linestyles と linetypes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
マウス入力 (mouse input) 37
Bind . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Bind space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
マウス用の変数 (Mouse variables) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
残留 (Persist) 39
描画 (Plotting) 39
初期化 (Startup (initialization)) 39
文字列定数と文字列変数 (Strings) 40
置換とコマンドラインマクロ (Substitution) 40
バッククォートによるシステムコマンドの置換 (Substitution backquotes) . . . . . . . . . . . . . . . 40
文字列変数のマクロ置換 (Substitution macros) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
文字列変数、マクロ、コマンドライン置換 (mixing macros backquotes) . . . . . . . . . . . . . . . . 41
区切りやカッコの使い方 (Syntax) 42
引用符 (Quotes) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
時間/日付データ (Time/Date) 43
II 描画スタイル (plotting styles) 44
Boxerrorbars 44
Boxes 45
4 gnuplot 4.6 CONTENTS
Boxplot 46
Boxxyerrorbars 46
Candlesticks 47
Circles 48
Ellipses 48
Dots 49
Filledcurves 49
Financebars 50
Fsteps 51
Fillsteps 51
Histeps 51
Histograms 51
Newhistogram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
複数の列に渡る自動的な繰り返し (automated) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Image 54
透明化 (transparency) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Image failsafe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Impulses 56
Labels 56
Lines 56
Linespoints 57
Points 57
Polar 57
Steps 58
Rgbalpha 58
Rgbimage 58
Vectors 58
Xerrorbars 59
CONTENTS gnuplot 4.6 5
Xyerrorbars 59
Yerrorbars 59
Xerrorlines 60
Xyerrorlines 60
Yerrorlines 61
3 次元 (曲面) 描画 (3D (surface) plots) 61
2 次元射影 (set view map) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
III コマンド (Commands) 61
Cd 62
Call 62
Clear 63
Do 63
Evaluate 63
Exit 64
Fit 64
パラメータの調整 (adjustable parameters) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Fit の概略 (fit beginners guide) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
誤差評価 (error estimates) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
統計的な概要 (statistical overview) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
実用的なガイドライン (practical guidelines) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
制御 (control) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
制御変数 (control variables) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
環境変数 (control environment) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
複数の当てはめ (multi-branch) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
初期値 (starting values) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
ヒント (tips) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Help 71
History 71
If 71
If-old . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
繰り返し (iteration) 72
6 gnuplot 4.6 CONTENTS
Load 72
Lower 73
Pause 73
Plot 74
軸 (axes) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Binary . . . . . . . . . . . . . . . . . . . . . . . . . . . . .