octave-maintainers
[Top][All Lists]
Advanced

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

Re: Help verifying stem() plot


From: Ben Abbott
Subject: Re: Help verifying stem() plot
Date: Wed, 18 Sep 2013 08:09:18 -0400

On Sep 17, 2013, at 7:07 PM, Rik wrote:

> 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

Both work for me (R2013a)

Ben



reply via email to

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