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 commentaires

darova
darova le 25 Avr 2020
Do you have the data? I like pictures
ahamahoru
ahamahoru le 25 Avr 2020
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.
ahamahoru
ahamahoru le 25 Avr 2020
I've checked M-Map user guide and the examples but still no clue
darova
darova le 25 Avr 2020
Do you have these boundaries (Pacific Ocean)?
ahamahoru
ahamahoru le 25 Avr 2020
Modifié(e) : ahamahoru le 25 Avr 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
darova
darova le 25 Avr 2020
Can you attach the data?
ahamahoru
ahamahoru le 25 Avr 2020
Here it is. The data consists of 3 columns [lat lon value] from 87 stations accross the Pacific Ocean. Thanks for the help!
darova
darova le 25 Avr 2020
What should i do with this?
ahamahoru
ahamahoru le 30 Avr 2020
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?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Oceanography and Hydrology dans Centre d'aide et File Exchange

Tags

Question posée :

le 24 Avr 2020

Commenté :

le 30 Avr 2020

Community Treasure Hunt

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

Start Hunting!

Translated by