Hello,

I have a matrix of data (5 rows by 16 columns) that I am displaying in a spectrogram. However, I cannot figure out how to get the ticks along the X and Y axis to align with the data (which appear as colored cells). I've attached an image of the results I get.

spsc.png

What I want is for a tick to be centered, horizontally and vertically, within its associated colored cell. How can this be accomplished?

Thanks