필터 지우기
필터 지우기

superimpose points on image

조회 수: 5 (최근 30일)
Milenko
Milenko 2013년 10월 22일
답변: David Legland 2013년 10월 22일
I have 1165x847 pixels geological map,I want to plot 15 points on that image.How to do that?How to write coordinates?

채택된 답변

David Legland
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개)

카테고리

Help CenterFile Exchange에서 Geographic Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by