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

Customize Plot Needs a Toggle for Scientific Notation #3197

Open
butlerpd opened this issue Jan 28, 2025 · 3 comments
Open

Customize Plot Needs a Toggle for Scientific Notation #3197

butlerpd opened this issue Jan 28, 2025 · 3 comments
Assignees
Labels
Enhancement Feature requests and/or general improvements Good First Issue Issues that are appropriate for newbies SasView 6.1.0

Comments

@butlerpd
Copy link
Member

Is your feature request related to a problem? Please describe.
SasView 6.0.0 introduced the ability to customize the plot axis labels which is a great addition! However, when ones chooses to increase the font size, as one might want to do for presentations or graphs for papers, the default of using the full number rather than scientific notation (i.e. 1000 instead of 1E3) becomes unwieldly for plots that range over too many orders of magnitude. Ideally, it would be helpful to add a checkbox to allow scientific notation instead.

3189
Describe the solution you'd like
Add a checkbox to allow scientific notation vs the regular notation in the new dialog.

Describe alternatives you've considered
none - the above seems the simplest - but if there are better solutions that would be fine

Additional context

Image

@butlerpd butlerpd added Enhancement Feature requests and/or general improvements SasView 6.1.0 Good First Issue Issues that are appropriate for newbies labels Jan 28, 2025
@butlerpd
Copy link
Member Author

I found this matplotlib documentation that would probably be what is needed?
https://matplotlib.org/3.1.1/api/_as_gen/matplotlib.axes.Axes.ticklabel_format.html

@rozyczko rozyczko self-assigned this Jan 31, 2025
@rozyczko
Copy link
Member

Do we want scientific on the X axis as well? I don't think we do, but let's make sure.

@smk78
Copy link
Contributor

smk78 commented Feb 3, 2025

Do we want scientific on the X axis as well? I don't think we do, but let's make sure.

So for Q, as in the plot above, I would also say no. However, I can foresee situations where it might be useful, for example, if you were plotting against Q^2 (as in Guinier Plot) or Q^4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Feature requests and/or general improvements Good First Issue Issues that are appropriate for newbies SasView 6.1.0
Projects
None yet
Development

No branches or pull requests

3 participants