Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GUI] 2D scatter plot upon selection #743

Open
woutdenolf opened this issue Oct 2, 2020 · 8 comments
Open

[GUI] 2D scatter plot upon selection #743

woutdenolf opened this issue Oct 2, 2020 · 8 comments

Comments

@woutdenolf
Copy link
Collaborator

Features requested for 2D scatter plots (ID21):

  1. Remember selection of plotting modes when selecting the next scan (especially vis mode and color map)
  2. Allow Auto Replace with 2D ON (or 3D for that matter)

Untitled

@vasole
Copy link
Owner

vasole commented Oct 6, 2020

Number 2 is on purpose because the plots can be very costly in terms of time (particularly 3D and scatter plots).

@vasole
Copy link
Owner

vasole commented Oct 9, 2020

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.

@vasole
Copy link
Owner

vasole commented Oct 9, 2020

Point 1 is addressed.

Concerning point two I am not so sure about what to do.

@vasole
Copy link
Owner

vasole commented Oct 9, 2020

@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.

@woutdenolf
Copy link
Collaborator Author

I'm aware but maybe the ID21 people were not ... I'll discuss with them.

@vasole
Copy link
Owner

vasole commented Oct 15, 2020

The double click does not work if there is a default plot defined: showing the NXdata takes priority.

Should I provide both?

@woutdenolf
Copy link
Collaborator Author

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.

@vasole
Copy link
Owner

vasole commented Oct 15, 2020

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,...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants