INCLAN Graphics: plot frame

From CYANA Wiki
Jump to navigation Jump to search

Synopsis

plot frame xtext=xtext ytext=ytext tics=ticaxes labels=labelaxes ygap=Δy panel=panel grid zero

Description

Draws a rectangular frame with corners (X0,Y0), (X0,Y1), (X1,Y0), and (X1,Y1). Subsequently produced graphics is clipped on the borders of the frame. All parameters are optional. The x- and y-axes are labeled with the titles xtext and ytext, respectively. The parameters tics and labels determine whether tics and numeric labels are drawn. The possible values for ticaxes and labelaxes are:

off
No labels or tics.
x
Labels or tics only on the x-axis.
y
Labels or tics only on the y-axis.
x,y
Label or tics on both axes (default).

The distance between the label along the y-axis and the frame can be set with the ygap parameter, which is measured in points (1 pt = 0.353 mm). The panel parameter can be used to draw the frame of the given panel of the multi-panel figure defined by the most recent plot layout command. The panels are numbered 1, 2,... from left to right and from top to bottom. By default, the first plot frame command after a plot layout command applies to the first panel (panel 1). Each subsequent plot layout command applies to the next panel (panels 2, 3, ...). If the option grid is present, a fine grid is drawn. If the option zero is present, fine lines will be drawn at x = 0 and y = 0 (if they fall within the frame).