syncing map image with coordinates
Afficher commentaires plus anciens
I have an array of coordinates that I want to display on top of a map of the area. I have all the images I am discussing here attached. I displayed the coordinates with a scatter plot
scatter(x,y)
and that worked fine (image : coordinate points) I displayed the map images with
imshow(pic)
and that worked fine (image : map) I tried to display them one on top of the other
imshow()
hold on
scatter
hold off
and everything goes wrong. the coordinates are twisted and mirror imaged, and the map is twisted as well. (image : xmap) I should add that I tweaked my coordinates so that since the left bottom corner of my map is pixel (1,1) then the coordinate for that spot will be (1,1) as well. my attempt at syncing.
Any idea what went wrong? How to fix it? Or how to do a better job of it?
Thanks!
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur 3-D Visualization dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!