Is there a shortcut to reset a plot to "all data points in view"?
Up to now I used a double-click with the magnifier tool - but now I realized that this just resets the zoom to "the original state" *) before zooming.
*)
if no special setting was applied before: the "original state" it's the same as my desired "all data points in view", like here :
https://community.jmp.com/t5/Discussions/zoom-out-in-graph-builder/m-p/327422/highlight/true#M57672
On the other hand, let's assume that before zooming with the magnifier the user first adjusted the axes range manually by dragging the axes.
Then the plot doesn't show all points in "the original state"
... and therefore, won't show them after "resetting".
Like in this example:
after double-clicking the zoom jump back to the state X>66 - just before the magnifier was used to zoom in.
Workarounds to get rid of the saved intermediate state:
- toggle on/off "lock scale" *) from the red triangle context menu.
- save the script to script window and remove the block with the axis settings, then run it.
The disadvantages of both methods:
- any additional settings like "log" scale are removed as well.
- they are slightly too long, i.e. interrupt "the flow"