Thanks for the response.
That would essentially work only when there is no SetInterval specified for the X and Y axis.
Because, I am using QwtMatrixRasterData and not QwtRasterData, it is mandatory that I specify X and Y axis interval.
And when I do that as mentioned earlier, the value() function is not able find the value from the matrix (only in the inverted scale).
So for a scale like this
setInterval( Qt::XAxis, QwtInterval( 0.0, 360.0 ) );
setInterval( Qt::YAxis, QwtInterval( 0.0,90.0 ) );
setInterval( Qt::XAxis, QwtInterval( 0.0, 360.0 ) );
setInterval( Qt::YAxis, QwtInterval( 0.0,90.0 ) );
To copy to clipboard, switch view to plain text mode
I am setting a matrix with 216 values ( 24 azimuth columns and 9 radius rows) using setValueMatrix and the value() function finds it as long as the scale is 0 to 90 and not the other way around.
Bookmarks