How to change units axes in a plot
37 ビュー (過去 30 日間)
古いコメントを表示
Hello, perhaps a silly question but searching around, I couldn't find anything, so here goes- I have a plot of stress vs strain in Pascals vs m/m. However, I wanted to show the plot in units of MPa vs microstrain(um/um). Is there a straightforward way to change these units during plotting (versus modifying actual data)? I looked through the figure palette and property editor but didn't find anything other than modifying individual data values.
Any help will be appreciated. Thanks in advance. sam
0 件のコメント
回答 (1 件)
Azzi Abdelmalek
2013 年 1 月 30 日
set(gca,'units','inches')
2 件のコメント
Azzi Abdelmalek
2013 年 1 月 30 日
I don't know what is mPa, but if you want to know what are allowed units type
set(gca,'units')
参考
カテゴリ
Help Center および File Exchange で Graphics Object Programming についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!