How can I remove some specific lines from this contour plot

9 views (last 30 days)
Mahendra Yadav
Mahendra Yadav on 24 Jan 2022
Commented: Mahendra Yadav on 24 Jan 2022
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.

Accepted Answer

VBBV
VBBV on 24 Jan 2022
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

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!