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

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

graph -Tps problems


From: Paavo Helde
Subject: graph -Tps problems
Date: Mon, 24 Jan 2005 21:19:57 +0200 (EET)
User-agent: SquirrelMail/1.4.2

There seem to be some problems in graph program from the plotutils
package. I was trying to use it on Windows as:

echo 1 2 3 4 | graph.exe -a -m3 --bounding-box 500x500 -Tps > test.ps

This generated a meaningless boundingbox and other coordinates, a la
%%BoundingBox: -366691132 2147483647 366691744 2147483647

I tracked the problem down to the function set_graph_parameters() in
plotter.c. It contains two identical lines of

  multigrapher->x_trans.output_min = 0.0;

If I changed one of them to

  multigrapher->y_trans.output_min = 0.0;

the bounding-box problem appears to be solved. However, the --bitmap-size
parameter seems to be ignored anyway.

There remains another problem that a recent Windows ghostscript doesn't
accept the text labels generated by the above graph command, but I don't
know Postscript well enough to say exactly what's wrong.

Best regards
Paavo




reply via email to

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