Undefined operator '-' for input arguments of type 'matlab.graphics.chart.primitive.Contour'.
Afficher commentaires plus anciens
I am trying to do a contour plot and I get the error shown in the summary. The plot appears correctly, but the program stops at this point. What does this error mean?
Réponses (1)
Voss
le 20 Avr 2022
0 votes
This error means that you can't subtract something from a contour object (and you can't subtract a contour object from something). A contour object is a graphical object akin to a line or a patch or a text, not a numeric object that you can do mathematical operations with.
If you post your code, someone can show you how to do what you are intending to do.
Catégories
En savoir plus sur Contour Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!