Next: Legending, Previous: Graphics Context, Up: PostScript Graphing [Contents][Index]
A rectangle is a list of 4 numbers; the first two elements are the x and y coordinates of lower left corner of the rectangle. The other two elements are the width and height of the rectangle.
Pushes a rectangle for the whole encapsulated page onto the
PostScript stack. This pushed rectangle is an implicit argument to
partition-page
or setup-plot
.
Pops the rectangle currently on top of the stack and pushes xparts * yparts
sub-rectangles onto the stack in decreasing y and increasing x order.
If you are drawing just one graph, then you don’t need partition-page
.
The rectangle where data points should be plotted. plotrect is set by
setup-plot
.
The pagerect argument of the most recent call to
setup-plot
. Includes plotrect, legends, etc.
fills rect with the current color.
Draws the perimiter of rect in the current color.
Modifies the current graphics-state so that nothing will be drawn
outside of the rectangle rect. Use in-graphic-context
to limit
the extent of clip-to-rect
.