crosshatch_poly
by Matthew Roughan
21 Jul 2009
(Updated 22 Jul 2009)
crosshatch_poly fills a polygon with slanted lines at a specified angle and separation.
|
Watch this File
|
| File Information |
| Description |
crosshatch_poly fills a polygon with slanted lines at a specified angle and separation. It is similar in concept to fill, except that the fill is a hatching, or just lines.
For example see the plot which was generated by the included file crosshatch_poly_test.m
It allows multiple overlapping hatching on different polygons, and can even be used to obtain a speckled affect. It has a fair number of options for different line styles, colors, widths, and background colors.
The one major limitation at present is that it can only be applied to convex polygons.
|
| MATLAB release |
MATLAB 7.4 (R2007a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 22 Jul 2009 |
Typo in input arguments parsing is fixed. Thanks to Darren Rowland for finding it. |
|
Contact us at files@mathworks.com