| Re: multi-line axis titles [message #10355] |
Mon, 17 November 1997 00:00 |
Martin Schultz
Messages: 515 Registered: August 1997
|
Senior Member |
|
|
Rudi Hoeben wrote:
>
> I hope this isn't a stupid question, but does anyone know how to make a
> plot with a multi-line title to, for example, the y-axis.
>
> I tried something like:
> ts='frequency dependent'+STRING(10B)+'dielectric constant'
>
> If I print ts in the IDL programming environment, it prints:
> frequency dependent
> dielectric constant
> nicely on 2 lines, but in a "plot,...,ytitle=ts" the y-axis title is
> placed without a line feed.
>
> Any suggestions ?
>
> Rudi
try ytitle='abc!Cdef' that should give
abc
def
Martin.
--
------------------------------------------------------------ -------
Dr. Martin Schultz
Department for Earth&Planetary Sciences, Harvard University
186 Pierce Hall, 29 Oxford St., Cambridge, MA-02138, USA
phone: (617)-496-8318
fax : (617)-495-4551
e-mail: mgs@io.harvard.edu
IDL-homepage: http://www-as.harvard.edu/people/staff/mgs/idl/
------------------------------------------------------------ -------
|
|
|
|
| Re: multi-line axis titles [message #10358 is a reply to message #10355] |
Mon, 17 November 1997 00:00  |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
Rudi Hoeben (rudi@neiden.rug.ac.be) writes:
> I hope this isn't a stupid question, but does anyone know how to make a
> plot with a multi-line title to, for example, the y-axis.
>
> I tried something like:
> ts='frequency dependent'+STRING(10B)+'dielectric constant'
>
I'll put this one on my web page.
Try this:
ts='frequency dependent !Cdielectric constant'
Cheers,
David
-----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|
|