Transparent and Multi-Color 3D-Surfaces

27 次查看(过去 30 天)
Hello Community,
I've got a problem with coloring two mesh-plots. The upper one should be sort of transparent, so that the plot below is also visible. I've already tried to apply the alpha-function with a very low value, but I cannot see a significant change in the transparency of the first mesh plot.
Here is my code:
figure
hold on
s1 = mesh(radius_interp, force_interp, bow_length);
alpha(s1,0.01)
colormap(jet)
freezeColors
s2 = mesh(radius_interp, force_interp, bow_length_tape, 'FaceAlpha', 0.8);
map = [0.3, 0, 0
0.4, 0, 0
0.5, 0, 0
0.6, 0, 0
0.8, 0, 0
1.0, 0, 0];
colormap(map)
freezeColors
% Plot Axis
axis([0 200 0 500 0 70])
daspect([1 1 1])
Thanks in advance for your help! Georg

采纳的回答

Star Strider
Star Strider 2016-9-10
This is a guess since I cannot run your code.
See if decreasing the 'EdgeAlpha' property (especially in a mesh plot) helps.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Surface and Mesh Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by