Open CJ-Wright opened 6 years ago
Doesn't MatPlotLib provide this with a keyboard shortcut?
I have no idea.
See https://matplotlib.org/users/navigation_toolbar.html#navigation-keyboard-shortcuts,
goal | keyboard shortcut |
---|---|
Toggle x axis scale (log/linear) | L or k when mouse is over an axes |
-- | -- |
Toggle y axis scale (log/linear) | l when mouse is over an axes |
Ah but that is for the x and y axis not the color scale.
Ah, Live Image. Proof I cannot read and cannot format markdown tables.
I agree. Initial assignment of log axis is extremely reasonable for intensity axes in diffraction science. At X-ray synchrotrons, where signals span so many decades of range, it is the best default choice for representing intensity.
It would be nice to have a toggle between log and linear norm for
LiveImage
.Expected Behavior
Press button and plot changes scale
Current Behavior
Scale must be set at instantiation
Context
This kind of functionality is available from other software (eg fit2d)