How do I control exponent in plot
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Marek Raclavsky
am 4 Dez. 2020
Kommentiert: Ameer Hamza
am 4 Dez. 2020
When I plot a figure, Matlab automatically chooses e.g. x10^17 scale, but I would like the results to be displayed in x10^18 scale. Is there any way how can I change it without doing it manually with xtickslabel? Thanks
0 Kommentare
Akzeptierte Antwort
Ameer Hamza
am 4 Dez. 2020
You need to set the exponent property of x-axis'. Something like this
ax = gca;
ax.XAxis.Exponent = 18;
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu 2-D and 3-D Plots 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!