Is it contourplot or Isosurface?

27 vues (au cours des 30 derniers jours)
Harsh
Harsh le 10 Juin 2011
How do I plot 3 variable together. Lets say [x,y,z] After plotting them together I want to show the 2D plot of X versus Y at constant Z value.
What command should I use?

Réponses (2)

Matt Tearle
Matt Tearle le 10 Juin 2011
That's a contour plot. But if you have vector data, you may need to go through TriScatteredInterp and meshgrid first.

Sean de Wolski
Sean de Wolski le 10 Juin 2011
contour
contourf
  1 commentaire
Harsh
Harsh le 11 Juin 2011
contour(x,y,z)
It asks z to be matrix while in my case z is an array

Connectez-vous pour commenter.

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