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

Home » Public Forums » archive » Re: multiplot and /noerase
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: multiplot and /noerase [message #8304] Wed, 26 February 1997 00:00 Go to next message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Martijn Dashorst writes:

> I am trying to do the following:
>
> !p.multi=[0,2,2]
> contour,x,/fill,nlevels=10
> contour,x,/downhill,nlevels=10,/noerase
>
> where these two images are plotted on the same quadrant of the window.
> IDL disregards the /noerase on the second plot command and puts the
> second figure in the second quadrant. What am I doing wrong?

Use the keyword OVERPLOT rather than NOERASE if you want
to draw the downhill contours on top of the filled contours.

David

-----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
2642 Bradbury Court, Fort Collins, CO 80521
Phone: 970-221-0438 Fax: 970-221-4762
E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com
-----------------------------------------------------------
Re: multiplot and /noerase [message #8398 is a reply to message #8304] Thu, 27 February 1997 00:00 Go to previous message
Baard Krane is currently offline  Baard Krane
Messages: 1
Registered: February 1997
Junior Member
Martijn Dashorst wrote:
>
> Hi!
>
> I am a fairly new user of IDL, and I am trying to do the following:
>
> !p.multi=[0,2,2]
> contour,x,/fill,nlevels=10
> contour,x,/downhill,nlevels=10,/noerase
>
> where these two images are plotted on the same quadrant of the window.
> IDL disregards the /noerase on the second plot command and puts the
> second figure in the second quadrant. What am I doing wrong?

Hi Martijn
Try the following

!p.multi=[0,2,2]
contour,x,/fill,nlevels=10
!p.multi=[4,2,2]
contour,x,/downhill,nlevels=10,/noerase

It should do the trick. If I remember correctly the first element
of !p.multi contains information about the remaining plots. Setting
!p.multi=[0,2,2] is also ok.

Baard krane
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: LOCAL THRESHOLD / LOCAL MAXIMA / TEMPLATE MATCHING
Next Topic: Curious Keywords

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

Current Time: Wed Oct 08 15:52:36 PDT 2025

Total time taken to generate the page: 0.00648 seconds