How to create contour plot within a 2D plot
8 ビュー (過去 30 日間)
古いコメントを表示
Hi all,
I have to create such a plot but I have no idea how to do it. Can anyone guide me?
I know the equation for mean overtopping discharge and my question is how to draw the colored area (contour).
Cheers,
Soheil

0 件のコメント
回答 (1 件)
Abdolkarim Mohammadi
2020 年 8 月 15 日
When you want to draw multiple plots within one axes, you should put all of the commands between hold on and hold off.
hold on
plot(...);
scatter(...);
contour(...);
hold off
4 件のコメント
Walter Roberson
2020 年 8 月 17 日
use plot3 for the lines and give a z coordinate that is greater than 0. When you use contourf() the patches it draws are all at z=0
参考
カテゴリ
Help Center および File Exchange で Surface and Mesh Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!