Go to the first, previous, next, last section, table of contents.


1.12 Plotting

There are three `gnuplot` commands which actually create a plot: section 2.10 plot, `splot` and section 2.14 replot. section 2.10 plot generates 2-d plots, `splot` generates 3-d plots (actually 2-d projections, of course), and section 2.14 replot appends its arguments to the previous section 2.10 plot or `splot` and executes the modified command.

Much of the general information about plotting can be found in the discussion of section 2.10 plot; information specific to 3-d can be found in the `splot` section.

section 2.10 plot operates in either rectangular or polar coordinates -- see `set polar` for details of the latter. `splot` operates only in rectangular coordinates, but the section 2.18.28 mapping command allows for a few other coordinate systems to be treated. In addition, the section 2.10.1.7 using option allows both section 2.10 plot and `splot` to treat almost any coordinate system you'd care to define.

`splot` can plot surfaces and contours in addition to points and/or lines. In addition to `splot`, see section 2.18.21 isosamples for information about defining the grid for a 3-d function; `splot datafile` for information about the requisite file structure for 3-d data values; and section 2.18.11 contour and section 2.18.10 cntrparam for information about contours.


Go to the first, previous, next, last section, table of contents.