Adding shade to specific parts of contour plots

15 vues (au cours des 30 derniers jours)
Asif Anwar Baig Mirza
Asif Anwar Baig Mirza le 2 Déc 2020
Modifié(e) : KSSV le 2 Déc 2020
I am trying to plot something like this
This is just an example plot of what I am trying to do. The closest I have gotten with regards to shading is something like this
using Contourf plots.
Any help would be really appreciated.
  5 commentaires
Asif Anwar Baig Mirza
Asif Anwar Baig Mirza le 2 Déc 2020
I did try doing this too. I cannont fine control the region of Nan hence I end up with weird squares looking shaded region. Thank you for throwing ideas for me.
KSSV
KSSV le 2 Déc 2020
Modifié(e) : KSSV le 2 Déc 2020
Atatch your data.... the other option is..get each line out from contour and use patch.
When you repalce with NaN's try increasing the size of matrix..so you can make the resolution fine.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Contour Plots dans Help Center et File Exchange

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by