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

Home » Public Forums » archive » Saving & replaying direct graphics commands (was Re: Top 10 IDL Requests)
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: Saving & replaying direct graphics commands (was Re: Top 10 IDL Requests) [message #20973 is a reply to message #20962] Mon, 31 July 2000 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Mark Hadfield (m.hadfield@niwa.cri.nz) writes:

> A month or two ago I looked at David Fanning's XWINDOW procedure, as you
> have presumably done, and considered how to get past its major limitation:
> the graphics command must be a single procedure. I came up with the idea of
> a "window" that can accept & store a series of commands. This is what a
> typical creation/calling sequence would look like:
>
> owin = obj_new('xzwindow')
> owin->plot, 'plot', findgen(11)
> owin->plot, 'oplot', 0.1*findgen(11)^2, LINESTYLE=1
> owin->plot, 'oplot', sqrt(10.*findgen(11)), LINESTYLE=2, COLOR=3

I've written exactly this kind of thing (on more than
one occasion, I think). But I always get half finished
and then I'm distracted by something seemingly more
important. But I use my LinkedList object to store
the commands. I even had a "command editor" working,
where you could add or delete commands, move them
around, etc.

Perhaps between us we have more or less a complete
solution. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Saving & replaying direct graphics commands (was Re: Top 10 IDL Requests)
Next Topic: problems with MODAL widgets and non-modal sub-widgets

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

Current Time: Tue Dec 02 09:01:43 PST 2025

Total time taken to generate the page: 2.40568 seconds