How to get the value of 'x' from a figure?
1 回表示 (過去 30 日間)
古いコメントを表示
Hello,
I'm trying to get the value of the x axis from a figure. I am currently using gtext, is there another way?
Cheers
0 件のコメント
回答 (3 件)
Azzi Abdelmalek
2013 年 2 月 12 日
Click on your plot then type in command windows
x=get(gco,'xdata')
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Labels and Annotations についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!