答案 0 :(得分:1)
您只需使用普通的surf
对象即可完成此操作。
% Create your stem3 object
stem3(rand(10), rand(10), rand(10) * 700, 'r');
hold on
% Get the current X and Y Limits of the axes
xdata = get(gca, 'xlim');
ydata = get(gca, 'ylim');
% Ensure that the axes limimts don't change when we plot the surface
axis manual
% Create a surface that spans the axes and is of height 550 (the third input)
% Use alpha value of 0.1 for the face transparency
surf(xdata, ydata, 550 * ones(2), 'FaceAlpha', 0.1, 'FaceColor', 'red');