PDA

View Full Version : Rasterview data entry edge?



Mr_Cloud
16th September 2013, 03:51
Hello All,

I'm trying to find out if there is a way to have a border of thickness maybe 1 or 2 pixels wide between data points in raster mode. This is a rough sketch of what I mean:

No edge:
http://s21.postimg.org/68rhlmrzr/nopixeledge.png


With edge:
http://s21.postimg.org/xuu96bbcn/pixeledge.png


Is it possible?


Thanks

Uwe
17th September 2013, 07:32
Not sure if it is really a spectrogram, what you want to display - but what you can do is to add a grid item on top of it.
You would have to overload QwtPlotGrid::updateScaleDiv(), where you have to replace the values for the ticks with the positions of the edges for the given ranges.

Uwe