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!