CGCHECKFORSYMBOLS
The purpose of this funciton is to check a string for symbols, encased in escape
characters, that should be revolved with cgSymbol. The cgSymbol name will appear
with the characters "$\" prepended to the name, and the character "$" appended. All
Greek characters and other symbols supported by cgSymbol are allowed.
Categories
Utilities
Returns
The modified string with the cgSymbol code embedded in place of the
escaped symbol name.
Params
astring: in, required, type=string
The string that should be searched for cgSymbol values.
Examples
To create a plot that uses the Greek mu character on the X axis and
the Angstrom symbol on the Y axis::
cgPlot, cgDemoData(1), XTitle='Length ($\mu$M)', YTitle='Distance ($\Angstrom$)'
Author
FANNING SOFTWARE CONSULTING::
David W. Fanning
1645 Sheely Drive
Fort Collins, CO 80526 USA
Phone: 970-221-0438
E-mail: david@idlcoyote.com
Coyote's Guide to IDL Programming: http://www.idlcoyote.com
History
Change History::
Written by David W. Fanning, 27 July 2012.
Copyright
Copyright (c) 2012, Fanning Software Consulting, Inc.