Gnuplot FAQ
This document deals with gnuplot version 4.2 which is the latest official release as of September 2009.
Its version is $Revision: 1.37 $, dated $Date: 2008/01/24 18:13:04 $.
Contents
0 Meta – Questions 3
0.1 Where do I get this document? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
0.2 Where do I send comments about this document? . . . . . . . . . . . . . . . . . . . . . . . . 3
1 General Information 3
1.1 What is gnuplot? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2 How did it come about and why is it called gnuplot? . . . . . . . . . . . . . . . . . . . . . . 3
1.3 What does gnuplot offer? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.4 Is gnuplot suitable for scripting? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.5 Can I run gnuplot on my computer? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.6 Legalities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.7 Does gnuplot have anything to do with the FSF and the GNU project? . . . . . . . . . . . . . 4
1.8 Where do I get further information? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2 Setting it up 4
2.1 What is the current version of gnuplot? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.2 Where can I get gnuplot? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.3 Where can I get current development version of gnuplot? . . . . . . . . . . . . . . . . . . . . 5
2.4 How do I get gnuplot to compile on my system? . . . . . . . . . . . . . . . . . . . . . . . . 5
2.5 What documentation is there, and how do I get it? . . . . . . . . . . . . . . . . . . . . . . . . 5
2.6 Worked examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.7 How do I modify gnuplot, and apply ’patches’? . . . . . . . . . . . . . . . . . . . . . . . . . 6
3 Working with it. 6
3.1 How do I get help? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3.2 How do I print out my graphs? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3.3 How do I include my graphs in <word processor>? . . . . . . . . . . . . . . . . . . . . . . . 7
3.4 How do I edit or post-process a gnuplot graph? . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.5 How do I change symbol size, line thickness and the like? . . . . . . . . . . . . . . . . . . . . 8
3.6 Can I animate my graphs? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.7 How do I plot implicit defined graphs? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.8 How to fill an area between two curves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.9 Pm3d splot from a datafile does not draw anything . . . . . . . . . . . . . . . . . . . . . . . . 9
3.10 Drawing a (color) map, i.e. 2D projection of 3D data . . . . . . . . . . . . . . . . . . . . . . 9
3.11 How to overlay dots/points scatter plot onto a pm3d map/surface . . . . . . . . . . . . . . . . 9
3.12 How to draw black contour plot, and contours with labels . . . . . . . . . . . . . . . . . . . . 10
3.13 How to overlay contour plot over pm3d map/surface . . . . . . . . . . . . . . . . . . . . . . . 10
3.14 Color facets with pm3d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.15 Palette for printing my color map on color as well as black&white printer? . . . . . . . . . . . 11
1
- 1
- 2
前往页