crosshatch_poly

版本 1.1.0.0 (12.0 KB) 作者: Matthew Roughan
crosshatch_poly fills a polygon with slanted lines at a specified angle and separation.
1.6K 次下载
更新时间 2009/7/22

查看许可证

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.

引用格式

Matthew Roughan (2024). crosshatch_poly (https://www.mathworks.com/matlabcentral/fileexchange/24799-crosshatch_poly), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2007a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Polygons 的更多信息
致谢

启发作品: stipple

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.1.0.0

Typo in input arguments parsing is fixed. Thanks to Darren Rowland for finding it.

1.0.0.0