Set colorbar outside the window

25 次查看(过去 30 天)
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 !

采纳的回答

Adam Danz
Adam Danz 2020-2-27
编辑:Adam Danz 2020-2-27
Use the location property
  2 个评论
V.D-C
V.D-C 2020-2-27
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.
Adam Danz
Adam Danz 2020-2-27
It sould also work if you include the handle.
colorbar(axisHandle, 'WestOutside')

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Interactive Control and Callbacks 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by