How can I remove some specific lines from this contour plot

I'm a learner in the matlab. This streamline plot is for lid driven cavity with top wall in motion.
I used in this plot around 100 contour lines but I don't want so many contour lines in the plot and if I take less contour lines using
contour(streamline,20)
'then the plot doesn't provide information about small eddies at the corners.
So my Question is that how can I remove specific lines from a contour plot for a higher number of contour lines.

2 件のコメント

KSSV
KSSV 2022 年 1 月 24 日
You can specify the levels in contour. Read the documentation.
Mahendra Yadav
Mahendra Yadav 2022 年 1 月 24 日
Thank You

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

 採用された回答

VBBV
VBBV 2022 年 1 月 24 日

2 投票

Easy way is that you can select "Edit" option from the figure window after plotting and click on figure properties. Then click on the lines you wish to delete using mouse. Once you click on the figure it will allow you to select the specific lines to be delete.
Hope it helps

その他の回答 (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