It's easy enough to get the color levels themselves that you want, I think. Ferret treats everything as continuous variables, but it really comes to the same thing if your data is all integers and the value of 15 is filled with a color that extends from 14.5 to 15.5.
The only real issue then is the labeling of the colorbar, right? Generating a simple variable and making a SHADE plot, here are the choices for the colorbar:
yes? let a = x[i=1:5:1] + y[y=1:7:1] - 1or, more accurately, but not very pretty,
yes? shade/lev=(0.5,11.5,1) aThe colorbar labels don't really have any more control than this. You can control how many labels there are, and their size and precision; and the location and size of the colorbar itself, (http://ferret.pmel.noaa.gov/Ferret/faq/modifying-the-shade-key) but we don't have control over what numbers are labeled.
For a final publication plot, one could remove the colorbar labels using the shakey command, and put new ones on "by hand" with the LABEL command (or by modifying the plot in another graphics program), but that's an arduous process.
Anyone else have more ideas??
David Wang wrote: