Adding shade to specific parts of contour plots

조회 수: 15 (최근 30일)
Asif Anwar Baig Mirza
Asif Anwar Baig Mirza 2020년 12월 2일
편집: KSSV 2020년 12월 2일
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
Asif Anwar Baig Mirza
Asif Anwar Baig Mirza 2020년 12월 2일
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 2020년 12월 2일
편집: KSSV 2020년 12월 2일
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.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Contour Plots에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by