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

Home » Public Forums » archive » Re: How can I multi-plot in IDL with the coordinates set by myself?
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: How can I multi-plot in IDL with the coordinates set by myself? [message #52830] Thu, 01 March 2007 22:43
ZuYing is currently offline  ZuYing
Messages: 5
Registered: March 2007
Junior Member
sorry, I got it worry, it works, thanks
ZuYing wrote:
> But it seems POSITION doesn't work in CONTOUR plot...I've tried but
> failed...
> David Fanning wrote:
>> ZuYing writes:
>>
>>> I used to set !P.MULTI = [0,2,2,0,0] in my code,but it doesn't work
>>> very well since the blank between each frame is too large therefore
>>> makes the whole plot seem not that compact and neat.
>>>
>>> I wonder if there is any trick could make multiplots just like in
>>> gnuplot or supermongo to set the locations of each frame on your own
>>> or simply diminish the blank space a little....
>>
>> It's no big trick, but you can use the POSITION and NOERASE
>> keywords together to put plots wherever you like on the
>> page.
>>
>> 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.")
Re: How can I multi-plot in IDL with the coordinates set by myself? [message #52831 is a reply to message #52830] Thu, 01 March 2007 22:41 Go to previous message
ZuYing is currently offline  ZuYing
Messages: 5
Registered: March 2007
Junior Member
But it seems POSITION doesn't work in CONTOUR plot...I've tried but
failed...
David Fanning wrote:
> ZuYing writes:
>
>> I used to set !P.MULTI = [0,2,2,0,0] in my code,but it doesn't work
>> very well since the blank between each frame is too large therefore
>> makes the whole plot seem not that compact and neat.
>>
>> I wonder if there is any trick could make multiplots just like in
>> gnuplot or supermongo to set the locations of each frame on your own
>> or simply diminish the blank space a little....
>
> It's no big trick, but you can use the POSITION and NOERASE
> keywords together to put plots wherever you like on the
> page.
>
> 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.")
Re: How can I multi-plot in IDL with the coordinates set by myself? [message #52833 is a reply to message #52831] Thu, 01 March 2007 21:24 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
ZuYing writes:

> I used to set !P.MULTI = [0,2,2,0,0] in my code,but it doesn't work
> very well since the blank between each frame is too large therefore
> makes the whole plot seem not that compact and neat.
>
> I wonder if there is any trick could make multiplots just like in
> gnuplot or supermongo to set the locations of each frame on your own
> or simply diminish the blank space a little....

It's no big trick, but you can use the POSITION and NOERASE
keywords together to put plots wherever you like on the
page.

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.")
Re: How can I multi-plot in IDL with the coordinates set by myself? [message #52836 is a reply to message #52833] Thu, 01 March 2007 21:02 Go to previous message
wlandsman@jhu.edu is currently offline  wlandsman@jhu.edu
Messages: 12
Registered: September 2006
Junior Member
"ZuYing" <zuying@gmail.com> wrote in message
news:1172810922.529871.277390@z35g2000cwz.googlegroups.com.. .
> I used to set !P.MULTI = [0,2,2,0,0] in my code,but it doesn't work
> very well since the blank between each frame is too large therefore
> makes the whole plot seem not that compact and neat.
>
One method is to use the procedure multiplot.pro in
http://idlastro.gsfc.nasa.gov/ftp/pro/plot/multiplot.pro
This actually recognizes !P.MULTI as an option, but draws multiple plots
using shared axes rather than putting a space between them.

--Wayne
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: please help with ndvi calculation
Next Topic: How do I visualize images .tiff stored in an array of pointers?

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

Current Time: Wed Oct 08 20:01:14 PDT 2025

Total time taken to generate the page: 0.03304 seconds