简体   繁体   中英

Matlab : plot latitude and longitude

I want to plot latitude and longitude as a node and there will be edge to connect the node. I want to show map in the background of graph. How can I do that ?

It sounds like you're looking at something along the lines of:

figure
image(...)
hold
plot(...)

where you use the image function to display your map, and plot (or similar function) to display your latitude/longitude data however it is you want (you're not very specific about that).

You will probably have to play with axes properties in order to get the scaling right and get your plot in the right place relative to your map, but it depends on your data.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM