[Master Index] [Index for /tools/hpmatlab/toolbox/matlab/plotxy]

text

(/tools/hpmatlab/toolbox/matlab/plotxy/text.m)


Function Synopsis

th = text(x,y,string,opt_sc)

Help text

TEXT	Add Text to the current plot.
	TEXT(X,Y,'string') adds the text in the quotes to location (X,Y)
	on the current axes, where (X,Y) is in units from the current
	plot. If X and Y are vectors, TEXT writes the text at all locations
	given. If 'string' is an array the same number of rows as the
	length of X and Y, TEXT marks each point with the corresponding row
	of the 'string' array.

	TEXT(X,Y,Z,'string') adds text in 3-D coordinates.

	TEXT returns a column vector of handles to TEXT objects, one
	handle per text object. TEXT objects are children of AXES objects.

	The X,Y pair (X,Y,Z triple for 3-D) can be followed by 
	parameter/value pairs to specify additional properties of the text.
	The X,Y pair (X,Y,Z triple for 3-D) can be omitted entirely, and
	all properties specified using parameter/value pairs.

       Execute GET(H), where H is a text handle, to see a list of text
       object properties and their current values. Execute SET(H) to see a
       list of text object properties and legal property values.

	See also XLABEL, YLABEL, ZLABEL, TITLE, GTEXT, LINE, PATCH.

Cross-Reference Information

This function is called by

Produced by mat2html on Wed Feb 8 12:25:18 EST 1995
Cross-Directory links are: ON