Next: , Previous: Rectangles, Up: PostScript Graphing


5.9.2.5 Legending
— Function: title-top title subtitle
— Function: title-top title

Puts a title line and an optional subtitle line above the graphrect.

— Function: title-bottom title subtitle
— Function: title-bottom title

Puts a title line and an optional subtitle line below the graphrect.

— Variable: topedge
— Variable: bottomedge

These edge coordinates of graphrect are suitable for passing as the first argument to rule-horizontal.

— Variable: leftedge
— Variable: rightedge

These edge coordinates of graphrect are suitable for passing as the first argument to rule-vertical.

— Function: set-margin-templates left right

The margin-templates are strings whose displayed width is used to reserve space for the left and right side numerical legends. The default values are "-.0123456789".

— Function: rule-vertical x-coord text tick-width

Draws a vertical ruler with X coordinate x-coord and labeled with string text. If tick-width is positive, then the ticks are tick-width long on the right side of x-coord; and text and numeric legends are on the left. If tick-width is negative, then the ticks are -tick-width long on the left side of x-coord; and text and numeric legends are on the right.

— Function: rule-horizontal y-coord text tick-height

Draws a horizontal ruler with Y coordinate y-coord and labeled with string text. If tick-height is positive, then the ticks are tick-height long on the top side of y-coord; and text and numeric legends are on the bottom. If tick-height is negative, then the ticks are -tick-height long on the bottom side of y-coord; and text and numeric legends are on the top.

— Function: y-axis

Draws the y-axis.

— Function: x-axis

Draws the x-axis.

— Function: grid-verticals

Draws vertical lines through graphrect at each tick on the vertical ruler.

— Function: grid-horizontals

Draws horizontal lines through graphrect at each tick on the horizontal ruler.