ReplaceText
ReplaceText [/N=name /W=winName ] textStr
The ReplaceText operation replaces the text in the most recently created or changed annotation or in the annotation specified by /W=winName and/N=name.
Parameters
textStr can contain escape codes to control font, font size and other stylistic variations.
textStr can contain escape codes to set the font, size, style, color and other properties. See Annotation Escape Codes for details.
If the annotation is a color scale, this command replaces the text of the color scale's main axis label.
Flags
| /N=name | Replaces the text of the named tag or textbox. | |
| /W=winName | Replaces text in the named graph window or subwindow. When omitted, action will affect the active window or subwindow. This must be the first flag specified when used in a Proc or Macro or on the command line. | |
| When identifying a subwindow with winName, see Subwindow Syntax for details on forming the window hierarchy. | ||
See Also
Tag, TextBox, ColorScale, Legend, AppendText, Annotation Escape Codes