Why do I receive an error in CONTOURF in MATLAB 7.0 (R14) when the input matrix Z is completely negative?
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
When I attempt to use CONTOURF in MATLAB 7.0 (R14) with the Z matrix consisting entirely of negative numbers, I receive an error:
contourf(-rand(10))
??? Index exceeds matrix dimensions.
Error in ==> specgraph.contourgroup.schema>LdoDirtyAction at 256
refresh(h);
??? Error occurred while evaluating listener callback.
Réponse acceptée
MathWorks Support Team
le 27 Juin 2009
This bug has been fixed in Release 14 Service Pack 2 (R14SP2). For previous releases, read below for any possible workarounds:
This problem has been fixed in MATLAB 7.0.1 (R14SP1). If you are using a previous version, read the following:
This has been verified as a bug in the implementation of CONTOURF in MATLAB 7.0 (R14). To work around this issue, invoke CONTOURF with the 'v6' option. This executes the previous implementation of CONTOURF. Make such calls to CONTOURF as follows:
contourf('v6',...)
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Contour Plots dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!