Is it contourplot or Isosurface?

27 ビュー (過去 30 日間)
Harsh
Harsh 2011 年 6 月 10 日
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 日
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 日
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

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeContour Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by