M_map plot values greater than a threshold

조회 수: 10 (최근 30일)
Miguel andres
Miguel andres 2020년 6월 4일
Hi all,
I have some problems with a m_pcolor map on Matlba.
I have a map with values of velocity of water currents. I would like to overlay the bathymetri so the land apperas in a fixed color.
I already have try with the contour of bathimetri = 0 (the contour pf the coast), but I would like to colored all the coast.
How can I do to just overlay in a m_pcolor the values of bathymetri grater than 0 and the values smaller appear transparent (so I can see the values of velocity)??
Something like mist=m_pcolor(bat_lon,bat_lat,batimetria([0,1000]),shading interp, colormap grey ????
Thank you and sorry for my english,
Miguel

답변 (0개)

카테고리

Help CenterFile Exchange에서 Contour Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by