Re: Special characters in axis labels [message #3103] |
Thu, 17 November 1994 06:51 |
jensenm
Messages: 1 Registered: November 1994
|
Junior Member |
|
|
In article <3adtcl$l8@vixen.cso.uiuc.edu>,
Alan Edwin Munter <am9963@glhpx6> wrote:
> Does anyone know how to put special characters in the axis labels when
> you make a postscript plot in idl? I need to label one axis as angstroms
> and I can't seem to be able to find a way to put the ascii code for the
> angstrom symbol in the text string which describes the x-axis. How do I
> let idl know that I want ascii symbol 197 in my string and not "197"?
> I have looked all over in the documentation and can't find how to do this.
> Any help would be greatly appreciated.
>
> --
> Alan E. Munter
> munter@uiuc.edu
If you want to set the XTITLE to read, for example: Wavelength (A) (with
the A being an Angstrom symbol, try:
...,XTITLE='Wavelength ('+STRING(197b)+')',...
This should work, if you are using vector drawn fonts (FONT=1).
I believe the output for the various hardware dependent postscript fonts
depends on the particular font you are using, but you should be able to
use the same method to get whatever character is defined for that
particular ascii value for that particular font.
Hope that helps,
Mike Jensen
jensenm@ucsu.colorado.edu
|
|
|