www.gusucode.com > graphics 案例源码程序 matlab代码 > graphics/ChangetheBaselineLevelExample.m
%% Change Baseline Level % Create a stem plot with a baseline level at 2. % Copyright 2015 The MathWorks, Inc. %% X = linspace(0,2*pi,50)'; Y = (exp(0.3*X).*sin(3*X)); stem(X,Y,'BaseValue',2);