%% Adjust Baseline Properties
% Create a stem plot and change properties of the baseline.

X = linspace(0,2*pi,50);
Y = exp(0.3*X).*sin(3*X);
h = stem(X,Y);

%
% Change the line style of the baseline. Use dot notation to set properties.

hbase = h.BaseLine; 
hbase.LineStyle = '--';

%
% Hide the baseline by setting its Visible property to 'off' .

hbase.Visible = 'off';

% Copyright 2015 The MathWorks, Inc.