pymca
pymca copied to clipboard
[GUI] 2D scatter plot upon selection
Features requested for 2D scatter plots (ID21):
- Remember selection of plotting modes when selecting the next scan (especially vis mode and color map)
- Allow Auto Replace with 2D ON (or 3D for that matter)
Number 2 is on purpose because the plots can be very costly in terms of time (particularly 3D and scatter plots).
Really difficult.
-
The properties are associated to the scatter item itself, not to the container nor to the underlying plot. The user actions affect the scatter item itself and they are transparent to the plot.
-
The visualization mode selected might be incompatible with the new data.
Point 1 is addressed.
Concerning point two I am not so sure about what to do.
@woutdenolf
Are you aware that a double click on a scan applies the last user action on the new scan?
It is enough to click REPLACE instead of ADD the first time to get the behavior you want via a double click.
I'm aware but maybe the ID21 people were not ... I'll discuss with them.
The double click does not work if there is a default plot defined: showing the NXdata takes priority.
Should I provide both?
I guess the user selection should take priority unless it is not valid anymore for the scan you're clicking? No strong opinion on this.
I remember another reason why the automatic options are disabled if 2D or 3D selections are enabled. The program would fire a selection signal at each table selection, therefore one signal when selecting X, one when selecting Y, one when selecting Z,...