문제

I've tried using the xlabel, ylabel and title functions to do this but all they do is to increase the widths of my colorbars. The text that I want to appear as the label/title doesn't appear at all. Can you please tell me how I can solve this problem?

Thanks.

도움이 되었습니까?

해결책

You can add an annotation such as

annotation('textbox',[x y w h])

that will display a text over axes, meaning that it will not change the aspect ratio of the colorbar.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top