h5web
h5web copied to clipboard
Add X axis display size changes using Domain widget in line vis
Is your feature request related to a problem?
Yes, users are requesting the ability to "hide" (outside of zooming differently) some amount of the X axis, typically this is achieved by adjusting how much of the axis is shown, using something similar to the domain widget found in the line vis but for both of the axis not just Y.
Specifically, we have data that has a significantly higher Y value than the rest of the more useful data, if we excluded say the first 20 entries in the .nxs file on the X-axis, we could trivially see the rest of the data. This is not a one-off used feature, and will be a frequently used feature for looking at this data.
Requested solution or feature
Either a toggle in the domain widget itself to switch between which axis it is adjusting, or another domain widget next to it, with both appropriately named x and y for their respective axis.
Alternatives you've considered
Zooming in, this is unintuitive to less technically inclined users. Just using the Y-axis domain and looking at the part that matters, we are looking at data that has an extremely stark elastic peak near the start of the data and we only care about everything after the peak this is not easy to view using just the Y-axis.
Additional context
Peak near the start:
Data after adjusting the Y-Axis using the domain widget to get 90% of the way there (notice the peak at the start :
If you need any more information let me know I am happy to discuss.