Re: intermittent window plotting [message #47646] |
Mon, 27 February 2006 14:59  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
biermane@gmail.com writes:
> I'm working on a windows XP machine, 2GB ram, 3GHZ processor. I am
> using p.multi to put multiple plots on a page. For each individual
> plot, a certain number of caluclations and fitting nead to be done
> which take a finite amount of time. I want to make plots of different
> combinations of each individual plot.
> i.e. If I have 10 items to plot, and I want to make 5 different pages
> of different combinations of 7 different items in any order, I need to
> open 5 different windows. Then as I loop through, I can plot to each
> of the items in the different windows that have that item
>
> I tried looking in the help menu under the plot procedure, device call
> word, window function, wset function, and p.multi function but there
> was no informaiton or example. I tried doing this with the wset and
> window functions but it doesn't work with either.
>
> I could just rerun the loops with different plot parameters but this
> would take a while. I could also imagine storing all the plot
> variables and rerunning the loops just replotting the variable but this
> doesn't seem very elegant or the correct way to do it.
> Any ideas on how to do this or other resources to look at?
Yeah, I'm not sure I follow exactly what you are trying
to do, but it sounds a WHOLE lot more ambitious than
!P.MULTI was designed for. Are you trying to skip around
in your five pages of output? That will prove difficult,
for sure. But if you are writing your five pages of output
consecutively, I don't understand why you are having problems.
Are you trying to set !P.Multi up all at once for all five
pages? This won't work, as !P.Multi applies to a single
window.
If you want 10 plots in 5 windows, just set !P.Multi to write
two plots per window, and do them consecutively. IDL doesn't
care which variables you use in the plot.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|
Re: intermittent window plotting [message #47783 is a reply to message #47646] |
Tue, 28 February 2006 10:50  |
biermane
Messages: 5 Registered: February 2006
|
Junior Member |
|
|
In response to David's questions:
I am trying to plot to the different windows intermittently, not
consecutively. I am not trying to make 5 plots of the 10 items, I am
trying to make 5 plots of 7 different combinations of the 10 items:
such as plotting items #
1,2,3,4,5,6, 7
4,5,6,7,8,9,10
1,3,5,7,8,9,10
2,4,6,7,8,9,10
1,4,5,6,8,9,10
Instead of having to rerun the loop to calculate everything over again
or save everthing in variables, I just want to plot to different
windows intermittently.
thx so much for the help
jjiggywitit
|
|
|