%% Change Baseline Level
% Create a stem plot with a baseline level at 2.

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

% Copyright 2015 The MathWorks, Inc.