`splot` is the command for drawing 3-d plots (well, actually projections on
a 2-d surface, but you knew that). It can create a plot from functions or
a data file in a manner very similar to the `plot` (Note:plot ) command.
See `plot` for features common to the `plot` command; only differences are
discussed in detail here. Note specifically that the `binary`
(Note:binary ) and `matrix` (Note:matrix ) options (discussed under
"datafile-modifiers") are not available for `plot`.
Syntax:
splot {<ranges>}
<function> | "<datafile>" {datafile-modifiers}}
{<title-spec>} {with <style>}
{, {definitions,} <function> ...}
where either a <function> or the name of a data file enclosed in quotes is
supplied. The function can be a mathematical expression, or a triple of
mathematical expressions in parametric mode.
By default `splot` draws the xy plane completely below the plotted data.
The offset between the lowest ztic and the xy plane can be changed by `set
ticslevel`. The orientation of a `splot` projection is controlled by
`set view` (Note:view ). See set view and nd `set ticslevel`
(Note:ticslevel ) for more information.
The syntax for setting ranges on the `splot` command is the same as for
`plot`. In non-parametric mode, the order in which ranges must be given is
`xrange` (Note:xrange ), `yrange` (Note:yrange ), and `zrange`
(Note:zrange ). In parametric mode, the order is `urange`
(Note:urange ), `vrange` (Note:vrange ), xrange, yrange, and zrange.
The `title` (Note:title ) option is the same as in plot. The operation of
of `with` (Note:with ) is also the same as in `plot`, except that the
plotting styles available to `splot` are limited to `lines` (Note:lines ),
`points` (Note:points ), `linespoints` (Note:linespoints ), `dots`
(Note:dots ), and `impulses` (Note:impulses ); the error-bar
capabilities of `plot` are not available for `splot`.
The datafile options have more differences.