To investigate CLim, start with imagesc, some elevation data, and a color bar. Good question! Let's have a go at it, starting with CLim. How would one go about that, and using which functions? And you want a colorbar with 16 steps - 16 discrete colors. For example, let's say your values range from 200 to 35,000, and you want all values less than 1000 to be blue and all values more than 29000 to be red. In response to 'MATLAB image display - autoscaling values with imshow,' MATLAB Answerer Extraordinaire ImageAnalyst posted this comment:Ī discussion of the relationship and interplay of caxis(), CLim, and the values you can pass in inside the brackets to imshow() or imagesc() might be useful.