Adding shade to specific parts of contour plots

15 visualizaciones (últimos 30 días)
Asif Anwar Baig Mirza
Asif Anwar Baig Mirza el 2 de Dic. de 2020
Editada: KSSV el 2 de Dic. de 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 comentarios
Asif Anwar Baig Mirza
Asif Anwar Baig Mirza el 2 de Dic. de 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 el 2 de Dic. de 2020
Editada: KSSV el 2 de Dic. de 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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Contour Plots en Help Center y File Exchange.

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by