Increase precision of plot axes
Mostrar comentarios más antiguos
I have some large time values, seconds to minutes of time expressed in nanoseconds-so at least 9 digits. When I plot some value v. time, the x axis is automatically switched a smaller number and a power. I might have 1.455 1.455 1.455 x10^8 instead of 145500000, 145500001, 145500002. How can I make it display the whole number without a power?
Secondly, since they will take up more room, is there a way to angle them at the tick marks?
Respuesta aceptada
Más respuestas (1)
Azzi Abdelmalek
el 13 de Mzo. de 2013
Editada: Azzi Abdelmalek
el 13 de Mzo. de 2013
s=sprintf('%10d',145500000)
Categorías
Más información sobre Grid Lines, Tick Values, and Labels en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!