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

Home » Public Forums » archive » Multi-page graphics in IDL 8
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: Multi-page graphics in IDL 8 [message #72935 is a reply to message #72384] Sun, 17 October 2010 21:24 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Teddy Allen writes:

> I am having trouble creating MULTI-PLOT images in the same window with
> IDL8.0 . From above, you mention that you can produce multiple plots
> on one image with the new 8.0 . Personally, I am struggling to
> accomplish this. IDL help menu shows how to do !p.multi using older
> releases of IDL, NOT with the newest 8.0 version. It makes no sense to
> me to start using a new release, but have to depend on previous
> releases to make progress, especially when the things I am trying to
> do have been updated in 8.0. For example, you probably noticed the new
> method in 8.0 to produce plots p = PLOT(xxxxxxxxxx) and then we can
> save the plot by typing P.SAVE ......this to me is VERY easy. But, to
> use !p.multi it seems like I need to issue plot commands from earlier
> IDL releases. Bummer!

You want to use the LAYOUT keyword in conjunction with
the CURRENT keyword.

IDL> p = plot(loaddata(17), layout=[2,2,1])
IDL> p = plot(loaddata(17), layout=[2,2,2], /current)
IDL> p = plot(loaddata(17), layout=[2,2,3], /current)
IDL> p = plot(loaddata(17), layout=[2,2,4], /current)

> How did you find out to create multi plots on one window in 8.0?

I looked up one of the multiple plot examples
in the on-line help. Then, I mucked around
until I figured it out. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: New Graphics Tolerant of Clumsy Fingers!
Next Topic: columns not shown in table widget on Solaris

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

Current Time: Wed Dec 03 15:47:33 PST 2025

Total time taken to generate the page: 1.11883 seconds