image thumbnail

applyhatch_plusC

version 1.5.0.0 (5.86 KB) by Brian Katz
Modification of APPLYHATCH_PLUS, allowing for color and variable thickness for hatch patterns.

9.9K Downloads

Updated 26 Nov 2020

View License

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

This is a modification of previously submitted APPLYHATCH_PLUS.
APPLYHATCH_PLUSC creates a bitmap version of the defined figure where colored elements are replaced with specified colored hatch patterns.
APPLYHATCH_PLUSC allows for the definition of colors for the hatch patterns. Color may be defined using char string or RGB values. Various examples are provided showing some possibilities of APPLYHATCH_PLUSC and MAKEHATCH_PLUS.
Note: This function is different from Brandon Levey's APPLYHATCH_PLUSCOLOR, which has slightly different functionality and syntax.

Cite As

Brian Katz (2021). applyhatch_plusC (https://www.mathworks.com/matlabcentral/fileexchange/26797-applyhatch_plusc), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017a
Compatible with R2017a to R2020b
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: Hatched Fill Patterns Plus

Inspired: stipple

Community Treasure Hunt

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

Start Hunting!