Opened 7 years ago
Last modified 7 years ago
#4719 new enhancement
Saving plot sessions — at Initial Version
Reported by: | massimo ceraolo | Owned by: | Adeel Asghar |
---|---|---|---|
Priority: | normal | Milestone: | Future |
Component: | OMEdit | Version: | v1.13.0-dev-nightly |
Keywords: | Cc: |
Description
I'm not totally sure, but I think there are not tickets on this topic yet.
It is very common that one starts OMEdit and wants to restart activity from were was last left. For this the "Recent files" menu in the Welcome tab is very useful.
However to restore a previous session one has to reload a previous loaded plot file, re-create the plot windows that were previously displayed, select all the variables, and possibly re-zoom or select manual scales.
I think this is a very common situation, and therefore some automation of this activity would save a lot of clicks to many users.
What I propose: add a way "to save a plot session" and to "restore a plot session". Maybe a "saved plot session" list could be added to the Welcome tab. When we save a plot session we could give it a name for instance "Filtered circuit" or "basic car model 1", etc.
When saving a plot session, ideally we should save, for each existing plot:
- type (plot, parametric plot, array plot)
- size and position of its window
- customisation (min and max of axes, possible log axes, type of grid)
- variables to be plot (name of file and name of variable)
When restoring a plot session, ideally we should first reload the output files involved, then open the plot windows with the saved details and plot variables.
There is the problem that a file with a given name could not be exactly the same when saved, for instance could have some more or less variables.
So reloading should be aware of this, to avoid unpredictable results.