Hi

Sorry about the horribly late reply.

fre, 30 10 2009 kl. 22:10 +0100, skrev Philip Nienhuis:
> In Octave script dateaxis.m I found a little bug + a leftover debugging 
> "keyboard" statement.

This looks like a bug, so I've removed it.

> It also invokes a stray gnuplot if called with too many arguments.

I don't quite understand. Could you provide an example?

> The bug is that argument "startdate" is actually ignored.

I don't know the code very well, so I can't really comment on this. I
see your change includes

           ticks = get (h, [ax "tick"]);
        -  ticks = ticks - ticks(1) + startdate;
        +  ## Added by PRN oct 2009
        +  if (~isempty(startdate)) 
        +    ticks = ticks - ticks(1) + startdate;
        +  endif

I don't, however, see what this does or how it relates  your comment
about 'startdate' being ignored. In the case where 'startdate' is empty
the current code is the same as doing

  ticks = ticks - ticks (1);

Isn't that okay?

Søren


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to