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

Home » Public Forums » archive » Angstrom symbol?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Angstrom symbol? [message #7955] Thu, 30 January 1997 00:00 Go to next message
D.Kennedy is currently offline  D.Kennedy
Messages: 26
Registered: January 1997
Junior Member
A general question - does _anyone_ know how to produce an Angstrom
symbol in IDL for general use when labelling plots etc?

(Angstrom = A with a small 'o' above it)
--
David Kennedy, Dept. of Pure & Applied Physics, Queen's University of Belfast
Email: D.Kennedy@Queens-Belfast.ac.uk | URL: http://star.pst.qub.ac.uk/~dcjk/
Hi! I'm a .signature virus! Copy me into yours and join the fun!
Re: Angstrom symbol? [message #8018 is a reply to message #7955] Fri, 31 January 1997 00:00 Go to previous messageGo to next message
gurman is currently offline  gurman
Messages: 82
Registered: August 1992
Member
In article <32F0DA78.C72@cdc.noaa.gov>, Andy Loughe <afl@cdc.noaa.gov> wrote:

I don't know if anyone mentioned it here, but the STRING(197B) works for
me in PostScript only if I also specify

IDL> device, /ISOLATIN

Joe Gurman

--
| Joseph B. Gurman / NASA Goddard Space Flight Center / Solar | | Physics Branch / Greenbelt MD 20771 / gurman@gsfc.nasa.gov |
| Civil servants aren't allowed to have opinions while ar work. |
| Therefore, any opinions expressed herein must be someone else's. |
Re: Angstrom symbol? [message #8044 is a reply to message #7955] Thu, 30 January 1997 00:00 Go to previous messageGo to next message
David Foster is currently offline  David Foster
Messages: 341
Registered: January 1996
Senior Member
David Fanning wrote:
>
> David Kennedy <D.Kennedy@qub.ac.uk> writes:
>
>> A general question - does _anyone_ know how to produce an Angstrom
>> symbol in IDL for general use when labelling plots etc?
>
>
> If that is too confusing for you, you can resort to the perfectly
> simple:
>
> ang = '!6!sA!r!u!9 %!6!n'
>
> Now all you have to do is:
>
> XYOUTS, 0.5, 0.5, /Normal, CharSize=2.0, 'Symbol: ' + ang

Ok, if nobody else is going to do it, then I will: what the hell
are you doing here? (ang = '<string-of-greek>') Please enlighten
me.

Thanks. Dave

--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
David S. Foster Univ. of California, San Diego
Programmer/Analyst Brain Image Analysis Laboratory
foster@bial1.ucsd.edu Department of Psychiatry
(619) 622-5892 8950 Via La Jolla Drive, Suite 2200
La Jolla, CA 92037
[ UCSD Mail Code 0949 ]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
Re: Angstrom symbol? [message #8076 is a reply to message #7955] Tue, 04 February 1997 00:00 Go to previous message
Robert Moss is currently offline  Robert Moss
Messages: 74
Registered: February 1996
Member
David Foster wrote:
>
> David Fanning wrote:
>>
>> David Kennedy <D.Kennedy@qub.ac.uk> writes:
>>
>>> A general question - does _anyone_ know how to produce an Angstrom
>>> symbol in IDL for general use when labelling plots etc?
>>
>>
>> If that is too confusing for you, you can resort to the perfectly
>> simple:
>>
>> ang = '!6!sA!r!u!9 %!6!n'
>>
>> Now all you have to do is:
>>
>> XYOUTS, 0.5, 0.5, /Normal, CharSize=2.0, 'Symbol: ' + ang
>
> Ok, if nobody else is going to do it, then I will: what the hell
> are you doing here? (ang = '<string-of-greek>') Please enlighten
> me.
>
> Thanks. Dave
>
> --
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
> David S. Foster Univ. of California, San Diego
> Programmer/Analyst Brain Image Analysis Laboratory
> foster@bial1.ucsd.edu Department of Psychiatry
> (619) 622-5892 8950 Via La Jolla Drive, Suite 2200
> La Jolla, CA 92037
> [ UCSD Mail Code 0949 ]
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~


!6 = change to Complex Roman Font
!s = save current position
A = the character "A"
!r = restore saved position (in this case, back up one character)
!u = shift to upper subscript level, decrease size by 0.62
!9 = change to math and special character font
% = this gives the degree symbol I think (the little circle thing)
!6 = change back to complex roman
!n = change back to normal level and character size

--
Robert M. Moss, Ph.D. - mossrm@texaco.com - FAX (713)954-6911
------------------------------------------------------------ -----
This does not necessarily reflect the opinions of Texaco Inc.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Opening variable files
Next Topic: IDL Menu Fonts

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

Current Time: Wed Oct 08 15:13:16 PDT 2025

Total time taken to generate the page: 0.00443 seconds