How to hide quiver over land in map?

2 views (last 30 days)
eko supriyadi
eko supriyadi on 29 Aug 2017
Answered: KSSV on 30 Aug 2017
Hi everyone..
i'm use m_map as tool to diplay wave sea and wind data over land
so this is the problem.. how remove the quiver (wind data) over the land which i'm only need quiver plot only over sea (not land)?
this is my script
hold on;
m_gshhs_i('patch',[.6 .6 .6]);
hold on;
and i get wrong figure (see attach)
am i wrong arrange the "hold on" code?
Tks. Eko

Answers (1)

KSSV on 30 Aug 2017
As you said, you have land and must be knowing the coordinates for land and sea.....make land values that it displays only sea.


Find more on Vector Fields in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!