gnuplot.pdf
(
1744 KB
)
Pobierz
gnuplot 4.3
An Interactive Plotting Program
Thomas Williams & Colin Kelley
Version
4.3
organized by: Hans-Bernhard Broker, Ethan A Merritt, and others
Major contributors (alphabetic order):
Hans-Bernhard Broker
John Campbell
Robert Cunningham
David Denholm
Gershon Elber
Roger Fearick
Carsten Grammes
Lucas Hart
Lars Hecking
Thomas Koenig
David Kotz
Ed Kubaitis
Russell Lang
Timothee Lecomte
Alexander Lehmann
Alexander Mai
Ethan A Merritt
Petr Mikulk
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 - 2009 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.
16 February 2009
2
gnuplot 4.3
CONTENTS
Contents
I
Gnuplot
14
1
Copyright
14
2
Introduction
14
3
Seeking-assistance
15
4
New features introduced in version 4.3
16
4.1
Internationalization
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
16
4.2
Transparency
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
16
4.3
Volatile Data
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
16
4.4
Canvas size
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
16
4.5
New plot elements
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
16
4.6
New or revised terminal drivers
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
17
4.7
New smoothing algorithms
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
17
5
Backwards compatibility
17
6
Batch/Interactive Operation
17
7
Command-line-editing
18
8
Comments
18
9
Coordinates
18
10 Datastrings
19
11 Enhanced text mode
19
12 Environment
20
13 Expressions
21
13.1
Functions
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
22
13.1.1
Elliptic integrals
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
23
13.1.2
Random number generator
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
23
13.2
Operators
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
23
13.2.1
Unary
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
24
13.2.2
Binary
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
24
13.2.3
Ternary
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
24
13.3
Gnuplot-dened variables
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
25
13.4
User-dened variables and functions
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
25
14 Fonts
26
14.1
Cairo (pdfcairo, pngcairo, wxt terminals)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
26
14.2
Gd (png, gif, jpeg terminals)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
26
14.3
Postscript (also encapsulated postscript *.eps)
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
27
CONTENTS
gnuplot 4.3
3
15 Glossary
27
16 Linetype, colors, and styles
28
16.1
Colorspec
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
29
16.1.1
Rgbcolor variable
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
29
16.1.2
Linecolor variable
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
29
17 Mouse input
30
17.1
Bind
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
30
17.1.1
Bind space
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
31
17.2
Mouse variables
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
31
18 Plotting
32
19 Start-up
32
20 String constants and string variables
32
21 Substitution and Command line macros
33
21.1
Substitution of system commands in backquotes
. . . . . . . . . . . . . . . . . . . . . . . . . . .
33
21.2
Substitution of string variables as macros
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
33
21.3
String variables, macros, and command line substitution
. . . . . . . . . . . . . . . . . . . . . .
34
22 Syntax
34
22.1
Quote Marks
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
35
23 Time/Date data
35
II
Plotting styles
36
24 Boxerrorbars
36
25 Boxes
37
26 Boxxyerrorbars
38
27 Candlesticks
38
28 Circles
39
29 Dots
39
30 Filledcurves
39
31 Financebars
40
32 Fsteps
40
33 Histeps
40
34 Histograms
41
34.1
Newhistogram
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
43
4
gnuplot 4.3
CONTENTS
34.2
Automated iteration over multiple columns
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
43
35 Image
43
35.1
Transparency
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
44
35.2
Image failsafe
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
44
36 Impulses
44
37 Labels
44
38 Lines
45
39 Linespoints
45
40 Points
45
41 Steps
46
42 Rgbalpha
46
43 Rgbimage
46
44 Vectors
46
45 Xerrorbars
46
46 Xyerrorbars
46
47 Yerrorbars
47
48 Xerrorlines
47
49 Xyerrorlines
47
50 Yerrorlines
48
51 3D (surface) plots
48
III
Commands
49
52 Cd
49
53 Call
49
54 Clear
50
55 Evaluate
50
56 Exit
50
57 Fit
51
57.1
Adjustable parameters
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
52
57.2
Short introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
52
CONTENTS
gnuplot 4.3
5
57.3
Error estimates
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
53
57.3.1
Statistical overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
53
57.3.2
Practical guidelines
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
54
57.4
Control
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
55
57.4.1
Control variables
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
55
57.4.2
Environment variables
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
55
57.5
Multi-branch
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
55
57.6
Starting values
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
56
57.7
Tips
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
56
58 Help
57
59 History
57
60 If
57
61 Iteration
58
62 Load
58
63 Lower
58
64 Pause
59
65 Plot
59
65.1
Axes
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
60
65.2
Data
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
60
65.2.1
Binary
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
62
65.2.2
Binary general
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
62
65.2.2.1
Array
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
62
65.2.2.2
Record
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
63
65.2.2.3
Skip
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
63
65.2.2.4
Format
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
63
65.2.2.5
Endian
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
63
65.2.2.6
Filetype
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
63
65.2.2.6.1
Avs
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
63
65.2.2.6.2
Edf
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
64
65.2.2.7
Keywords
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
64
65.2.2.7.1
Scan
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
64
65.2.2.7.2
Transpose
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
64
65.2.2.7.3
Dx, dy, dz
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
64
65.2.2.7.4
Flipx, ipy, ipz
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
64
65.2.2.7.5
Origin
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
64
65.2.2.7.6
Center
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
64
65.2.2.7.7
Rotate
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
64
65.2.2.7.8
Perpendicular
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
65
65.2.2.8
Binary examples
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
65
65.2.3
Every
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
65
Plik z chomika:
graviora
Inne pliki z tego folderu:
gnuplot.pdf
(1744 KB)
Inne foldery tego chomika:
octave
Zgłoś jeśli
naruszono regulamin