Is it possible to fill MATLAB plots with hatching?

286 ビュー (過去 30 日間)
MathWorks Support Team
MathWorks Support Team 2009 年 6 月 27 日
編集済み: DGM 2023 年 2 月 4 日
In other words, I do not want to 'fill' the color of a patch completely, as I would with the CONTOURC function. Instead, I would like to fill the patch with hatching, so that the patch looks like it is filled with '/', or '\'.

採用された回答

MathWorks Support Team
MathWorks Support Team 2009 年 6 月 27 日
There is no built-in function in MATLAB that provides this functionality. This enhancement request has been forwarded to our development staff to be reviewed for a future release of MATLAB.
However, certain user contributed files, applyhatch.m and makehatch.m, provide the functionality to replace distinct colors in a figure window with hatch patterns. These files can be downloaded from MATLAB Central File Exchange, http://www.mathworks.com/matlabcentral Use the keyword 'hatch' to find the above files.
These are user-contributed files that have not been fully tested by, and therefore are not officially supported by MathWorks.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeBar Plots についてさらに検索

製品


リリース

R2009a

Community Treasure Hunt

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

Start Hunting!

Translated by