how to fill color outside of a map plot in matlab like an example given below

2 次查看(过去 30 天)
plot111.jpg

回答(1 个)

Walter Roberson
Walter Roberson 2019-12-12
poly2mask() and repmat() [1 1 3], and set those locations in the RGB array to the maximum for your color range (typically 255 for uint8)

类别

Help CenterFile Exchange 中查找有关 Author Block Masks 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by