필터 지우기
필터 지우기

Adding split data point (shape) in one map

조회 수: 2 (최근 30일)
Rachele Franceschini
Rachele Franceschini 2021년 11월 18일
답변: arushi 2024년 5월 2일
Hi Can you help me?,
I would like to merge differents data with coordinates within one map.
I mean, I have two split data (shapefile). These data are points. These points I would like in one map using the function shaperead (I think)
I would like to rappresent this data in one map, the way similar it is to use ArcGIS, but I need to use MATLAB.

답변 (1개)

arushi
arushi 2024년 5월 2일
Hi Rachele,
I understand that you want to merge and display point data from two different shapefiles on a single map in MATLAB. You can use the "shaperead" function to read the shapefiles and geoshow or mapshow functions to plot them, depending on your coordinate reference system.
First, you'll need to read your shapefiles using the "shaperead" function. Next, prepare a figure where you will display the map. This step involves initializing a figure window.Use "hold on" and "hold off" to add new data to a set of existing Axes.You can then plot the data in the same figure.
figure;
hold on; % This allows multiple plots in the same figure.
Please refer to the Mathworks documentation for more information on hold on :
Hope this helps.

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by