Click here to load reader
View
12
Download
1
Embed Size (px)
gnuplot 4.4
An Interactive Plotting Program
Thomas Williams & Colin Kelley
Version 4.4 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 Thomas Koenig
David Kotz Ed Kubaitis Russell Lang
Timothée Lecomte Alexander Lehmann
Alexander Mai Ethan A Merritt
Petr Mikuĺık Carsten Steger Tom Tkacik
Jos Van der Woude Alex Woo
James R. Van Zandt Johannes Zellner
Copyright c© 1986 - 1993, 1998, 2004 Thomas Williams, Colin Kelley Copyright c© 2004 - 2011 various authors
Mailing list for comments: [email protected] Mailing list for bug reports: [email protected]
Web access (preferred): http://sourceforge.net/projects/gnuplot
This manual was originally prepared by Dick Crawford.
12 Nov 2011 Version 4.4.4
2 gnuplot 4.4 CONTENTS
Contents
I Gnuplot 15
1 著作権 (Copyright) 15
2 はじめに (Introduction) 16
3 探し出す手助け (Seeking-assistance) 17
4 バージョン 4.4 で導入された新しい機能 (New features) 18
4.1 国際化 (Internationalization) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.2 透明化 (Transparency) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.3 揮発性データ (Volatile Data) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.4 キャンバスサイズ (Canvas size) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.5 新しい描画要素 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.6 新しい/修正された出力形式 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.7 新しい平滑化アルゴリズム . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
5 後方互換性 (Backwards compatibility) 19
6 バッチ/対話型操作 (Batch/Interactive) 20
7 コマンドライン編集 (Command-line-editing) 20
8 コメント (Comments) 21
9 座標系 (Coordinates) 21
10 文字列データ (Datastrings) 22
11 拡張文字列処理モード (Enhanced text mode) 22
12 環境変数 (Environment) 23
13 式 (Expressions) 24
13.1 関数 (Functions) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
13.1.1 種々の楕円積分 (elliptic integrals) . . . . . . . . . . . . . . . . . . . . . . . . . . 27
13.1.2 乱数の生成 (random) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
13.1.3 Value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
13.2 演算子 (Operators) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
13.2.1 単項演算子 (Unary) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
13.2.2 二項演算子 (Binary) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
13.2.3 三項演算子 (Ternary) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
13.3 定義済み変数 (Gnuplot-defined variables) . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
13.4 ユーザ定義の変数と関数 (User-defined) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
CONTENTS gnuplot 4.4 3
14 フォント 31
14.1 Cairo (pdfcairo, pngcairo, wxt 出力形式) . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
14.2 Gd (png, gif, jpeg terminals) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
14.3 Postscript (カプセル化 postscript *.eps も) . . . . . . . . . . . . . . . . . . . . . . . . . . 32
15 ヘルプの用語解説 (Glossary) 32
16 線種、色、スタイル (linetype) 33
16.1 色指定 (colorspec) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
16.1.1 Rgbcolor variable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
16.1.2 Linecolor variable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
17 マウス入力 (mouse input) 35
17.1 Bind . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
17.1.1 Bind space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
17.2 マウス用の変数 (Mouse variables) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
18 描画 (Plotting) 37
19 起動 (Startup) 38
20 文字列定数と文字列変数 (Strings) 38
21 置換とコマンドラインマクロ (Substitution) 39
21.1 バッククォートによるシステムコマンドの置換 (Substitution backquotes) . . . . . . . . . 39
21.2 文字列変数のマクロ置換 (Substitution macros) . . . . . . . . . . . . . . . . . . . . . . . . 39
21.3 文字列変数、マクロ、コマンドライン置換 (mixing macros backquotes) . . . . . . . . . . 40
22 区切りやカッコの使い方 (Syntax) 40
22.1 引用符 (Quotes) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
23 時間/日付データ (Time/Date) 41
II 描画スタイル (plotting styles) 42
24 Boxerrorbars 42
25 Boxes 43
26 Boxxyerrorbars 44
27 Candlesticks 44
28 Circles 45
29 Dots 45
30 Filledcurves 45
4 gnuplot 4.4 CONTENTS
31 Financebars 46
32 Fsteps 46
33 Histeps 46
34 Histograms 47
34.1 Newhistogram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
34.2 複数の列に渡る自動的な繰り返し (automated) . . . . . . . . . . . . . . . . . . . . . . . . 49
35 Image 49
35.1 透明化 (transparency) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
35.2 Image failsafe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
36 Impulses 50
37 Labels 50
38 Lines 51
39 Linespoints 51
40 Points 51
41 Steps 51
42 Rgbalpha 52
43 Rgbimage 52
44 Vectors 52
45 Xerrorbars 52
46 Xyerrorbars 52
47 Yerrorbars 53
48 Xerrorlines 53
49 Xyerrorlines 53
50 Yerrorlines 53
51 3 次元 (曲面) 描画 (3D (surface) plots) 54
III コマンド (Commands) 54
52 Cd 54
CONTENTS gnuplot 4.4 5
53 Call 54
54 Clear 55
55 Evaluate 55
56 Exit 56
57 Fit 56
57.1 パラメータの調整 (adjustable parameters) . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
57.2 Fit の概略 (fit beginners guide) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
57.3 誤差評価 (error estimates) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
57.3.1 統計的な概要 (statistical overview) . . . . . . . . . . . . . . . . . . . . . . . . . . 59
57.3.2 実用的なガイドライン (practical guidelines) . . . . . . . . . . . . . . . . . . . . . 60
57.4 制御 (control) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
57.4.1 制御変数 (control variables) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
57.4.2 環境変数 (control environment) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
57.5 複数の当てはめ (multi-branch) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
57.6 初期値 (starting values) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
57.7 ヒント (tips) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
58 Help 63
59 History 63
60 If 63
61 繰り返し (iteration) 64
62 Load 64
63 Lower 65
64 Pause 65
65 Plot 66
65.1 軸 (axes) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
65.2 データ (data) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
65.2.1 Binary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
65.2.2 Binary general . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
65.2.3 Array . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
65.2.4 Record . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
65.2.5 Skip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
65.2.6 Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
65.2.7 Endian . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
65.2.8 Filetype . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
65.2.8.1 Avs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
6 gnuplot 4.4 CONTENT