bug with horizontal colorbar?


I was trying to use colorbar and to place it horizontal or vertical. I saw that I can't use the horizontal bar because the scale is not taken in count. Instead to have a scale between 3 and 9 (for example) like I have with a vertical colorbar, I obtain a scale between 0 and 1.