Azzera filtri
Azzera filtri

plot gridded data only inside shapefile

4 visualizzazioni (ultimi 30 giorni)
F Schmid
F Schmid il 17 Mag 2022
Risposto: KSSV il 17 Mag 2022
I import a shapefile and have gridded data that exceeds the borders of the shapefile. How can i only plot the data within the shapefile?
shp = shaperead("Germany.shp");
data.Lat = linspace(0,90,200);
data.Lon = linspace(0,90,200);
data.Height = rand(1,200);

Risposte (1)

KSSV
KSSV il 17 Mag 2022
Read about inpolygon.

Prodotti


Release

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by