I have set a colobar for an experiment with a user defined limit for it, but i dont know why the colorbar is repeating the values cyclically. This is the part of the code that generates colorbar.
limColorBar = 2.0; colormap(ha,'hot');caxis([0,limColorBar])hcolorBar = colorbar(ha); hcolorBar.LimitsMode = 'manual';hcolorBar.Limits = [0,limColorBar];ha.CLim = [0,limColorBar];hcolorBar.TickLabels = round((1/17)*hcolorBar.Ticks,2); %scalefactor 1/17 for 1.6mag; 4/83 for 2.5mag
xlabel(hcolorBar,'mm/min')
Please help me rectify this.
Thank you.
Best Answer