Thanks for your reply Uwe. I modified my code to use qRound -- I also had to change the axis and the spectrograms bounding rect. The attached plot shows the result (it looks good!).
I dont quite understand your advice about rasterHint -- very much a graphics novice here. I am going to look through the examples to see if I can figure out what you mean. Btw, each data point (bin) of my data should be square (though I can live with rectangles!).
Bookmarks