Plotting 2D contours syntax
古いコメントを表示
folks,
I have a few novice questions with plotting the following function:

My codes is:
zfun = @(x1,x2) x1./(x2.*(1-x1)-1);
zhandle = fcontour(zfun)
- Is this the correct way to plot the contour? I am mainly concenred with having the "dot" after the variable.
- Why do I get an error when I do this?
zfun = @(x1,x2) x1./(x2.*(1-x1.)-1);
zhandle = fcontour(zfun)
3. Is there a way to see how the contour changes, say fixing x2? For example, I would like to fix x2 to be say .5, and see how the contour plot changes with x1. Of course, this is just 1D plot, but is there a way to aggregate these graphs? is mesh the way to go?
Thanks in advance!
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Contour Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

