How to change the date form in the figure from default to yyyy-MM-dd
1 回表示 (過去 30 日間)
古いコメントを表示
Hello guys,
Do you know how to change the form fo the date achieved from plotting. I think the problem might be the my system language is Chinese, so how to change it into the form of yyyy-MM-dd or dd/mm/yyyy without changing my system language?
Many Thanks
Keyu
0 件のコメント
回答 (1 件)
Neuropragmatist
2019 年 8 月 5 日
編集済み: Neuropragmatist
2019 年 8 月 5 日
I don't know about the Chinese system language, so I would probably suggest getting the date in whatever format you want using datestr(now) and then add this to your plot using text or annotation.
You can use text with normalized figure units, so its pretty easy to get it to appear in the same place for every figure.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!