Re: Angstrom symbol? [message #8076 is a reply to message #7955] |
Tue, 04 February 1997 00:00  |
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.
|
|
|