how to plot cross hatch over correlation map?
조회 수: 6 (최근 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일
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일
편집: DGM
2024년 11월 24일
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에서 Color and Styling에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!