#1274 table output contains additional invalid line

5.0
open
nobody
None
5
2014-03-23
2013-08-14
Karl Ratzsch
No

When the data for a plot with "smooth frequency" contains at least one value twice, then a table output contains one additional invalid last line.

===
set table
plot '-' using 1:(1) smooth freq
1
1
6
e
unset table
===

gives

===
# Curve 0 of 1, 3 points
# Curve title: "'-' using 1:(1)"
# x y type
1 2 i
6 1 i
6 1 u
===

Discussion

  • Karl Ratzsch
    Karl Ratzsch
    2013-08-14

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -13,9 +13,9 @@
     gives
    
     ===
    -# Curve 0 of 1, 3 points
    -# Curve title: "'-' using 1:(1)"
    -# x y type
    +\# Curve 0 of 1, 3 points
    +\# Curve title: "'-' using 1:(1)"
    +\# x y type
      1  2  i
      6  1  i
      6  1  u
    
     
  • Karl Ratzsch
    Karl Ratzsch
    2014-03-23

    My description was very strange, and this should have been filed as a bug report.

    P.S. Still the same in 4.6.5 (windows -rc2 build), so it seems unrelated to that bug with an invalid value after a blank line in the data file

     
    Last edit: Karl Ratzsch 2014-03-23
  • Karl Ratzsch
    Karl Ratzsch
    2014-03-23

    • summary: table output with boxes --> table output contains additional invalid line