Plot a 3D contour

I know it is applicable to plot a 2D contour for a function with 3 variables. For example, use contour(x,y,z) to plot a function z=ax+by.
Now here is my question. I have a function f=ax+by+cz, where a,b,c are constant, x,y,z are variables. I have to plot a 3D contour, for example, the contour for f=0.
Thanks in advance.

 採用された回答

Walter Roberson
Walter Roberson 2012 年 6 月 23 日

0 投票

contour_at = 0;
isosurface(x, y, z, f, contour_at)

1 件のコメント

Xu
Xu 2012 年 6 月 23 日
Thanks!

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeContour Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by