TABLE OF CONTENTS
::pwtk::gp::splot
DERIVED FROM
PURPOSE
A class for creating 'splot' Gnuplot objects, i.e., objects for creating Gnuplot 3D surface and/or heatmap plots in a single-plot mode. It is derived from the ::pwtk::gp::plot class, implying that the methods of ::pwtk::gp::plot can be used.
By default, a heatmap is created.
SEE ALSO
For further details, see: splot::constructor
EXAMPLE
# create with Gnuplot a PNG heatmap image of the sin(x*y) function set obj [::pwtk::gp::splot new -type map -t "a simple plot" sin.png] $obj options { xlabel 'x' ylabel 'y' xrange [-pi:pi] yrange [-pi:pi] } $obj plot sin(x*y) $obj exec; # this executes Gnuplot and creates the 'sin.png' PNG image