Clear Filters
Clear Filters

2D contours and transparency

1 view (last 30 days)
Leslie
Leslie on 4 Feb 2015
Edited: Geoff Hayes on 4 Feb 2015
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

Answers (0)

Categories

Find more on Contour Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!