Content-type: text/html Manpage of PLOT

PLOT

Section: PD Piglet Users Manual (1P)
Updated: PD Piglet Users Manual
Index Return to Main Contents
 

NAME

PLOT - Make a postscript plot of the current device  

SYNOPSIS

PLO [:F] <plotname> <EOC>  

DESCRIPTION

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.

 

IMPLEMENTATION DETAILS

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 designs.

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.

 

OPTIONS

:F
Fit the device before plotting the window. After the plot, the previous window settings are restored.
 

SEE ALSO

piglet(1p) add_arc(1p) add_circle(1p) add_instance(1p) add_line(1p) add_note(1p) add_oval(1p) add_polygon(1p) add_rectangle(1p) add_text(1p) archive(1p) area(1p) background(1p) bye(1p) change(1p) copy(1p) date(1p) define(1p) delete(1p) display(1p) distance(1p) dump(1p) echo(1p) edit(1p) equate(1p) exit(1p) files(1p) fsize(1p) grid(1p) group(1p) help(1p) identify(1p) input(1p) interrupt(1p) layer(1p) level(1p) list(1p) lock(1p) macro(1p) menu(1p) move(1p) plot(1p) point(1p) process(1p) purge(1p) quit(1p) redo(1p) retrieve(1p) save(1p) search(1p) set(1p) shell(1p) show(1p) smash(1p) split(1p) step(1p) stretch(1p) trace(1p) tslant(1p) undo(1p) units(1p) version(1p) window(1p) wrap(1p) memory(1p) time(1p)  

AUTHOR

Rick Walker (walker AT omnisterra DOT com)

The PD Piglet homepage is at http://www.omnisterra.com/walker/linux/piglet/intro.htm.


 

Index

NAME
SYNOPSIS
DESCRIPTION
IMPLEMENTATION DETAILS
OPTIONS
SEE ALSO
AUTHOR

This document was created by man2html, using the manual pages.
Time: 19:41:46 GMT, May 14, 2010