Significant digits in a matlab figure

136 visualizzazioni (ultimi 30 giorni)
Michael Angeles
Michael Angeles il 1 Mar 2023
Risposto: Les Beckham il 1 Mar 2023
I have matlab figure, I want to set the significant digits to display 3 on the x-axis, how does one set this when creating a figure in matlab.

Risposte (1)

Les Beckham
Les Beckham il 1 Mar 2023
plot(rand(1,20))
grid on
xtickformat('%.3f')

Categorie

Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by