Mask an area with M-Map

Anyone familiar with M-Map mapping package? I have a question about masking.
So I managed to make contour from a scattered data in the Pacific Ocean and plot it using M_Map. However, the contour extended to the Atlantic and Indian Ocean. I want to mask those areas so that the only contour left is only the one in the Pacific Ocean. How should i do that?
Thanks!

9 Comments

Do you have the data? I like pictures
Hi! Here is my picture. I would like to mask the ocean contour in the Atlantic Ocean, Indian Ocean, Indonesian, Philippines, and some parts between Japan and Asian mainland.
I've checked M-Map user guide and the examples but still no clue
Do you have these boundaries (Pacific Ocean)?
ahamahoru
ahamahoru on 25 Apr 2020
Edited: ahamahoru on 25 Apr 2020
Do you mean that i need to include those areas? Yes I do, this is roughly the result that i want to produce but i don't know how to do that using M_Map package
Can you attach the data?
Here it is. The data consists of 3 columns [lat lon value] from 87 stations accross the Pacific Ocean. Thanks for the help!
What should i do with this?
interpolate the scattered data to the whole pacific, but what i want is to mask the area, the scattered data is not my problem right now. do you have any idea on how to mask with M-Map?

Sign in to comment.

Answers (0)

Categories

Find more on Oceanography and Hydrology in Help Center and File Exchange

Tags

Asked:

on 24 Apr 2020

Commented:

on 30 Apr 2020

Community Treasure Hunt

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

Start Hunting!