bug-gnu-utils
[Top][All Lists]
Advanced

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

plotutils graph 2.4.1 command-line processing bug


From: Gerald Pfeifer
Subject: plotutils graph 2.4.1 command-line processing bug
Date: Thu, 3 Jan 2002 13:00:03 +0100 (CET)

I believe I found a command-line processing bug in graph from the
plotutils 2.4.1 package.

Consider the following little input file, called xtab:

  0       0
  5       5
  10      10

The commands
  graph -T X --x-limits 0 10 --y-limits 0 10 xtab
  graph -T X --x-limits 1 10 --y-limits 0 10 xtab
  graph -T X --x-limits - 10 --y-limits 0 10 xtab
as well as
  graph      --x-limits - 10 --y-limits 0 10 xtab -T X
all work as expected and open a window with the plot in it.

The following, however,
  graph      --x-limits 0 10 --y-limits 0 10 xtab -T X
  graph      --x-limits 1 10 --y-limits 0 10 xtab -T X
only print "garbage" like "#PLOT 1\noej...CDFHersheySerif..." on stdout.

(I don't think it the order of options should make a difference here,
and especially it shouldn't make a difference whether one specifies "0",
"1", or "-" as the lower bound of the --x-limits option.)

Gerald
-- 
Gerald "Jerry" address@hidden http://www.dbai.tuwien.ac.at/~pfeifer/






reply via email to

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