Borrar filtros
Borrar filtros

How to change the colorbar label distance

7 visualizaciones (últimos 30 días)
Eryang Wang
Eryang Wang el 21 de Sept. de 2023
Comentada: Eryang Wang el 21 de Sept. de 2023
Hello everyone,
how can I change the label distance in the colorbar? Thanks!

Respuesta aceptada

Florian Bidaud
Florian Bidaud el 21 de Sept. de 2023
Editada: Florian Bidaud el 21 de Sept. de 2023
c = colorbar;
clim([84 100])
c.Ticks = [84:2:100];
c.TickLabels{1} = 0;
  3 comentarios
Florian Bidaud
Florian Bidaud el 21 de Sept. de 2023
You can accept the answer if you're happy with it :)
Eryang Wang
Eryang Wang el 21 de Sept. de 2023
Yes, I have just accepted it :) Thanks!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Colormaps en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by