(For how to access object properties see this post)
s.actors[0].property.
.representation =
.interpolation =
.color = [r,g,b]
.specular = 0...1
.specular_color = [r,g,b]
.specular_power =0...1
...
fig = mlab.figure(browser = False)
...
s = mlab.Surf(x,y,z)
...
s.actors[0].property.
.representation =
- 'w' wireframe
- 's' surface
.interpolation =
- 'flat'
- 'gouraud'
- 'phong'
.color = [r,g,b]
.specular = 0...1
.specular_color = [r,g,b]
.specular_power =0...1
Comments
Post a Comment