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

Home » Public Forums » archive » multiple plots with different ranges
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
multiple plots with different ranges [message #13653] Fri, 20 November 1998 00:00
boccio is currently offline  boccio
Messages: 10
Registered: November 1994
Junior Member
Hi,

I would like to be able to plot as I calculate the points
for three curves in three different windows with three
different ranges on the axes.

.....
.....
;set up windows
window,1
plot,......xrange = ...., yrange=....,.....,/nodata
window,2
plot,......xrange = ...., yrange=....,.....,/nodata
window,3
plot,......xrange = ...., yrange=....,.....,/nodata
;loop to generate points
;inside loop
wset,1
oplot,......
wset,2
oplot,......
wset,3
oplot,......
.......
.......

The curves plot correctly in each separate window, but
and the axis labes on the screen are the right ones for
each window, but

the xrange and yrange values used in all windows correspond
to window 3 values..... the last time the range values were set!!!

how can I get different range values to correctly appear in each
window?

I know I can plot all the data at the end of the loop into three
separate windows, but we really want students to see the three
curves being generate dat the same time point by point.

Thanks,

John Boccio
boccio@swarthmore.edu
[Message index]
 
Read Message
Previous Topic: Need less detailed USA map
Next Topic: Re: XLOADCT does not do anything in IDL for Windows 95

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

Current Time: Wed Oct 08 19:50:40 PDT 2025

Total time taken to generate the page: 0.00425 seconds