フィルターのクリア

How to display axis on the image ?

27 ビュー (過去 30 日間)
agatte
agatte 2016 年 12 月 6 日
編集済み: agatte 2016 年 12 月 6 日
Hello,
I have a question how to display visible arbitrary axis on the image when I plot something on the image ? Like here :
I would appreciate for any help please :)
  5 件のコメント
agatte
agatte 2016 年 12 月 6 日
yes, I know that they are arbitrary oriented. But I dont know exactly how to display arbitrary oriented axes ?
Adam
Adam 2016 年 12 月 6 日
I don't think you can in normal Matlab. Maybe something in the file exchange can do this.

サインインしてコメントする。

回答 (1 件)

KSSV
KSSV 2016 年 12 月 6 日
編集済み: KSSV 2016 年 12 月 6 日
Normal axis
imshow('yourimage') ;
axis on
As shown on image
imshow('image.png')
pts = [ 4 67
142 12
137 3
176 107];
hold on
plot(pts(1:2,1),pts(1:2,2),'r') ;
plot(pts(3:4,1),pts(3:4,2),'r') ;

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by