Display colorbar label horizontally and specify its position
60 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Axis Labels finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!