TABLE OF CONTENTS
::pwtk::gp::plot
PURPOSE
A class for creating single-plot Gnuplot objects, i.e., objects for creating Gnuplot plots in a single-plot mode (for multiplot-mode, see the ::pwtk::gp::multiplot class).
SEE ALSO
For further details, see: plot::constructor
EXAMPLE
# create with Gnuplot a PNG image of sin(x) function set obj [::pwtk::gp::plot new sin.png] $obj options { xlabel {'x'} ylabel {'sin(x)'} } $obj options { xzeroaxis {lt -1} } $obj unset key grid $obj plot { [-pi:pi] sin(x) } $obj exec; # this executes Gnuplot and creates sin.png image