How to change the colorbar label distance

11 visualizzazioni (ultimi 30 giorni)
Hello everyone,
how can I change the label distance in the colorbar? Thanks!

Risposta accettata

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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Color and Styling in Help Center e File Exchange

Tag

Prodotti


Release

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by