octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help verifying stem() plot


From: Rik
Subject: Help verifying stem() plot
Date: Tue, 17 Sep 2013 16:07:17 -0700

9/17/13

Can someone run the following code in Matlab and report whether it works?
figure
X = linspace(0,2*pi,50)';
Y = (exp(0.3*X).*sin(3*X));
h = stem(X,Y);
hbase = get(h,'Baseline');
set(hbase,'BaseValue',2)

According to the documentation, the "BaseValue" property actually resides on the stemseries object so I don't think this should work.

Does the following work, which uses the stemseries hggroup?
set(h,'BaseValue',2)
Thanks,
Rik

reply via email to

[Prev in Thread] Current Thread [Next in Thread]