INCLAN Graphics: plot frame: Difference between revisions

From CYANA Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:
;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 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|'''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, ...).  
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'' = 0 and ''y'' = 0 (if they fall within the frame).
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:06, 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).