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?

답변 (2개)

Matt Tearle
Matt Tearle 2011년 6월 10일

1 개 추천

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 2011년 6월 10일

0 개 추천

contour
contourf

댓글 수: 1

Harsh
Harsh 2011년 6월 11일
contour(x,y,z)
It asks z to be matrix while in my case z is an array

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Contour Plots에 대해 자세히 알아보기

질문:

2011년 6월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by