Hi,
I'm trying to create deciles in my colourbar. I have rainfall anomalies for 306 stations over 149 years (1863-2011) and for every month of the 149 years (12 months per year).
So far I have only figured out how to give my colorbar a set minimum and maximum value. I would prefer to be able to set my colorbar to have deciles going out in steps of 20% from the 0 value. Hence i would have 10 deciles [>80%, 80 to 60%, 60 to 40%, 40 to 20%, 20 to 0%, 0 to -20%, -20 to -40%, -40 to -60%, - 60 to -80%, <-80%]
thanks for any help anyone can provide...
ZI = griddata(x,y,z,XI,YI);
pcolor(xi,yi,ZI)
xlabel('Longitude (^o)')
ylabel('Latitude (^o)')
title('Mapped Rainfall Anomaly (mm/month) for January 1997')
colormap
caxis([-1000 1000])
colorbar