octave-bug-tracker
[Top][All Lists]
Advanced

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

Re: [Octave-bug-tracker] [bug #43895] freqz plot should extend to end of


From: Doug Stewart
Subject: Re: [Octave-bug-tracker] [bug #43895] freqz plot should extend to end of range, not 1 data point short.
Date: Wed, 4 Feb 2015 09:44:16 -0500



On Wed, Feb 4, 2015 at 8:50 AM, Mike Miller <address@hidden> wrote:
Follow-up Comment #10, bug #43895 (project octave):

You didn't paste the results of getting the x and y data from the plot, but
someone on the list already provided that. Including here for completeness in
case this gets forgotten:


>> get(h,'xdata')

ans =

         0    0.2000    0.4000    0.6000    0.8000    1.0000 1.2000    1.4000
  1.6000    1.8000    2.0000

>> get(h,'ydata')

ans =

   -2.2789    0.3236   14.0514   -0.6138   -5.8441   -7.2346   -5.8441
-0.6138   14.0514    0.3236       Inf



So this is one more point than what is returned, and one more point than what
Octave currently plots. So I think we all agree that the return value is
correctly 10 points, but the plot should extend to the pi or 2*pi value.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?43895>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/

I have a fix for this, and will post it soon.

--
DASCertificate for 206392


reply via email to

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