how to use the plot::hatch function?

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

2 commentaires

KSSV
KSSV le 7 Mai 2018
Show us the code you tried....
huabao xu
huabao xu le 20 Mai 2018
the code can not found.Thanks for your attention

Connectez-vous pour commenter.

Réponses (1)

Walter Roberson
Walter Roberson le 7 Mai 2018

0 votes

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 commentaires

huabao xu
huabao xu le 20 Mai 2018
Modifié(e) : huabao xu le 20 Mai 2018
I use the R2017b, Maybe be I got the reason of this error.Thanks for your answer
Walter Roberson
Walter Roberson le 20 Mai 2018
Modifié(e) : Walter Roberson le 20 Mai 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.

Connectez-vous pour commenter.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by