Manpage of PLOT
Section: PD Piglet Users Manual (1P)
Updated: PD Piglet Users Manual
Return to Main Contents
PLOT - Make a postscript plot of the current device
PLO [:F] <plotname> <EOC>
The PLOT command creates a postscript dump of the current window in the
file "./<plotname>.ps. If the <plotname> is not specified, the name of
the cell will be used instead. The file is suitable for printing on
letter sized paper, and will automatically fit the drawing to either
landscape or portrait depending on the shape of the drawing. Piglet
fits the entire displayed window to the postscript output. If the size
of the printed image is too small, it may be advantagious to resize the
X11 display window to fit the cell more closely.
PLOT with no arguments will plot just the currently visible portion of
the device. The ":F" option will fit the window to the device prior to
plotting and restore the existing window settings after the plot.
Currently, the postscript file is not hierarchical and so can be quite
big. It would be a nice project to define each cell individually and
then instantiate them hierarchically. The render time would go up, but
the size of the plot file would shrink dramatically for hierarchical
There should be options (:P<papersize>) for plotting to standard paper
sizes and to arbitrary <width>x<height> pages. The c-code for
postscript plotting is set up to allow this, so it is just an exercise
in option parsing to enable this feature.
Fit the device before plotting the window. After the plot, the previous window
settings are restored.
Rick Walker (walker AT omnisterra DOT com)
The PD Piglet homepage is at http://www.omnisterra.com/walker/linux/piglet/intro.htm.
- IMPLEMENTATION DETAILS
- SEE ALSO
This document was created by
using the manual pages.
Time: 19:41:46 GMT, May 14, 2010