Re: Plot titles [message #5011] |
Wed, 13 September 1995 00:00 |
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  |
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  |
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.
|
|
|