how to plot cross hatch over correlation map?
16 次查看(过去 30 天)
显示 更早的评论
I have done the correlation analysis beween two gridded data sets (size 180 x 360), also find out the signficant map for the the correlation (size 180x360). Now want to hightlight significant area in correlation map with crosses. How can do this?
A sample image is attached here.
Thank you
0 个评论
回答(1 个)
Walter Roberson
2024-11-23,18:39
In https://www.mathworks.com/matlabcentral/answers/2141881-how-to-make-a-specific-bar-to-be-hatched-with-a-specific-color#comment_3231141 @DGM posted a hatchfill2() function
There is no built-in hatch-filling in MATLAB.
1 个评论
DGM
2024-11-24,2:57
编辑:DGM
2024-11-24,2:58
To be clear, I'm not the author of hatchfill() or hatchfill2(), but I did post copies on the forum which I have patched.
... and I guess I kind of did adopt its promotion.
That said, the linked example regards the application of hatchfill2() to patch objects, so if you can express your significance map as a patch object in your geographic plot, you should be able to apply hatching to it using insight from said example.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Map Display 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!