Get the Isocline from a know levelset plot (Contours) and the function output (Height)
古いコメントを表示
I was checking the function fcontour that we can use to get the contours like the following one.
I took the given example:
f = @(x,y) exp(-(x/3).^2-(y/3).^2) + exp(-(x+2).^2-(y+2).^2);
fc = fcontour(f)

- Now, I would like to see the heights of each contour.
- Suppose I have the height value, how do I get the points that belong the contour that corresponds to the height.
Regards...
3 件のコメント
point 1 : this is in the doc - see code again below (how to plot the isocline value)
point 2 : it's unclear - by definition the isocline is the ensemble of points having same given height
x = -2:0.2:2;
y = -2:0.2:3;
[X,Y] = meshgrid(x,y);
Z = X.*exp(-X.^2-Y.^2);
contour(X,Y,Z,'ShowText','on')
Prasanna Routray
2024 年 4 月 25 日
Mathieu NOE
2024 年 4 月 25 日
see my answer
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Data Distribution Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


