This is an update of Brian Katz's update to Ben Hinkle's original applypatch and makepatch code for replacing colors in figures with hatches. This new version allows you to expand the width of hatch lines and shapes, and has a wider variety of hatch patterns. applypatch_plus has also been made more efficient and matlab 7ish. It also now can take an image matrix directly, so images can be generated outside of matlab and then used with applypatch_plus to replace colors with patterns. See help of functions for example usage.
David (2022). Hatch fill patterns plus plus (https://www.mathworks.com/matlabcentral/fileexchange/18826-hatch-fill-patterns-plus-plus), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!