add option for sorting profile data by x-axis values before plotting
How can it go backards ~1000 nm ?
Comments (10)
-
-
Same behaviour as in ENVI Classic:
-
reporter Not in HypPy (https://blog.utwente.nl/bakker/hyppy/), this is just a matter of sorting in terms of wavelength, which is
the variable chosen for the x axis.
The plot is correct in enmapbox if bands is selected for the x axes.
-
Sure, we could decide to sort profile data points according to the wavelength before plotting.
Having said that, I wouldn’t recommend to do that unasked, because it can slow down plotting of larger libraries (and it somehow alters the data).
@Benjamin Jakimow shall we have a checkbox “Sort by x values” in the plotting options?
-
- changed milestone to Future Release - Nice to have
-
assigned issue to
- changed title to add option for sorting profile data by x-axis values before plotting
- marked as enhancement
-
reporter Having said that, I wouldn’t recommend to do that unasked, because it can slow down plotting of larger libraries
I cannot argue there. Another alternative is just displaying points, avoiding the link of one point to the next one with a segment (after all, there is no reason for linking points in the spectrum with segments: the data are only at the points).
.(and it somehow alters the data)
That it is not true: I just refer to the plot display, not to actually modifying the data on disk. Data must be displayed by the order of the
magnitude displayed on the X axis.
marked as enhancement
You can name it as you wish, but the current plots in with the spectrum does not follow the order of the variable selected for the X axis, is wrong. A different thing would be that the user would optionally select another variable (i.e., band order) for sorting (as he/she would do for coloring, a good example would be a trajectory: an spatial pattern of points in X,Y plane linked by segments according to time), but this would need to be specifically declared.
-
I cannot argue there. Another alternative is just displaying points, avoiding the link of one point to the next one with a segment (after all, there is no reason for linking points in the spectrum with segments: the data are only at the points)
It is possible to just plot the points. You can change the line style here:
@Benjamin Jakimow I would say that the location of the line style setting for temporally linked profiles is a bit counter intuitive. Why is it under the visualization settings of the SpectralView? It should be right next to the temporally linked profiles color setting, right?
-
That it is not true: I just refer to the plot display, not to actually modifying the data on disk. Data must be displayed by the order of the
magnitude displayed on the X axis.
Alright, true, data is not really altered.
You can name it as you wish, but the current plots in with the spectrum does not follow the order of the variable selected for the X axis, is wrong. A different thing would be that the user would optionally select another variable (i.e., band order) for sorting (as he/she would do for coloring, a good example would be a trajectory: an spatial pattern of points in X,Y plane linked by segments according to time), but this would need to be specifically declared.
I created a fresh follow-up issue here: https://bitbucket.org/hu-geomatics/enmap-box/issues/906/add-an-sort-by-x-values-checkbox-to-enable
-
- changed status to closed
-
reporter @Benjamin Jakimow
I would say that the location of the line style setting for temporally linked profiles is a bit counter intuitive. Why is it under the visualization settings of the SpectralView? It should be right next to the temporally linked profiles color setting, right?
I agree switching from line to points should be in a more straightforward button
- Log in to comment
That is just the detector overlap between VNIR and SWIR.