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

Home » Public Forums » archive » Re: multi-line axis 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: multi-line axis titles [message #10355] Mon, 17 November 1997 00:00
Martin Schultz is currently offline  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 Go to previous message
davidf is currently offline  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/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Shortcut needed
Next Topic: Re: Shortcut needed

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

Current Time: Tue Dec 02 11:57:47 PST 2025

Total time taken to generate the page: 1.59923 seconds