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

Home » Public Forums » archive » Re: How to "reuse" a function graphics plot window?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: How to "reuse" a function graphics plot window? [message #77396] Thu, 25 August 2011 12:01 Go to previous message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
Excellent - exactly what I was looking for!


Thanks!

paulv


Michael Galloy wrote:
> On 8/25/11 11:01 AM, Paul van Delst wrote:
>> Hello,
>>
>> This is probably a silly question with a (hopefully) simple answer,
>> but here goes any way...
>>
>> How does one reuse an already created FG plot window?
>>
[snip]
>
> I think the best way to do this would be to use the setData method.
> Something like:
>
> p = plot([0, 1], /nodata)
> for i = 0, np - 1 do begin
> p->setData, x, y[*, i]
> q = get_kbrd(1)
> if (strupcase(q) eq 'Q') then break
> endfor
>
> Mike
[Message index]
 
Read Message
Read Message
Previous Topic: Can IDL receive messages from dlls using call_external
Next Topic: gaussfold

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

Current Time: Sat Oct 11 20:06:57 PDT 2025

Total time taken to generate the page: 1.20367 seconds