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

Home » Public Forums » archive » Re: Plot 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: Plot titles [message #5011] Wed, 13 September 1995 00:00
Robert.M.Candey is currently offline  Robert.M.Candey
Messages: 23
Registered: June 1995
Junior Member
In article <4342lo$red@unixfe.rl.ac.uk>, Mike Harrison
<m.c.harrison@rl.ac.uk> wrote:

> Dear all
> Can anyone point the way to a method of putting a title on a
> graphic which incorporates <CRLF> and operates as such?
> In reality I want to put the assumptions on which the plot
> is based beneath the title. I'd like to avoid string array processing
> if i really am missing something obvious
> Cheers
> Mike m.c.harrison@rl.ac.uk

In IDL, you can add !c in the title string to put a carriage return in. Use
other font sizing ! switches to make the font smaller.
There is also a subtitle keyword to plot, etc. (!p.subtitle) which adds
a subtitle in a smaller font under the lower X axis.

--
Robert.M.Candey@gsfc.nasa.gov
NASA Goddard Space Flight Center, Code 632
Greenbelt, MD 20771 USA 1-301-286-6707
Re: Plot titles [message #5014 is a reply to message #5011] Wed, 13 September 1995 00:00 Go to previous message
rivers is currently offline  rivers
Messages: 228
Registered: March 1991
Senior Member
In article <4342lo$red@unixfe.rl.ac.uk>, Mike Harrison <m.c.harrison@rl.ac.uk> writes:
> Dear all
> Can anyone point the way to a method of putting a title on a
> graphic which incorporates <CRLF> and operates as such?
> In reality I want to put the assumptions on which the plot
> is based beneath the title. I'd like to avoid string array processing
> if i really am missing something obvious

Just use the control string character !C. Here is an example from one of my
programs. This is in XYOUTS, but I think it should work just in plot titles.
This draws 3 lines of text, one above the next.

xyouts, 80, 1.2e16, 'Undulator A!C10.5 - 12.5 mm gap!Cmeasured field', $
align=0.5

____________________________________________________________
Mark Rivers (312) 702-2279 (office)
CARS (312) 702-9951 (secretary)
Univ. of Chicago (312) 702-5454 (FAX)
5640 S. Ellis Ave. (708) 922-0499 (home)
Chicago, IL 60637 rivers@cars3.uchicago.edu (Internet)
Re: Plot titles [message #5017 is a reply to message #5011] Tue, 12 September 1995 00:00 Go to previous message
Jackel is currently offline  Jackel
Messages: 30
Registered: April 1993
Member
In article <4342lo$red@unixfe.rl.ac.uk> Mike Harrison <m.c.harrison@rl.ac.uk>
writes:

>Dear all
>Can anyone point the way to a method of putting a title on a
>graphic which incorporates <CRLF> and operates as such?

If I understand your question correctly, you might want to try the
Hershey control symbol !C, ie.

title= 'A very important result !C (with a few restrictions)'

which should give you a two line title.


Brian Jackel

PS I tried mailing this directly to you, but it bounced.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Code cluttered with 'STRTRIM(variable,2)' ?
Next Topic: Re: D vector pattern classification tips

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

Current Time: Wed Oct 08 19:23:23 PDT 2025

Total time taken to generate the page: 0.00510 seconds