how to use the plot::hatch function?

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

2 Comments

Show us the code you tried....
the code can not found.Thanks for your attention

Sign in to comment.

Answers (1)

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
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

Asked:

on 7 May 2018

Edited:

on 20 May 2018

Community Treasure Hunt

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

Start Hunting!