Matlab variable and mapping toolbox

조회 수: 2 (최근 30일)
Thomas DENIS
Thomas DENIS 2016년 5월 15일
편집: Walter Roberson 2016년 5월 19일
Hello,
I need some help with mapping toolbox please.
In fact, I have a program which work with stations which have a structure like this : "Name of the station", "GPS coordinates (lat)", "GPS coordinates (lon)". These variables are stored on Matlab. I want to plot a marker of a station on a map of France. Therefore, I import a shapefile of France by using :
Region_hydro = shaperead('Hyd.shp');
figure(1)
mapshow(Region_hydro);
But now, I have no idea how to plot a marker of my station (a variable on Matlab) which using GPS coordinates on my map of France.
Can you help me ?
Thank you !

답변 (1개)

Chad Greene
Chad Greene 2016년 5월 16일
If you use geoshow instead of mapshow you can then use plotm(lat,lon,'ro') to plot red circles at the station locations given by lat,lon.

카테고리

Help CenterFile Exchange에서 Map Display에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by