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

Home » Public Forums » archive » intermittent window plotting
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
intermittent window plotting [message #47650] Mon, 27 February 2006 14:09 Go to next message
biermane is currently offline  biermane
Messages: 5
Registered: February 2006
Junior Member
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?
thank you
Re: intermittent window plotting [message #47774 is a reply to message #47650] Tue, 28 February 2006 13:35 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Paul Van Delst writes:

> Ha ha! One of my favourite movie lines! :oD

My favorite, and one my kids wish I would
stop using, is in this exchange between Wesley
and the Spaniard:

"Who are you!?"

"No one of consequence."

"No, tell me, I must know."

"Get used to disappointment."

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 #47777 is a reply to message #47650] Tue, 28 February 2006 12:55 Go to previous message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
David Fanning wrote:
> biermane@gmail.com writes:
>
>> I was trying to keep my example simple but in reality I'm trying
>> something even slightly more complicated. I have 72 items that I want
>> to plot in groups of 6 or 12 in either 2 X 3 multi's or 3 X 4 mutli's
>> in log-log and log-linear plots.
>>
>> Erasing plots would work for pmultis of the same size. What would you
>> suggest for plots of different sizes or log-log vs log-linear?
>
>
> Huh!? I don't understand this question. What does
> log-log or log-linear have to do with erasing!?
>
> Polyfill will erase any area of the window. I
> presume you know where you want the plot to be
> drawn.
>
>
>> Did RSI not build in a way to intermittently plot somehow?
>
>
> I'm having difficulty with the word "intermittently".
> I feel like I am in the middle of the Prince's Bride:
>
> "Inconceivable!"
>
> "You keep using that word. I do not think it means
> what you think it means."

Ha ha! One of my favourite movie lines! :oD

I was going to suggest that the OP use a widget that contains his windows. He can use the
base user value to save all the relevant plotting information, and can stick in some
buttons that let him flip through the windows (I tried some multi-window plotting the
other month, and more than two windows on my screen overloads me.)

As I recall, Liam Gumley also had some "frame" tools that allowed one to set up mutiple
plot frames viewed via a single window. Command line tools then let one display the frames
sequentially or randomly.

paulv

p.s. Google gave me: http://cimss.ssec.wisc.edu/~gumley/frame.html
but he may have more up to date tools.

--
Paul van Delst
CIMSS @ NOAA/NCEP/EMC
Re: intermittent window plotting [message #47779 is a reply to message #47650] Tue, 28 February 2006 12:26 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
biermane@gmail.com writes:

> I was trying to keep my example simple but in reality I'm trying
> something even slightly more complicated. I have 72 items that I want
> to plot in groups of 6 or 12 in either 2 X 3 multi's or 3 X 4 mutli's
> in log-log and log-linear plots.
>
> Erasing plots would work for pmultis of the same size. What would you
> suggest for plots of different sizes or log-log vs log-linear?

Huh!? I don't understand this question. What does
log-log or log-linear have to do with erasing!?

Polyfill will erase any area of the window. I
presume you know where you want the plot to be
drawn.

> Did RSI not build in a way to intermittently plot somehow?

I'm having difficulty with the word "intermittently".
I feel like I am in the middle of the Prince's Bride:

"Inconceivable!"

"You keep using that word. I do not think it means
what you think it means."

What do you think "intermittently" means? It is entirely
possible, of course, that it is *me* who is confused. :-)

In any case, I don't have the faintest idea how to answer
your question.

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 #47780 is a reply to message #47650] Tue, 28 February 2006 12:02 Go to previous message
biermane is currently offline  biermane
Messages: 5
Registered: February 2006
Junior Member
thx so much for the help!
I was trying to keep my example simple but in reality I'm trying
something even slightly more complicated. I have 72 items that I want
to plot in groups of 6 or 12 in either 2 X 3 multi's or 3 X 4 mutli's
in log-log and log-linear plots.

Erasing plots would work for pmultis of the same size. What would you
suggest for plots of different sizes or log-log vs log-linear? Did RSI
not build in a way to intermittently plot somehow?
Re: intermittent window plotting [message #47781 is a reply to message #47650] Tue, 28 February 2006 11:25 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
biermane@gmail.com writes:

> 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

Yes, you are going to have to keep track of so many things
with !P.MULTI that it is not worth using it. If I were you,
I'd come up with another plan. :-)

POLYFILL to erase the potion of the window you want
to draw in, and PLOT commands with NOERASE=1 is probably
a LOT easier to implement.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: intermittent window plotting
Next Topic: Sorting and comparing 2 files

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

Current Time: Sat Oct 11 07:00:59 PDT 2025

Total time taken to generate the page: 0.01046 seconds