v16i091: Jgraph - A filter for plotting postscript graphs, Patch2
Jim Plank
jsp at princeton.edu
Mon Feb 4 08:09:03 AEST 1991
Submitted-by: jsp at princeton.edu (Jim Plank)
Posting-number: Volume 16, Issue 91
Archive-name: jgraph/patch2
Patch-To: jgraph: Volume 16, Issue 20
This patch fixes a bug where marksize, linewidth, midspace, etc., commands
were being miscalculated when axis minima were not equal to zero. Thanks
to Gordon Weekly and Heather Booth for helping me spot the bug.
Jim
# To unbundle, "sed '1,/^# To unbundle/d' < thisfile | sh"
# Thu Jan 31 16:28:49 EST 1991
echo patch.2 1>&2
sed 's/^-//' >'patch.2' <<'End of patch.2'
-*** draw.c Thu Jan 31 16:16:30 1991
---- ../old/draw.c Thu Jan 31 16:20:16 1991
-***************
-*** 1,8 ****
- /* $Log: draw.c,v $
-- * Revision 1.9 91/01/31 16:14:56 jsp
-- * For patch #2 -- Fixed a bug with disttop which caused it to
-- * work incorrectly with axis minima which != 0.
-- *
- * Revision 1.8 91/01/16 10:57:25 jsp
- * After Patch #1 -- Ifdefs have been included for VMS and LCC, and
- * minor bugs have been fixed
---- 1,4 ----
-***************
-*** 64,70 ****
- if (axis->is_lg) {
- return FCPI * val;
- } else {
-! return (val) * axis->factor;
- }
- }
-
---- 60,66 ----
- if (axis->is_lg) {
- return FCPI * val;
- } else {
-! return (val - axis->min) * axis->factor;
- }
- }
-
-*** show.c Thu Jan 31 16:16:32 1991
---- ../old/show.c Thu Jan 31 16:20:22 1991
-***************
-*** 1,8 ****
- /* $Log: show.c,v $
-- * Revision 1.8 91/01/31 16:15:37 jsp
-- * For patch #2 -- Fixed a bug with disttop which caused it to
-- * work incorrectly with axis minima which != 0.
-- *
- * Revision 1.7 91/01/16 10:58:37 jsp
- * After Patch #1 -- Ifdefs have been included for VMS and LCC, and
- * minor bugs have been fixed
---- 1,4 ----
-***************
-*** 67,73 ****
- if (a->is_lg) {
- return p / FCPI;
- } else {
-! return (p / a->factor);
- }
- }
-
---- 63,69 ----
- if (a->is_lg) {
- return p / FCPI;
- } else {
-! return (p / a->factor) + a->min;
- }
- }
-
End of patch.2
echo PATCH.2.README 1>&2
sed 's/^-//' >'PATCH.2.README' <<'End of PATCH.2.README'
-This patch fixes a bug where marksize, linewidth, midspace, etc., commands
-were being miscalculated when axis minima were not equal to zero. Thanks
-to Gordon Weekly and Heather Booth for helping me spot the bug.
-
-Apply the patch by:
-
-patch < patch.2
End of PATCH.2.README
exit 0 # Just in case...
--
Kent Landfield INTERNET: kent at sparky.IMD.Sterling.COM
Sterling Software, IMD UUCP: uunet!sparky!kent
Phone: (402) 291-8300 FAX: (402) 291-4362
Please send comp.sources.misc-related mail to kent at uunet.uu.net.
More information about the Comp.sources.misc
mailing list