Significant digits in a matlab figure

113 visualizaciones (últimos 30 días)
Michael Angeles
Michael Angeles el 1 de Mzo. de 2023
Respondida: Les Beckham el 1 de Mzo. de 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.

Respuestas (1)

Les Beckham
Les Beckham el 1 de Mzo. de 2023
plot(rand(1,20))
grid on
xtickformat('%.3f')

Categorías

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by