Hi, I am trying to plot 3 variables in ezcontour plot. But it shows error.

1 回表示 (過去 30 日間)
Krittika Saha
Krittika Saha 2016 年 4 月 13 日
コメント済み: Walter Roberson 2016 年 4 月 13 日
I want to plot this equation:
x^2+sin(x*y)+y^2+z^2=0
using ezcontour over the domain (-pi/2<x<pi/2,-pi/2<y<pi/2). But I am getting error. Help please. Thank you

採用された回答

Walter Roberson
Walter Roberson 2016 年 4 月 13 日
ezcontour() and the new fcontour() can only plot functions of at most 2 variables. You will need to construct a 3D array and use isosurface() on it.
My testing suggests that the only solution is x = 0, y = 0, z = 0
  2 件のコメント
Krittika Saha
Krittika Saha 2016 年 4 月 13 日
So I need to create a 3D array first by meshgrid function?
Walter Roberson
Walter Roberson 2016 年 4 月 13 日
Yes, isosurface requires meshgrid inputs.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeScalar Volume Data についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by