I want to obtain the values of streamlines and put it into legend.

2 Ansichten (letzte 30 Tage)
Shreen El-Sapa
Shreen El-Sapa am 21 Nov. 2021
Beantwortet: Adam Danz am 21 Nov. 2021
see attached file

Antworten (1)

Adam Danz
Adam Danz am 21 Nov. 2021
Your contour lines are all black so a legend of black lines would not be helpful to map the contour values to the plot. I recommend removing the "-k" input so contour lines are colored and add a colorbar.

Community Treasure Hunt

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

Start Hunting!

Translated by