plots - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Graphics : Packages : plots : plots/textplot

plots

  

textplot

  

plot containing text

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

textplot(L, options)

Parameters

L

-

list or a set

options

-

optional arguments (see Description)

Description

• 

This command allows you to create a 2-D plot containing text.  The input L is either a single text point or a list or set of text points.  Here a single text point consists of three components with the last component being the text to be placed at the coordinates defined by the first components of the text point. For plotting text in three dimensions see plots[textplot3d].

• 

The third component of the text point can be a string that gets displayed as plain text without the quotation marks or a mathematical expression that is typeset.  For more information on how to specify this component, see plot/typesetting.

• 

The default alignment is centered in both right and left along with top and bottom. One can reset the desired alignment for the text via the option align=t, where t is either one of below, right, above, left or a list or set of these alignment specifications.  The rest of the options to textplot are the same as the options to plot.  See plot/options.

• 

The align, color and font options may be included within a text point list, in which case they apply only to that particular point.

• 

Note: When applying a command that alters the plot structure, to a plot containing text, only the position of the text is transformed, not the actual characters.

Examples

withplots:

textplot1,2,zebra,'align'='above','right'

textplot1,2,zebra,3,2,oryx,'view'=0..4,1..3

textplot2,3,zebra,2,1,oryx,'color'=Blue,'view'=1..3,0..4

textplot2,3,zebra,'font'=times,roman,20,2,1,oryx,'view'=1..3,0..4

pplotsinx,x=π..π:

t1textplotπ2,1,'typeset'Local Maxima ,π2,1,'align'='above':

t2textplotπ2,1,'typeset'Local Minima ,π2,1,'align'='below':

displayp,t1,t2,'view'=π..π,1.5..1.5

See Also

plot

plot/typesetting

plots[textplot3d]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam