INCLAN Graphics: plot frame: Difference between revisions
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
Draws a rectangular frame with corners (''X''<sub>0</sub>,''Y''<sub>0</sub>), (''X''<sub>0</sub>,''Y''<sub>1</sub>), (''X''<sub>1</sub>,''Y''<sub>0</sub>), and (''X''<sub>1</sub>,''Y''<sub>1</sub>). 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: | Draws a rectangular frame with corners (''X''<sub>0</sub>,''Y''<sub>0</sub>), (''X''<sub>0</sub>,''Y''<sub>1</sub>), (''X''<sub>1</sub>,''Y''<sub>0</sub>), and (''X''<sub>1</sub>,''Y''<sub>1</sub>). 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 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 [[layout]] command. The panels are numbered 1, 2,... from left to right and from top to bottom. By default, the first frame command after a layout command applies to the first panel (panel 1). Each subsequent | The '''panel''' parameter can be used to draw the frame of the given ''panel'' of the multi-panel figure defined by the most recent [[layout|'''layout''']] command. The panels are numbered 1, 2,... from left to right and from top to bottom. By default, the first '''frame''' command after a [[layout|'''layout''']] command applies to the first panel (panel 1). Each subsequent [[layout|'''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 | 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). |
Revision as of 15:05, 13 August 2009
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 layout command. The panels are numbered 1, 2,... from left to right and from top to bottom. By default, the first frame command after a layout command applies to the first panel (panel 1). Each subsequent 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).