How to change time in plot?
5 ビュー (過去 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.
2 件のコメント
Ameer Hamza
2018 年 6 月 1 日
Yes, you can easily change the limit,
ax = gca;
ax.XLim = [0 100];
その他の回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Axis Labels についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!