2D contours and transparency

1 次查看(过去 30 天)
Leslie
Leslie 2015-2-4
Is is possible to set the transparency of 2D contour plots? It used to be possible, but it stopped working in 2014b. The way I did it was when h1 was the contour plot handle:
allH = allchild(h1);
patchesToHide = [1:max(size(allH))];
set(allH(patchesToHide),'FaceAlpha',0.1);
Thanks

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Contour Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by