comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Special characters in axis labels
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Special characters in axis labels [message #3103] Thu, 17 November 1994 06:51
jensenm is currently offline  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
[Message index]
 
Read Message
Previous Topic: Re: Debugging w/widgets
Next Topic: how to wrap text in WIDGET_TEXT()

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 04:33:13 PDT 2025

Total time taken to generate the page: 1.04185 seconds