applyhatch_plusC

版本 1.5.0.0 (5.9 KB) 作者: Brian Katz
Modification of APPLYHATCH_PLUS, allowing for color and variable thickness for hatch patterns.
11.3K 次下载
更新时间 2020/11/26

查看许可证

编者注: This file was selected as MATLAB Central Pick of the Week

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.

引用格式

Brian Katz (2024). applyhatch_plusC (https://www.mathworks.com/matlabcentral/fileexchange/26797-applyhatch_plusc), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2017a
兼容 R2017a 到 R2020b 的版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Econometrics Toolbox 的更多信息
致谢

参考作品: Hatched Fill Patterns Plus

启发作品: stipple

Community Treasure Hunt

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

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

Improved previous dithering issues. Tested all examples on R2020b.

1.4.0.0

Small edits to correct reported errors.
All examples function now correctly as before.

1.3.0.0

Correction to account for situations with less than 3 colors, as noted by commentors.

1.1.0.0

Now includes modified makehatch_plus to allow for variable thickness hatches

1.0.0.0