Is it contourplot or Isosurface?

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?

Respuestas (2)

Matt Tearle
Matt Tearle el 10 de Jun. de 2011

1 voto

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 el 10 de Jun. de 2011

0 votos

contour
contourf

1 comentario

Harsh
Harsh el 11 de Jun. de 2011
contour(x,y,z)
It asks z to be matrix while in my case z is an array

Iniciar sesión para comentar.

Categorías

Más información sobre Contour Plots en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 10 de Jun. de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by