Peanutlex
Peanutlex

Reputation: 169

Is there a way to save and quickly reopen surface plots in IDL (Interactive Data Language)?

I was wondering if there is a way to save surface plots in IDL in a way that is convenient to reopen them. As far as I am aware there are only two ways of doing this:

I would like something you can open easily and which opens the surface plot as though you had just run the code to generate it. So that you are free to rotate it by dragging the mouse.

Does this exist?

I only have IDL version 8.3.

Upvotes: 1

Views: 169

Answers (1)

mgalloy
mgalloy

Reputation: 2386

If you 'Generate code/save data' (either via the toolbar at the bottom of the window or via the generateCode method with the SAVEDATA keyword), you get a .sav file that contains your plot. Either use the code generated to restore it, or use the generated code as an example to write your own.

Upvotes: 1

Related Questions