Effacer les filtres
Effacer les filtres

superimpose points on image

5 vues (au cours des 30 derniers jours)
Milenko
Milenko le 22 Oct 2013
I have 1165x847 pixels geological map,I want to plot 15 points on that image.How to do that?How to write coordinates?

Réponse acceptée

David Legland
David Legland le 22 Oct 2013
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

Plus de réponses (0)

Catégories

En savoir plus sur Geographic Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by