Re: Coyote Graphics Update, Wed 2 Feb [message #74824] |
Thu, 03 February 2011 05:43 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Maarten writes:
> Does that mean you write out a file with the commands to re-create the
> window (similar to Igor Pro), or do you create some custom file that
> does this for you? The first case would be really interesting, as you
> can of course modify those commands by hand.
Since the "commands" are objects, and the "command list"
is an object, I just save the command list in an IDL
save file. IDL is kind enough to save all the data
associated with an object. To recreate a saved
visualization, you just open a new cgWindow and
use the Restore Commands button from the File menu
to select a saved visualization. Very slick and
extremely easy.
> It would explain your other post where you are
> looking for a patent attorney.
I was joking about the patent attorney. After all these
years, people still struggle a bit to understand Coyote humor.
I give these things away. I believe in community.
And I love the IDL community. I'm grateful I've been
able to make a living in it for 25 years.
It's just that this is getting to be SUCH a useful
system that it's almost embarrassing not to be making
some money off the idea. I keep telling my wife, I'm
not interested in money, I'm interested in FAME. She
isn't all that impressed. :-(
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
|
Re: Coyote Graphics Update, Wed 2 Feb [message #74828 is a reply to message #74825] |
Thu, 03 February 2011 00:53  |
Fabzou
Messages: 76 Registered: November 2010
|
Member |
|
|
Hi,
Tiny thing: in cgplots.pro you are calling (line 133) x = Temporar(y)
instead of temporary() ;)
Thanks,
Fabien
On 02/03/2011 01:31 AM, David Fanning wrote:
> Folks,
>
> OH MY GOODNESS!!!
>
> Since it was 5:30 PM and I was still wearing my pajamas,
> I decided to take a shower. While I was letting the hot
> water revive me, I thought, "I wonder how long it would
> take to add a save and restore command functionality to
> cgWindow."
>
> Would you believe less than 10 minutes!! No kidding.
> Now this window can save the commands and any time later
> you can restore the command file and you are *exactly*
> where you were when you started. UN-FRIGGIN-BE-LEAVE-ABLE!
>
> Sorry, off to revise the book yet again. :-(
>
> Cheers,
>
> David
>
>
|
|
|
Re: Coyote Graphics Update, Wed 2 Feb [message #74832 is a reply to message #74828] |
Thu, 03 February 2011 00:15  |
Maarten[1]
Messages: 176 Registered: November 2005
|
Senior Member |
|
|
On Feb 3, 1:31 am, David Fanning <n...@dfanning.com> wrote:
> Since it was 5:30 PM and I was still wearing my pajamas,
> I decided to take a shower. While I was letting the hot
> water revive me, I thought, "I wonder how long it would
> take to add a save and restore command functionality to
> cgWindow."
>
> Would you believe less than 10 minutes!! No kidding.
> Now this window can save the commands and any time later
> you can restore the command file and you are *exactly*
> where you were when you started. UN-FRIGGIN-BE-LEAVE-ABLE!
Does that mean you write out a file with the commands to re-create the
window (similar to Igor Pro), or do you create some custom file that
does this for you? The first case would be really interesting, as you
can of course modify those commands by hand. It would explain your
other post where you are looking for a patent attorney.
Maarten
|
|
|