[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
multiple plots with different ranges
- Subject: multiple plots with different ranges
- From: boccio(at)swarthmore.edu (John Boccio)
- Date: Fri, 20 Nov 1998 14:42:03 -0500
- Newsgroups: comp.lang.idl-pvwave
- Organization: Swarthmore College
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:12903
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