Set colorbar outside the window

25 visualizaciones (últimos 30 días)
V.D-C
V.D-C el 27 de Feb. de 2020
Comentada: Adam Danz el 27 de Feb. de 2020
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 !

Respuesta aceptada

Adam Danz
Adam Danz el 27 de Feb. de 2020
Editada: Adam Danz el 27 de Feb. de 2020
Use the location property
  2 comentarios
V.D-C
V.D-C el 27 de Feb. de 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.
Adam Danz
Adam Danz el 27 de Feb. de 2020
It sould also work if you include the handle.
colorbar(axisHandle, 'WestOutside')

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by