Significant digits in a matlab figure

92 Ansichten (letzte 30 Tage)
Michael Angeles
Michael Angeles am 1 Mär. 2023
Beantwortet: Les Beckham am 1 Mär. 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.

Antworten (1)

Les Beckham
Les Beckham am 1 Mär. 2023
plot(rand(1,20))
grid on
xtickformat('%.3f')

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by