How to assign a reference point in graph?
古いコメントを表示
how to assign reference point(0,0) at left top corner like following figure?

採用された回答
その他の回答 (2 件)
Muhammad Usman Saleem
2016 年 4 月 6 日
編集済み: Muhammad Usman Saleem
2016 年 4 月 6 日
UPDATE 1:
may try this
plot(1:10)
box off
axes('xlim', [1 10], 'ylim', [1 10], 'color', 'none', 'YAxisLocation', 'right', 'XAxisLocation', 'top')
or may try this
t=0:0.1:10;
y=sin(t);
plot(t,y)
set(gca,'XAxisLocation','top','YAxisLocation','left','ydir','reverse');
3 件のコメント
LAKSHMANAN ADAIKKAPPAN
2016 年 4 月 6 日
Walter Roberson
2016 年 4 月 6 日
No, the key is YDir reverse
LAKSHMANAN ADAIKKAPPAN
2016 年 4 月 6 日
編集済み: LAKSHMANAN ADAIKKAPPAN
2016 年 4 月 6 日
Steven Lord
2016 年 4 月 6 日
plot(1:10, 1:10);
axis ij
Or if you have the handle of your axes object already, change its YDir property to 'reverse' as Walter showed.
カテゴリ
ヘルプ センター および File Exchange で Line Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
