comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: Re: Angstrom symbol in IDL/PvWave title

Re: Angstrom symbol in IDL/PvWave title
type: item
description: ||> I'm making a plot and I need to use an Angstrom symbol in a title. |> I don't see this symbol listen in the vector-drawn fonts (chapter 12 |> of the IDL manual) and I was wondering how other people solve this. Divide by 0.5292 and label it "atomic units" instead :-) Depending on your output device, you may be able to find a hardware font with the Angstrom symbol in it. This brings up another problem, however, which I have found very irritating. Unlike the Hershey fonts, here seems to be no way of mixing fonts within a string for the hardware fonts, eg postscript. If you want to mix symbol and non-symbol characters in the same line, you have to use two different xyouts commands and line them up by hand. Anybody got a better way? Phil -- Philip Sterne | sterne@dublin.llnl.gov Lawrence Livermore National Laboratory | Phone (510) 422-2510 Livermore, CA 94550 | Fax (510) 422-7300
creator: sterne
date: 1992-03-24T23:44:32-00:00

Re: Angstrom symbol in IDL/PvWave title
type: item
description: In article <120918@lll-winken.LLNL.GOV>, sterne@dublin.llnl.gov (Philip Sterne) writes: > In article <1992Mar24.201306.16257@ucsu.Colorado.EDU>, > boroson@ucsu.Colorado.EDU (BOROSON BRAM S) writes: >> I'm making a plot and I need to use an Angstrom symbol in a title. >> I don't see this symbol listen in the vector-drawn fonts (chapter 12 >> of the IDL manual) and I was wondering how other people solve this. > > Divide by 0.5292 and label it "atomic units" instead :-) We `solve' this by using the string "Angstroems" or by dividing by ten and using "nm". Sorry, no better solution. Remo Hofer -- RFC822: <hofer@urz.unibas.ch> or <hofer%urz.unibas.ch@CERNVAX.BITNET> X.400: S=hofer;OU=urz;O=unibas;P=SWITCH;A=ARCOM;C=CH HEPNET/SPAN: CHGATE::YOGI::HOFER or 20579::48130::HOFER
creator: hofer
date: 1992-03-25T08:13:49-00:00

Re: Angstrom symbol in IDL/PvWave title
type: item
description: In article <1992Mar24.201306.16257@ucsu.Colorado.EDU> boroson@ucsu.Colorado.EDU (BOROSON BRAM S) writes: > I'm making a plot and I need to use an Angstrom symbol in a title. > I don't see this symbol listen in the vector-drawn fonts (chapter 12 > of the IDL manual) and I was wondering how other people solve this. > We got the same sort of problem here in Germany with our Umlauts ("a,"o,"u). As a workaround I initialize a commmon block at the beginning of each session that contains strings with base-character, the two dots and some character-positioning-commands. It is not really perfect in the looks, but PVI didn't offer anything better. For using these special characters I concatenate them with the other parts of the string to print, e.g.: title=aeg+'rger' common umlaut ,ae,aeg,oe,oeg,ue,ueg ae='!sa!r!u!e!9 . . !n!3' & aeg='!sA!r!u!e!9 . . !n!3' oe='!so!r!u!e!9 . . !n!3' & oeg='!sO!r!u!e!9 . . !n!3' ue='!su!r!u!e!9 . . !n!3' & ueg='!sU!r!u!e!9 . . !n!3' I suppose you could create the Angstrom in a similar way. rolf rolf diehl technical university berlin dieh1232@files1zrz.zrz.tu-berlin.de
creator: dieh1232
date: 1992-03-25T13:51:58-00:00

Re: Angstrom symbol in IDL/PvWave title
type: item
description: Hi, I wrote an IDL script a little while back that emulates a vector drawn angstrom as a string. You would do something like this: IDL> xyouts,10,10,angstrom(),/dev for instance... Good luck here it is, Howie ------------------------------------------------------------ ------------- Howard Cohl HOME : (505)434-3717 National Solar Observatory WORK : (505)434-7000 Sunspot, New Mexico E-MAIL : hcohl@sunspot.noao.edu 88349 ------------------------------------------------------------ ------------- ;----------------------------------------------------------- -- ;+ ; NAME: ; ANGSTROM ; PURPOSE: ; This function, if called, returns a string containing ; the vector drawn signature of the angstrom symbol. ; CATEGORY: ; TEXT STRING ROUTINES ; CALLING SEQUENCE: ; sang = angstrom() ; INPUTS: ; NONE ; KEYWORD PARAMETERS: ; OUTPUTS: ; sang = A scalar string containing the vector drawn ; signature of the angstrom symbol. ; type: scalar,string ; COMMON BLOCKS: ; NOTES: ; MODIFICATION HISTORY: ; H. Cohl, 2 Apr, 1991 --- ;- ;----------------------------------------------------------- -- function angstrom,help=help angstrom='!SA!R!U!9 %!17' sang=string(angstrom) return,sang end -- ------------------------------------------------------------ ------------- Howard Cohl HOME : (505)434-3717 National Solar Observatory WORK : (505)434-7000
creator: hcohl
date: 1992-03-25T15:19:28-00:00

Re: Angstrom symbol in IDL/PvWave title
type: item
description: Try the following to create an IDL angstrom symbol: ang='!3!SA!R!A!9%!N!3' example: plot,x,y,xtitle=ang, ... paul@astro.umd.edu
creator: paul
date: 1992-03-25T17:37:54-00:00