aboutsummaryrefslogtreecommitdiffstats
path: root/math/gnuplot+
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2001-11-22 01:57:08 +0800
committerpetef <petef@FreeBSD.org>2001-11-22 01:57:08 +0800
commit1e06a1fef90f911dabf17b1c3d00ea786f0cc1b6 (patch)
treed27bbbb48d57bd50c94197706620ae43771caeee /math/gnuplot+
parent1d917774a58f54ca287e0b3c052dc06e8e4a20fa (diff)
downloadfreebsd-ports-gnome-1e06a1fef90f911dabf17b1c3d00ea786f0cc1b6.tar.gz
freebsd-ports-gnome-1e06a1fef90f911dabf17b1c3d00ea786f0cc1b6.tar.zst
freebsd-ports-gnome-1e06a1fef90f911dabf17b1c3d00ea786f0cc1b6.zip
Fix plots with impulses and boxes
PR: 32161 Submitted by: candy <candy@kgc.co.jp> Approved by: maintainer
Diffstat (limited to 'math/gnuplot+')
-rw-r--r--math/gnuplot+/files/patch-xg12
1 files changed, 6 insertions, 6 deletions
diff --git a/math/gnuplot+/files/patch-xg b/math/gnuplot+/files/patch-xg
index ab75d6118cf3..ac93b91b22d0 100644
--- a/math/gnuplot+/files/patch-xg
+++ b/math/gnuplot+/files/patch-xg
@@ -1,5 +1,5 @@
---- graphics.c.orig Wed Jan 24 14:58:50 2001
-+++ graphics.c Wed Jan 24 14:58:51 2001
+--- graphics.c.orig Wed Nov 21 17:04:44 2001
++++ graphics.c Wed Nov 21 17:05:59 2001
@@ -1373,7 +1373,6 @@
/* label first y axis tics */
@@ -109,9 +109,9 @@
+ }
+ }
+ if (x_min >= 0.0 && x_max >= 0.0)
-+ axis_zero[FIRST_Y_AXIS] = xleft;
++ axis_zero[FIRST_X_AXIS] = xleft;
+ else if (x_min <= 0.0 && x_max <= 0.0)
-+ axis_zero[FIRST_Y_AXIS] = xright;
++ axis_zero[FIRST_X_AXIS] = xright;
+ else {
+ axis_zero[FIRST_X_AXIS] = map_x(0.0);
+ if ((yzeroaxis.l_type > -3) && !is_log_x) {
@@ -152,9 +152,9 @@
+ }
+ }
+ if (y_min >= 0.0 && y_max >= 0.0)
-+ axis_zero[SECOND_Y_AXIS] = xleft;
++ axis_zero[SECOND_X_AXIS] = xleft;
+ else if (x_min <= 0.0 && x_max <= 0.0)
-+ axis_zero[SECOND_Y_AXIS] = xright;
++ axis_zero[SECOND_X_AXIS] = xright;
+ else {
+ axis_zero[SECOND_X_AXIS] = map_x(0.0);
+ if ((y2zeroaxis.l_type > -3) && !is_log_x2) {