INCLAN Graphics: plot frame: Difference between revisions

From CYANA Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
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.
;off: No labels or tics.
;:x: Labels or tics only on the x-axis.
;x: Labels or tics only on the ''x''-axis.
;:y: Labels or tics only on the y-axis.
;y: Labels or tics only on the ''y''-axis.
x,y Label or tics on both axes (default).
;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 frame command applies to the next panel (panels 2, 3, ).  
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).  
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).
The '''panel''' parameter can be used to draw the frame of the given ''panel'' of the multi-panel figure defined by the most recent [[INCLAN Graphics: plot layout|'''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 [[INCLAN Graphics: plot layout|'''plot layout''']] command applies to the first panel (panel 1). Each subsequent [[INCLAN Graphics: plot layout|'''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).

Latest revision as of 16:53, 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 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).