[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Text in plots
- Subject: Re: Text in plots
- From: Craig Markwardt <craigmnet(at)cow.physics.wisc.edu>
- Date: 27 Aug 1999 10:43:13 -0500
- Newsgroups: comp.lang.idl-pvwave
- Organization: U. Wisc. Madison Physics -- Compact Objects
- References: <7q65ho$21j$1@news.univ-aix.fr>
- Reply-To: craigmnet(at)cow.physics.wisc.edu
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:16366
"Alberto Verga" <verga@marius.univ-mrs.fr> writes:
>
> Is there a simple way to write greek symbols and subscripts in the
> titles and labels of a plot?
> Something like:
>
> plot, y, xtitle='\omega_t',ytitle='r^2/\alpha'
As David suggests, you can give embedded commands a try. However, you
are probably looking for a TeX-like interface for graphics symbols and
formatting. If that's true they you are probably looking for
TeXtoIDL, found at the following URL:
http://astron.berkeley.edu/davis/idlshare/general/
Your plot command the becomes:
plot, y, xtitle=textoidl('\omega_t'),ytitle=textoidl('r^2/\alpha')
Craig
--
--------------------------------------------------------------------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
--------------------------------------------------------------------------