image thumbnail

Hatch fill patterns plus Color & Invert

version 1.1.0.0 (48.7 KB) by Brandon Levey
Updated code hatch with color and inverted hatches

21.9K Downloads

Updated 03 Jul 2011

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

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 as well as David's applypatch_plus. This new version allows you to either make a black and white hatch or use the colors of the fill to create colored hatches. Additionally you can invert the hatch, i.e. it is possible to have a blue hatch with white background or a white hatch with blue background. All of the previous work done in the plus addition should still work, just these are now new options. See help of functions for example usage.

Cite As

Brandon Levey (2021). Hatch fill patterns plus Color & Invert (https://www.mathworks.com/matlabcentral/fileexchange/24021-hatch-fill-patterns-plus-color-invert), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!