How to make plot colors transparent?
Ältere Kommentare anzeigen
I need to make the color of this plot transparent as I am going to add some data points to it and I want the data points to be visible:

redcolor = [1, 0.8, 0.8];
bluecolor = [0.8, 0.8, 1];
h1 = plot3(xGrid(pos1,1), xGrid(pos1,2),xGrid(pos1,3),'s','color',bluecolor,'Markersize',5,'MarkerEdgeColor',redcolor,'MarkerFaceColor',redcolor);
hold on
h2 = plot3(xGrid(pos,1), xGrid(pos,2),xGrid(pos,3),'s','color',redcolor,'Markersize',5,'MarkerEdgeColor',bluecolor,'MarkerFaceColor',bluecolor);
I was wondering if it is possible in matlab?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Surface and Mesh Plots finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!