Re: multiplot and /noerase [message #8304] |
Wed, 26 February 1997 00:00  |
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  |
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
|
|
|