Hatch fill patterns plus plus

Updated code to replace colors in figures with hatching

You are now following this Submission

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.

Cite As

David (2026). Hatch fill patterns plus plus (https://se.mathworks.com/matlabcentral/fileexchange/18826-hatch-fill-patterns-plus-plus), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Read, Write, and Modify Image in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

More functionality added and help documentation updated.