generating a more detailed contour plot

44 vues (au cours des 30 derniers jours)
Tal Shavit
Tal Shavit le 18 Mai 2022
Commenté : Jon le 18 Mai 2022
hello, I am using contourf to plot a color map for a Xi squared table. but since the lowest values are very low, and some values are very high, the resolution is not good enough.
How can I get a higher reolution plot?

Réponse acceptée

Jon
Jon le 18 Mai 2022
If you want more contor lines (is this what you mean by resolution?) you can use the additional levels argument to do this, so for example if you wanted contour lines for 100 different levels
contour(Z,100)
or
contour(X,Y,Z,100)
  5 commentaires
Tal Shavit
Tal Shavit le 18 Mai 2022
Thank you!
Jon
Jon le 18 Mai 2022
Your welcome. If that answered your question then please accept the answer. That will take it off of the list of unanswered questions, and let others with a similar question know an answer is available. Thanks

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Contour Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by