How to make one contour transparent in contourf?
이전 댓글 표시
Hello, I have a contour plot with several layers define as follows:
[c,h]=contourf(X,Y,Z,[value1 value2 value3 value4]);
I would like to make a selected contour transparent, let's say the first contour defined by value1. Any thought on how to proceed? Thanks.
Arnault
채택된 답변
추가 답변 (2개)
Will Grant
2021년 8월 31일
편집: Will Grant
2021년 8월 31일
1 개 추천
Leslie
2015년 2월 3일
0 개 추천
This solution has stopped working in 2014b. Does anyone know if we still change the tranparency of 2D contour plots? If so how? Thanks
댓글 수: 1
Boris Belousov
2016년 2월 25일
편집: Boris Belousov
2016년 2월 25일
Unfortunately you have to manually define a contour of the area you want to make transparent. See how to make contour plots transparent.
카테고리
도움말 센터 및 File Exchange에서 Contour Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!