Hi

I wonder if there is a way to change so that "invalid" (in my case, qQNaN()) values in QwtRasterData is mapped to white instead of "black" (0u?) value in a QwtPlotSpectrogram? If this is very complicated, I think I could come around it by just changing all NaN values to some value which is outside the range of relevant data/values that I want to display, adjust the colorStops in the color map I use so that the values of "uninteresting"/invalid data always is between two white color stops, and set the axis scale of the colormap axis to only the relevant range. But, it feels like it would be a much better solution if I could just change how NaN values are mapped.

Any good advice out there?