how to use the plot::hatch function?

there is always an error: Unexpected MATLAB operator. how to solve it? Thank you.

2 件のコメント

KSSV
KSSV 2018 年 5 月 7 日
Show us the code you tried....
huabao xu
huabao xu 2018 年 5 月 20 日
the code can not found.Thanks for your attention

サインインしてコメントする。

回答 (1 件)

Walter Roberson
Walter Roberson 2018 年 5 月 7 日

0 投票

plot::Hatch is part of the MuPAD symbolic engine, and only operates in MuPAD notebooks. R2018a is the last release which will support MuPAD notebooks.

2 件のコメント

huabao xu
huabao xu 2018 年 5 月 20 日
編集済み: huabao xu 2018 年 5 月 20 日
I use the R2017b, Maybe be I got the reason of this error.Thanks for your answer
Walter Roberson
Walter Roberson 2018 年 5 月 20 日
編集済み: Walter Roberson 2018 年 5 月 20 日
You were trying to use the call in MATLAB instead of in a mupad notebook.
There is no Mathworks routine to draw hatched plots. You can look in the File Exchange for some contributions that draw hatched plots.

サインインしてコメントする。

製品

質問済み:

2018 年 5 月 7 日

編集済み:

2018 年 5 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by