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 
Switch to threaded view of this topic Create a new topic Submit Reply
Multi plots conditions [message #93312] Sat, 11 June 2016 22:12 Go to next message
Sapna Mishra is currently offline  Sapna Mishra
Messages: 66
Registered: December 2015
Member
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?
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
  Switch to threaded view of this topic Create a new topic Submit Reply
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 11:34:49 PDT 2025

Total time taken to generate the page: 0.00511 seconds