Menu

#1658 does not interpret time correctly in a set arrow command

None
closed-fixed
nobody
None
2015-08-04
2015-07-29
No

A report came to me concerning set arrow for windows binary of 5.1.0 (ChangeLog 2015-07-15)
It seems that gnuplot does not interpret time correctly in a set arrow command.

set xdata time
set timefmt "%m/%d/%y"
set xrange ["03/12/04":"01/20/05"]
set yrange [842.6:845.6]
set timefmt "%m/%d/%y %H:%M"
set arrow 2 from "03/12/04 00:00", 844.792 to "01/20/05 00:00", 844.792 nohead lt 0
show arrow 2

For 5.1.0 (ChangeLog 2015-07-15)(Native windows, cygwin, ubuntu)
gnuplot> show arrow 2

    arrow 2, nohead nofilled back lt 0 linewidth 1.000 dashtype solid
      from ("01/01/70 00:00", 844.792, 0.00000) to ("01/01/70 00:00", 844.792, 0.00000)

For 5.0.1 windows,
gnuplot> show arrow 2

    arrow 2, nohead nofilled back lt 0 linewidth 1.000 dashtype solid
      from ("03/12/04 00:00", 844.792, 0.00000) to ("01/20/05 00:00", 844.792, 0.00000)

The phenomena seem to be platform independent.

Discussion

  • Tatsuro MATSUOKA

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -23,4 +23,4 @@
             arrow 2, nohead nofilled back lt 0 linewidth 1.000 dashtype solid
               from ("03/12/04 00:00", 844.792, 0.00000) to ("01/20/05 00:00", 844.792, 0.00000)
    
    -The phenomena seems to be platform independent.
    +The phenomena seem to be platform independent.
    
    • Group: -->
    • Priority: -->
     
  • Ethan Merritt

    Ethan Merritt - 2015-07-29

    SourceForge cvs repository is still down, but here is a patch to fix it.
    The patch reverts an incorrect change made 2015-02-15

     
  • Ethan Merritt

    Ethan Merritt - 2015-07-29
    • status: open --> open-fixed
     
  • Tatsuro MATSUOKA

    I have confirmed the patch fixes the issue of set arrow.
    Thanks!
    I hope that the SourceForge cvs repository will be back as soon as possible.

     
  • Ethan Merritt

    Ethan Merritt - 2015-08-01
    • status: open-fixed --> closed-fixed
     
  • Ethan Merritt

    Ethan Merritt - 2015-08-01

    SourceForge is back up.
    Fixed in CVS

     
  • Tatsuro MATSUOKA

    I have confirmed that cvs tree fixes the bug. Thanks.

     

Log in to post a comment.