Code covered by the BSD License  

Highlights from
applyhatch_plusC

5.0

5.0 | 2 ratings Rate this file 33 Downloads (last 30 days) File Size: 5.16 KB File ID: #26797
image thumbnail

applyhatch_plusC

by Brian Katz

 

27 Feb 2010 (Updated 21 Sep 2011)

Modification of APPLYHATCH_PLUS, allowing for color and variable thickness for hatch patterns.

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

| Watch this File

File Information
Description

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.

Acknowledgements

Hatched Fill Patterns Plus inspired this file.

MATLAB release MATLAB 7.4 (R2007a)
Tags for This File  
Everyone's Tags
color(2), fill, graphics, hatch(2), hatching, patch, pick of the week, plot, plotting, potw, style
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
07 Mar 2010 Zuofeng

Nice tool!

Helped me a lot!

02 Mar 2010 Jveer  
Updates
21 Sep 2011

Now includes modified makehatch_plus to allow for variable thickness hatches

Contact us