Original APPLYHATCH allows for the conversion of a color figure to a B&W hatched figure, ideal for export for standanrd printing, as a screen resolution bitmap image. APPLYHATCH_PLUS allows for DPI selection, resulting in hires images for quality printing. The size of the hatch matrix can also be varied creating tighter or larger hatches.
Brian Katz (2021). Hatched Fill Patterns Plus (https://www.mathworks.com/matlabcentral/fileexchange/5530-hatched-fill-patterns-plus), MATLAB Central File Exchange. Retrieved .
It is suggested that you use APPLYHATCH_PLUSC, which includes color compatibility and variable hatch thickness. I no longer support this function.
The hatch patterns are bitmaps, so when the resolution changes, the relative size of the bitmap changes...
Why does the hatch pattern change when using a higher resolution, e.g. 600?
Very nice tool. Works perfectly well for me, although the simple examples are NOT working with Version 6.5.1. If you set the COLORLIST it works fine.
Just tried the simple example 1 in Matlab 2006b and it does not work.
Very nice tool. Simple to implement. Would be helpful if there was a 'transparency' ability so that overlapping sections would have both types of shading.
Inspired by: Hatched Fill Patterns
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!