Display colorbar label horizontally and specify its position
52 ビュー (過去 30 日間)
古いコメントを表示
In this example
figure;
[x, y, z] = sphere;
surf(x, y, z);
c = colorbar;
c.Label.String = 'Z';
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/168704/image.jpeg)
I would like the colorbar label to be displayed vertically and in the top right corner off the colorbar. How can I do it?
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Colormaps についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!