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

Home » Public Forums » archive » Re: Plotting one Title in a multiplot Window
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Plotting one Title in a multiplot Window [message #10573] Fri, 12 December 1997 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Roger Zimmermann writes:

> How can we plot one headline/title in a multplot
> window (36 boxes) w/ Direct Graphics ?

Normally when you set up a multiplot window:

!P.Multi = [0, 6, 6]

IDL calculates the size of the plots based on the entire
window. What you want to do is save some room at the top
for a title for the entire window. You do this with the
!Y.OMargin (Y Outside Margin) system variable. Margins,
you recall, are set in *character* units, so this code
is not completely machine portable (you have to experiment
a little), but I have had success with something like this:

!Y.OMargin = [2, 4]
!P.Multi = [0, 6, 6]
For j=0,35 DO Plotting(j)
XYOutS, 0.5, 0.9, /Normal, 'Plot Title', Size=2, Align=0.5

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/
[Message index]
 
Read Message
Read Message
Previous Topic: Well. We're waiting....
Next Topic: Widgets Default sizing.

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

Current Time: Sat Oct 11 08:58:22 PDT 2025

Total time taken to generate the page: 1.36300 seconds