Date: Wed, 21 Nov 2001 17:28:03 +0900 (JST) From: candy <candy@kgc.co.jp> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/32161: gnuplot+ plot with impulses/boxes bug Message-ID: <200111210828.fAL8S3o27452@xxx.kgc.co.jp>
next in thread | raw e-mail | index | archive | help
>Number: 32161 >Category: ports >Synopsis: gnuplot+ plot with impulses/boxes bug >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Nov 21 00:30:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: candy >Release: FreeBSD 4.4-STABLE i386 >Organization: >Environment: System: FreeBSD xxx.kgc.co.jp 4.4-STABLE FreeBSD 4.4-STABLE #1: Tue Oct 23 16:15:04 JST 2001 candy@xxx.kgc.co.jp:/usr/src/sys/compile/XXX i386 /usr/ports/math/gnuplot+ >Description: plot with impulses and boxes does not plot from xaxis. >How-To-Repeat: # cd /usr/ports/math/gnuplot+ && make install $ (echo 'plot [0:6.28] sin(x) with impulses'; read x) | gnuplot $ (echo 'plot [0:6.28] sin(x) with boxes'; read x) | gnuplot >Fix: patch-xg is bogus. Here's a diff for patch-xg. --- patch-xg.orig Tue Jan 30 00:16:43 2001 +++ patch-xg Wed Nov 21 17:14:25 2001 @@ -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) { >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111210828.fAL8S3o27452>