Package: plotutils / 2.6-11

10_repair_postscript Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Repair postscrip output
 Repairs postscript output with graph, libplot -Tps.
 .
 Original patch by Steve Tell.
Origin: http://lists.gnu.org/archive/html/bug-gnu-utils/2003-12/msg00023.html
Forwarded: See origin.

--- a/graph/plotter.c
+++ b/graph/plotter.c
@@ -1011,7 +1011,7 @@
   multigrapher->x_trans.output_min = 0.0;
   multigrapher->x_trans.output_max = (double)PLOT_SIZE;
   multigrapher->x_trans.output_range = multigrapher->x_trans.output_max - multigrapher->x_trans.output_min;
-  multigrapher->x_trans.output_min = 0.0;
+  multigrapher->y_trans.output_min = 0.0;
   multigrapher->y_trans.output_max = (double)PLOT_SIZE;
   multigrapher->y_trans.output_range = multigrapher->y_trans.output_max - multigrapher->y_trans.output_min;