Title/Axis Labels and Text Drawing

These methods are used for "decorating" a plot with a title, axis labels or text strings. For labeling of the tick marks of an axis, one uses the member functions described in Axis Range/Placement/Labeling/Control .

 

 

ChrisAnderson © UCLA 7/30/97


Title/Axis Labels and Text Drawing Commands

 

title(S)

Draws the character string S at the top of the window.

title(S,d)

Draws the character string S at the top of the window using character size d.

labelX(S)

Draws the character string S under the graph.

labelX(S,d)

Draws the character string S under the graph using character size d.

labelY(S)

Draws the character string S to the side of the graph.

labelY(S,d)

Draws the character string S to the side of the graph using character size d.

drawString(x,y,S)

Draws the character string S at location (x,y). (x,y) is specified as a value in [0,1]X[0,1].

drawString(x,y,S,d)

Draws the character string S at (x,y) using characters of size d. (x,y) is a value in [0,1]X[0,1].