plot option
where option may be one of the following:
- postscript file [layers]
- Generate a PostScript file of layout underneath the box.
- pnm file [scale [layers]]
- Generate a .pnm ("portable anymap") file of layout underneath the box.
- parameters [name value]
- Set or print out plotting parameters (see Summary below).
- help
- Print help information
The plot command generates hardcopy plots of a layout. The use of plot for any particular output format requires that the parameters of the format be defined in the plot section of the technology file.Each plot format has its own set of parameters, but all parameters are controlled with the plot parameters option. Valid parameters and their defaults are as follows:
General parameters:PostScript plotting is best suited for drawing small layouts with relatively few components. PNM plotting is best suited for drawing large layouts.PostScript parameters:
parameter name default value showCellNames true PNM parameters:
parameter name default value explanation PS_cellIdFont /Helvetica Font used for writing cell use IDs PS_cellNameFont /HelveticaBold Font used for writing cell definition names PS_labelFont /Helvetica Font used for writing label text PS_cellIdSize 8 Font size for writing cell use IDs (in points) PS_cellNameSize 12 Font size for writing cell definition names (in points) PS_labelSize 12 Font size for writing label text (in points) PS_boundary true Whether to draw boundaries around layers in addition to fill patterns PS_width 612 (8.5in) Page width of the target output PS_height 792 (11in) Page height of the target output PS_margin 72 (1in) Minimum margin to allow on all sides of the output page
parameter name default value explanation pnmmaxmem 10240 Maximum memory (in KB) to use to generate output. Larger values allow larger chunks of the layout to be processed at a time pnmbgr 255 background color of plot, red component (white) pnmbgg 255 background color of plot, green component (white) pnmbgb 255 background color of plot, blue component (white)
plot is implemented as a built-in command in magic.Original plot styles versatec and gremlin have been removed, but shells of the code are retained so that magic doesn't complain when encountering styles for these types in a technology file.
Return to command index |
Last updated: October, 2004