how to use the plot::hatch function?

3 views (last 30 days)
huabao xu
huabao xu on 7 May 2018
Edited: Walter Roberson on 20 May 2018
there is always an error: Unexpected MATLAB operator. how to solve it? Thank you.
  2 Comments
KSSV
KSSV on 7 May 2018
Show us the code you tried....
huabao xu
huabao xu on 20 May 2018
the code can not found.Thanks for your attention

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 7 May 2018
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 Comments
huabao xu
huabao xu on 20 May 2018
Edited: huabao xu on 20 May 2018
I use the R2017b, Maybe be I got the reason of this error.Thanks for your answer
Walter Roberson
Walter Roberson on 20 May 2018
Edited: Walter Roberson on 20 May 2018
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.

Sign in to comment.

Products

Community Treasure Hunt

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

Start Hunting!