How to make the surface plot transparent??
265 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
simar
am 1 Mär. 2012
Kommentiert: Swathi Chandrasekar
am 11 Jul. 2017
I want to plot some data points over surface paraboloid. To increase visibility I want to increase transparency of surface plot. How to do that.
1 Kommentar
Swathi Chandrasekar
am 11 Jul. 2017
Check out the set command in matlab.There is a property called alpha.After the surf command just say alpha(0.5).The value lies between 0 and 1.The closer to zero the more transparent it is.
Akzeptierte Antwort
Friedrich
am 1 Mär. 2012
Hi,
use the alpha property:
hold on
surf(peaks(30))
alpha 0.5
plot3(10,10,10,'r*')
hold off
0 Kommentare
Weitere Antworten (1)
Sean de Wolski
am 1 Mär. 2012
Look at the alphadata property in:
web([docroot '/techdoc/ref/surface_props.html'])
0 Kommentare
Siehe auch
Kategorien
Mehr zu Lighting, Transparency, and Shading finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!