How to change time in plot?
8 次查看(过去 30 天)
显示 更早的评论
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 个评论
Ameer Hamza
2018-6-1
Do you just want to replace 10^4 with 10^2 or do you want to actually change your graph?
采纳的回答
Ameer Hamza
2018-6-1
编辑:Ameer Hamza
2018-6-1
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.
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Line Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!