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

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

[Octave-bug-tracker] [bug #44936] stairs(x,y,'r'); omits many stairs (!)


From: Nicky McLean
Subject: [Octave-bug-tracker] [bug #44936] stairs(x,y,'r'); omits many stairs (!) and has spikes; save as .svg introduces odd lines.
Date: Thu, 14 May 2015 06:08:06 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:37.0) Gecko/20100101 Firefox/37.0

Follow-up Comment #5, bug #44936 (project octave):

In further floundering, I thought to try converting the values for the
"stairs" plot into a sequence of (x,y) points at the corners of the stairs,
then use the ordinary plot(x,y) command. This was hoped to work because in the
tests, the point-wise plotting of (x,y) came out as expected.
Alas, the joined-line plotted stairs also came out incorrectly, even though
the pointwise plotted points were good.

Plan B is to try shifting the date axis. Subtracting 730485 removes two
millenia from the date number, bringing modern dates to daynumbers much closer
to the notional zero. Unfortunately, this makes a mess of the annotation of
the date axis. And a lot of testing will be needed as negative years may
behave differently, for instance the MOD function can differ on different
computers.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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