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

Home » Public Forums » archive » Multi plots conditions
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 plots conditions [message #93313 is a reply to message #93312] Mon, 13 June 2016 08:09 Go to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
On Sunday, June 12, 2016 at 1:12:50 AM UTC-4, Sapna Mishra wrote:
> Hey all,
>
> I have a query regarding multiplotting in IDL:
>
> I know how to to multiplot like eg.
>
> cgerase & multiplot, [r,b],mXtitle='W', mYtitle='F'
>
> will generate r*b plot windows with b columns and r rows,
> but if i want to generate my some plots to be specifically get plotted at say
> points on window say where my r is odd( say for eg.) or my b say b>2.
> It could be any condition related to r and b. How to go for it???
> Any Idea?

One way is to create a null plot whenever you don't want a plot to appear

plot,/nodata,xstyle=4,ystyle=4

where the X/YStyle keywords suppress the axes, and the /nodata keyword suppresses plotting any data.

For example, to suppress a plot at every other location with !p.multi

!p.multi=[0,3,3]
for i=1,9 do if i mod 2 then cgplot,indgen(10) else cgplot,indgen(10),/nodata,xstyle=4,ystyle=4
[Message index]
 
Read Message
Read Message
Previous Topic: Spawning Unix commands from IDL under bash
Next Topic: Help needed in using object graphics

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

Current Time: Wed Oct 08 15:07:41 PDT 2025

Total time taken to generate the page: 0.00457 seconds