Ticket #4161 (closed: fixed)
Have a default option to overwrite a plot in muon analysis.
Reported by: | Robert Whitley | Owned by: | Robert Whitley |
---|---|---|---|
Priority: | major | Milestone: | Release 2.0 |
Component: | Mantid | Keywords: | |
Cc: | anders.markvardsen@… | Blocked By: | |
Blocking: | Tester: | Anders Markvardsen |
Description
When a user is changing the settings of a data set that has been plotted and clicks "plot" to see the results then the workspace should overwrite the previous workspace by default.
An option should be left in muon analysis so that the user can pick whether to make a new workspace or overwrite the old one when they re-plot the same data set with different options
Change History
comment:3 Changed 9 years ago by Robert Whitley
More difficult than I first thought it would be. Currently asks the user to delete the plot that it is replacing. Need a way of closing down the plot before deleting the workspace. I can get rid of the graph on the plot but the window still remains.
comment:4 Changed 9 years ago by Robert Whitley
Refs #4161. Have an option to overwrite plots.
Also, change 'plot options' tab to 'settings' tab. Fix still needed for dialog appearing asking user if they want to delete the previous plot when overwriting. Default will be changed to overwrite after this fix.
Changeset: 59172a3ae1b20de75273297bdd261b1be0f269f2
comment:5 Changed 9 years ago by Robert Whitley
Refs #4161. Fix Compiler Warning (unused variable plot)
Changeset: 5f4753b615390c79050cbf2cecd3cdc56b433d84
comment:6 Changed 9 years ago by Robert Whitley
Refs #4161. Change flag so that the window can be closed without user.
Changeset: d457885262b2aeb03b523a7b45498395ab6a6f59
comment:7 Changed 9 years ago by Robert Whitley
- Status changed from accepted to verify
- Resolution set to fixed
comment:8 Changed 9 years ago by Anders Markvardsen
- Status changed from verify to verifying
- Tester set to Anders Markvardsen
comment:9 Changed 9 years ago by Anders Markvardsen
- Status changed from verifying to closed
Overwrite option tested in settings. In addition also tested auto-update and auto-update+overwrite which passed good.
Only slight thing is that the plot is always replotted in top left. It would be better if replotted at the same position as last plot. The reason for this may be associated with the recent intro of floating windows, but I suggest, if you haven't already done this, to create a ticket for this for the next release
comment:10 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 5008
When doing this ticket please change the tab name From "Plot options" to "Settings".
Call the text for boolean option for turning overwrite not owerwrite workspace something like "Auto update current plot"
Initial make this work for any changes made to the "Settings tab".