superimpose points on image
2 ビュー (過去 30 日間)
古いコメントを表示
I have 1165x847 pixels geological map,I want to plot 15 points on that image.How to do that?How to write coordinates?
0 件のコメント
採用された回答
David Legland
2013 年 10 月 22 日
Hi Milenko,
One solution is to display the image (using etiher imshow, imagesc...), call "hold on", then plot the points at the specified (x,y) coordinates. If your points are in geographical coordinates, you need to convert their coordinates into (i,j) image index. An alternative is to specify the 'xdata' and 'ydata' when you call imshow, then you axis is directly in the geographical unit.
Hope this helps, David
0 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!