%% Modify Stem Series After Creation
% Create a 3-D stem plot and return the stem series object.

% Copyright 2015 The MathWorks, Inc.


X = linspace(0,2);
Y = X.^3;
Z = exp(X).*cos(Y);
h = stem3(X,Y,Z,'filled'); 

%%
% Change the color to magenta and set the marker face color to yellow. Use
% |view| to adjust the angle of the axes in the figure. Starting in R2014b,
% you can use dot notation to set properties. If you are using an earlier
% release, use the <docid:matlab_ref.f67-432995> function instead.

h.Color = 'm';
h.MarkerFaceColor = 'y';
view(-10,35)
