Re: Save/Restore Function Graphics [message #77622] |
Thu, 15 September 2011 09:19 |
Michael Galloy
Messages: 1114 Registered: April 2006
|
Senior Member |
|
|
On 9/15/11 7:02 AM, David Fanning wrote:
> Folks,
>
> In Coyote Graphics you can create a visualization in a
> resizeable graphics window, then save that visualization
> so that later you can e-mail it to a colleague or open it
> again and re-work it, etc. I put this functionality into
> Coyote Graphics specifically to match functionality I
> *thought* was in function graphics.
>
> But, this morning I am unable to figure out how to
> do this with function graphics! :-(
>
> Was this just a bad dream I had, or can function
> graphic visualizations only be "saved" to image
> files, as the documentation would have me believe?
I believe that was a feature of the iTools and is not being allowed
through the function graphics interface. Note that the extension was
".isv" which is not treated the same as other unknown extensions in the
function graphics' save method:
[501]> p = plot(/test)
[502]> p->save, 'test.isv'
% SAVE: GRAPHICSWIN: Unknown property: VIEWPORT_DIMENSIONS
% Execution halted at: $MAIN$
[503]> p->save, 'test.sav'
% SAVE: test.sav
% Execution halted at: $MAIN$
[504]> p->save, 'test.mike'
% SAVE: test.mike
% Execution halted at: $MAIN$
An error message such as "unknown file extension: mike" would be nice in
these cases.
Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL, A Guide to Learning IDL: http://modernidl.idldev.com
Research Mathematician
Tech-X Corporation
|
|
|