How to change time in plot?
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Krystian Wiewiór
am 1 Jun. 2018
Beantwortet: Krystian Wiewiór
am 1 Jun. 2018
Hello, How to create new value "10^2" instead of "10^4" in the plot? Thank you for answer, below I send a picture.
2 Kommentare
Ameer Hamza
am 1 Jun. 2018
Do you just want to replace 10^4 with 10^2 or do you want to actually change your graph?
Akzeptierte Antwort
Ameer Hamza
am 1 Jun. 2018
Bearbeitet: Ameer Hamza
am 1 Jun. 2018
If you are just interested in scaling down the x-values then try these lines
ax = gca;
ax.Children.XData = ax.Children.XData/100;
Run this line after creating the original figure.
2 Kommentare
Ameer Hamza
am 1 Jun. 2018
Yes, you can easily change the limit,
ax = gca;
ax.XLim = [0 100];
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Axis Labels 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!