plot containing text
list or a set
optional arguments (see 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 text can be rotated with the option rotation = r where r must evaluate to a real number that is assumed to be in radians or be one of the names horizontal (equivalent to 0 radians) or vertical (equivalent to Pi radians).
The rest of the options to textplot are the same as the options to plot. See plot/options.
The align, color, font and rotation 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.
The following commands were used to create the plot from the Plotting Guide.
t1≔textplot⁡π2,1,typeset⁡Local Maxima ,π2,1,align=above:
t2≔textplot⁡−π2,−1,typeset⁡Local Minima ,−π2,−1,align=below:
The plots[textplot] command was updated in Maple 2018.
The rotation option was introduced in Maple 2018.
For more information on Maple 2018 changes, see Updates in Maple 2018.
Download Help Document
What kind of issue would you like to report? (Optional)