I'm new to GUI programming and I haven't had any luck finding an example of this. It seems like it should be very easy.
I am working with a QwtPlot, QwtPlotSpectrogram and a QwtMatrixRasterData, very similar to the Rasterview example. I have had success generating color maps, setting the display range, and getting the aspect ratio right for my raster data, but I haven't gotten anywhere with the coordinate systems on the canvas. I would like to draw the image rotated 90 degrees from what happens by default.
Is there an easy way to do this? Do you have to manually transpose the matrix values? Can you simply have it drawn roated?