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

Home » Public Forums » archive » Re: subscripts and superscripts in plot labels and titles ?
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
Re: subscripts and superscripts in plot labels and titles ? [message #25298] Tue, 29 May 2001 11:14
mperrin+news is currently offline  mperrin+news
Messages: 81
Registered: May 2001
Member
Jochen Weller <jw249@damtp.cam.ac.uk> wrote:
> Hia
>
> I just started using IDL today and encounterd the following problem.
> I would like to use subscripts and superscripts (indeces and exponents)
> in my axis labels. I can not find any instructions how to do this.
> In case it is important: I use the POSTSCRIPT (encapsulated) device.
> Thanks a lot for your help.

Check out the Tex2IDL package: http://physweb.mnstate.edu/mcraig/TeXtoIDL/ This
lets you replace IDL's ugly and unweildy control sequences with the familiar
TeX notation.

- Marshall
Re: subscripts and superscripts in plot labels and titles ? [message #25304 is a reply to message #25298] Tue, 29 May 2001 00:16 Go to previous message
Martin Schultz is currently offline  Martin Schultz
Messages: 515
Registered: August 1997
Senior Member
Jochen Weller <jw249@damtp.cam.ac.uk> writes:

> Hia
>
> I just started using IDL today and encounterd the following problem.
> I would like to use subscripts and superscripts (indeces and exponents)
> in my axis labels. I can not find any instructions how to do this.
> In case it is important: I use the POSTSCRIPT (encapsulated) device.
> Thanks a lot for your help.
>
> Cheers
> Jochen
>
>
> ************************************************************ ******************
> * Jochen Weller Tel. +44 1223 337941 *
> * D.A.M.T.P. Fax: +44 1223 765900 *
> * Centre for Mathematical Sciences *
> * University of Cambridge www: www.damtp.cam.ac.uk/user/jw249/ *
> * Wilberforce Road e-mail: J.Weller@damtp.cam.ac.uk *
> * Cambridge, CB3 0WA *
> * U.K. *
> ************************************************************ ******************


Look for Hershey in the online help. There is an explanation how to format your output. Even though you are using ps fonts, the super- and subscripting work just the same. Example:

title='The a!Li!U2!N element'

Martin

--
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ [[[[[[[
[[ Dr. Martin Schultz Max-Planck-Institut fuer Meteorologie [[
[[ Bundesstr. 55, 20146 Hamburg [[
[[ phone: +49 40 41173-308 [[
[[ fax: +49 40 41173-298 [[
[[ martin.schultz@dkrz.de [[
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ [[[[[[[
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: [Newbie] Question about disabling menu buttons in IDL
Next Topic: code snippet

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

Current Time: Wed Oct 08 13:04:52 PDT 2025

Total time taken to generate the page: 0.00406 seconds