crosshatch_poly
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.
Zitieren als
Matthew Roughan (2025). crosshatch_poly (https://www.mathworks.com/matlabcentral/fileexchange/24799-crosshatch_poly), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Tags
Quellenangaben
Inspiriert: stipple
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.1.0.0 | Typo in input arguments parsing is fixed. Thanks to Darren Rowland for finding it. |
||
1.0.0.0 |