How to use "nan"
2 次查看(过去 30 天)
显示 更早的评论
I want to get rid of the color by using "nan" ,marked on the map.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/563211/image.png)
The code is as follows.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/563216/image.png)
2 个评论
John D'Errico
2021-3-26
What does getting rid of a color mean here? Are you asking to replace those pixels with new ones that are blue, and look smoothly like the rest of the turbulent region in that area? Or do you just want to have a white area in that region, so essentially nothing plotted?
回答(2 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!