display of new spectrum is wrong when graph x-axis is in "Index"-mode

Issue #96 resolved
Jonas Küpper created an issue

When the Spectral Library graph is in "Index"-mode, a newly added graph will be plotted with "micrometers" as x values instead of the bands' indices resulting in inconsistent plots.

Steps:

  • Add an image to EnMAP-box
  • Open Spectral Library window
  • Pick a spectrum from the image
  • Add the spectrum to the library
  • switch X-Axis to "Index"
  • pick Another Spectrum from the image

Expected: new spectrum is also plotted with band indices

Actual: new spectrum is plotted with micrometers Capture.PNG

Switching the x-axis mode manually corrects the plot.

Comments (2)

  1. Log in to comment