Hi,
I'm having some problems with COLORBAR. The code segment below worked fine in v8.2 in generating a colorbar with a discrete number of tick labels. In 8.3, however, the number of tick labels is the same as n_levels in the contour command. This is problematic when there are a large number of levels. The MAJOR=n command in colorbar doesn't seem to work. Any help would be much appreciated.
z1=contour(data,x,y, $
n_levels=128,/fill,rgb_table=27,$
title=title,xtitle="Pixel Number", position=[0.25,0.1,0.95,0.9], $
ytitle="Pixel Number")
c = COLORBAR(TARGET=z1, ORIENTATION=1, DATA=0, $
POSITION=[0.1,0.1,0.125,0.9], $
TITLE="z-axis label")
Thanks,
Mark
|