Hello,
I would like to know if it is possible to display the colorbar outside the window ? (further to the right, outside the axis)
Have a good day !

 Akzeptierte Antwort

Adam Danz
Adam Danz am 27 Feb. 2020
Bearbeitet: Adam Danz am 27 Feb. 2020

1 Stimme

Use the location property

2 Kommentare

V.D-C
V.D-C am 27 Feb. 2020
Thanks ! I couldn't make it work because I put:
ax = axes
colorbar(ax, etc...) and for some reason it was giving me an error.
It sould also work if you include the handle.
colorbar(axisHandle, 'WestOutside')

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Gefragt:

am 27 Feb. 2020

Kommentiert:

am 27 Feb. 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by