home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sources.misc
- From: jsp@Princeton.EDU (James Plank)
- Subject: v23i101: jgraph - A filter for plotting postscript graphs, Patch06.1
- Message-ID: <1991Oct22.032229.1553@sparky.imd.sterling.com>
- X-Md4-Signature: 5b3efb7b7f87db026cb761dc77c62324
- Date: Tue, 22 Oct 1991 03:22:29 GMT
- Approved: kent@sparky.imd.sterling.com
-
- Submitted-by: jsp@Princeton.EDU (James Plank)
- Posting-number: Volume 23, Issue 101
- Archive-name: jgraph/patch06.1
- Environment: UNIX, VMS, postscript
- Patch-To: jgraph: Volume 16, Issue 20
-
- Sorry -- I found a big bug in 6.0 of jgraph. Here's the
- patch, etc.
-
- Take it easy,
-
- Jim
- -----
- # To unbundle, "sed '1,/^# To unbundle/d' < thisfile | sh"
- # Wed Oct 9 11:16:26 EDT 1991
- echo PATCH.6.1.README 1>&2
- sed 's/^-//' >'PATCH.6.1.README' <<'End of PATCH.6.1.README'
- -Sorry, but I found a pretty important bug in draw.c which screwed
- -up axes done with nodraw. Anyway, here's the patch. As usual,
- -the latest release of jgraph is available by anonymous ftp to
- -princeton.edu in the file pub/jgraph.Z. The patch from version
- -6.0 is in the file patch6.1.
- -
- -Please alert me to more bugs.
- -
- -Take it easy,
- -
- -Jim Plank
- -jsp@cs.princeton.edu
- End of PATCH.6.1.README
- echo patch.6.1 1>&2
- sed 's/^-//' >'patch.6.1' <<'End of patch.6.1'
- -*** ../work/README Wed Oct 9 11:08:59 1991
- ---- README Wed Oct 9 11:07:36 1991
- -***************
- -*** 1,4 ****
- -! $Revision: 6.0 $
- -
- - Jgraph takes the description of a graph or graphs in the standard
- - input, and produces a postscript file on the standard output. Jgraph
- ---- 1,4 ----
- -! $Revision: 6.1 $
- -
- - Jgraph takes the description of a graph or graphs in the standard
- - input, and produces a postscript file on the standard output. Jgraph
- -***************
- -*** 13,20 ****
- - laying them out separately on the page (or pages).
- -
- - The program is written in C, and shouldn't take anything too fancy
- -! or machine-dependent. It has been tested on VAX mipsel's and mipseb's,
- -! sun3's and SPARC's.
- -
- - There is a makefile, a man page (in jgraph.1), source code, and
- - example graphs.
- ---- 13,21 ----
- - laying them out separately on the page (or pages).
- -
- - The program is written in C, and shouldn't take anything too fancy
- -! or machine-dependent. It has been tested on DECstations,
- -! sun3's, and sparc's (and is being used on many other types
- -! of machines).
- -
- - There is a makefile, a man page (in jgraph.1), source code, and
- - example graphs.
- -*** ../work/draw.c Wed Oct 9 11:09:01 1991
- ---- draw.c Wed Oct 9 11:07:30 1991
- -***************
- -*** 1,7 ****
- - /*
- - * $Source: /n/fs/vd/jsp/src/jgraph/RCS/draw.c,v $
- -! * $Revision: 6.0 $
- -! * $Date: 91/10/08 16:53:43 $
- - * $Author: jsp $
- - */
- -
- ---- 1,7 ----
- - /*
- - * $Source: /n/fs/vd/jsp/src/jgraph/RCS/draw.c,v $
- -! * $Revision: 6.1 $
- -! * $Date: 91/10/09 11:03:25 $
- - * $Author: jsp $
- - */
- -
- -***************
- -*** 55,63 ****
- -
- - orientation = (a->is_x) ? 'x' : 'y';
- - setlinewidth(1.0);
- - if (a->draw_axis_line) {
- -- comment("Drawing Axis");
- -- printf("gsave %f setgray\n", a->gray);
- - printline(0.0, a->draw_at, a->psize, a->draw_at, orientation);
- - }
- - if (a->draw_hash_marks) {
- ---- 55,63 ----
- -
- - orientation = (a->is_x) ? 'x' : 'y';
- - setlinewidth(1.0);
- -+ comment("Drawing Axis");
- -+ printf("gsave %f setgray\n", a->gray);
- - if (a->draw_axis_line) {
- - printline(0.0, a->draw_at, a->psize, a->draw_at, orientation);
- - }
- - if (a->draw_hash_marks) {
- -*** ../work/edit.c Wed Oct 9 11:09:02 1991
- ---- edit.c Wed Oct 9 11:07:30 1991
- -***************
- -*** 1,7 ****
- - /*
- - * $Source: /n/fs/vd/jsp/src/jgraph/RCS/edit.c,v $
- -! * $Revision: 6.0 $
- -! * $Date: 91/10/08 16:53:44 $
- - * $Author: jsp $
- - */
- -
- ---- 1,7 ----
- - /*
- - * $Source: /n/fs/vd/jsp/src/jgraph/RCS/edit.c,v $
- -! * $Revision: 6.1 $
- -! * $Date: 91/10/09 11:03:26 $
- - * $Author: jsp $
- - */
- -
- -***************
- -*** 519,525 ****
- - for (i = 0; i < 4; i++) {
- - if (!getfloat(&f)) {
- - error_header();
- -! fprintf("Bbox definition must have four numbers\n");
- - exit(1);
- - } else {
- - the_g->bb[i] = f;
- ---- 519,525 ----
- - for (i = 0; i < 4; i++) {
- - if (!getfloat(&f)) {
- - error_header();
- -! fprintf(stderr, "Bbox definition must have four numbers\n");
- - exit(1);
- - } else {
- - the_g->bb[i] = f;
- -*** ../work/jgraph.1 Wed Oct 9 11:09:06 1991
- ---- jgraph.1 Wed Oct 9 11:07:35 1991
- -***************
- -*** 1104,1106 ****
- ---- 1104,1108 ----
- - own hash labels.
- - .sp
- - There may well be loads of other bugs. Send to jsp@princeton.edu.
- -+ .sp
- -+ This is $Revision: 6.1 $.
- -*** ../work/jgraph.c Wed Oct 9 11:09:07 1991
- ---- jgraph.c Wed Oct 9 11:07:31 1991
- -***************
- -*** 1,7 ****
- - /*
- - * $Source: /n/fs/vd/jsp/src/jgraph/RCS/jgraph.c,v $
- -! * $Revision: 6.0 $
- -! * $Date: 91/10/08 16:53:48 $
- - * $Author: jsp $
- - */
- -
- ---- 1,7 ----
- - /*
- - * $Source: /n/fs/vd/jsp/src/jgraph/RCS/jgraph.c,v $
- -! * $Revision: 6.1 $
- -! * $Date: 91/10/09 11:03:31 $
- - * $Author: jsp $
- - */
- -
- -*** ../work/jgraph.h Wed Oct 9 11:09:08 1991
- ---- jgraph.h Wed Oct 9 11:07:31 1991
- -***************
- -*** 1,7 ****
- - /*
- - * $Source: /n/fs/vd/jsp/src/jgraph/RCS/jgraph.h,v $
- -! * $Revision: 6.0 $
- -! * $Date: 91/10/08 16:53:50 $
- - * $Author: jsp $
- - */
- -
- ---- 1,7 ----
- - /*
- - * $Source: /n/fs/vd/jsp/src/jgraph/RCS/jgraph.h,v $
- -! * $Revision: 6.1 $
- -! * $Date: 91/10/09 11:03:33 $
- - * $Author: jsp $
- - */
- -
- -*** ../work/list.c Wed Oct 9 11:09:09 1991
- ---- list.c Wed Oct 9 11:07:32 1991
- -***************
- -*** 1,7 ****
- - /*
- - * $Source: /n/fs/vd/jsp/src/jgraph/RCS/list.c,v $
- -! * $Revision: 6.0 $
- -! * $Date: 91/10/08 16:53:51 $
- - * $Author: jsp $
- - */
- -
- ---- 1,7 ----
- - /*
- - * $Source: /n/fs/vd/jsp/src/jgraph/RCS/list.c,v $
- -! * $Revision: 6.1 $
- -! * $Date: 91/10/09 11:03:34 $
- - * $Author: jsp $
- - */
- -
- -*** ../work/list.h Wed Oct 9 11:09:09 1991
- ---- list.h Wed Oct 9 11:07:32 1991
- -***************
- -*** 1,7 ****
- - /*
- - * $Source: /n/fs/vd/jsp/src/jgraph/RCS/list.h,v $
- -! * $Revision: 6.0 $
- -! * $Date: 91/10/08 16:53:52 $
- - * $Author: jsp $
- - */
- -
- ---- 1,7 ----
- - /*
- - * $Source: /n/fs/vd/jsp/src/jgraph/RCS/list.h,v $
- -! * $Revision: 6.1 $
- -! * $Date: 91/10/09 11:03:35 $
- - * $Author: jsp $
- - */
- -
- -*** ../work/printline.c Wed Oct 9 11:09:11 1991
- ---- printline.c Wed Oct 9 11:07:32 1991
- -***************
- -*** 1,7 ****
- - /*
- - * $Source: /n/fs/vd/jsp/src/jgraph/RCS/printline.c,v $
- -! * $Revision: 6.0 $
- -! * $Date: 91/10/08 16:53:54 $
- - * $Author: jsp $
- - */
- -
- ---- 1,7 ----
- - /*
- - * $Source: /n/fs/vd/jsp/src/jgraph/RCS/printline.c,v $
- -! * $Revision: 6.1 $
- -! * $Date: 91/10/09 11:03:37 $
- - * $Author: jsp $
- - */
- -
- -*** ../work/prio_list.c Wed Oct 9 11:09:11 1991
- ---- prio_list.c Wed Oct 9 11:07:32 1991
- -***************
- -*** 1,7 ****
- - /*
- - * $Source: /n/fs/vd/jsp/src/jgraph/RCS/prio_list.c,v $
- -! * $Revision: 6.0 $
- -! * $Date: 91/10/08 16:53:55 $
- - * $Author: jsp $
- - */
- -
- ---- 1,7 ----
- - /*
- - * $Source: /n/fs/vd/jsp/src/jgraph/RCS/prio_list.c,v $
- -! * $Revision: 6.1 $
- -! * $Date: 91/10/09 11:03:38 $
- - * $Author: jsp $
- - */
- -
- -*** ../work/prio_list.h Wed Oct 9 11:09:12 1991
- ---- prio_list.h Wed Oct 9 11:07:33 1991
- -***************
- -*** 1,7 ****
- - /*
- - * $Source: /n/fs/vd/jsp/src/jgraph/RCS/prio_list.h,v $
- -! * $Revision: 6.0 $
- -! * $Date: 91/10/08 16:53:56 $
- - * $Author: jsp $
- - */
- -
- ---- 1,7 ----
- - /*
- - * $Source: /n/fs/vd/jsp/src/jgraph/RCS/prio_list.h,v $
- -! * $Revision: 6.1 $
- -! * $Date: 91/10/09 11:03:39 $
- - * $Author: jsp $
- - */
- -
- -*** ../work/process.c Wed Oct 9 11:09:13 1991
- ---- process.c Wed Oct 9 11:07:33 1991
- -***************
- -*** 1,7 ****
- - /*
- - * $Source: /n/fs/vd/jsp/src/jgraph/RCS/process.c,v $
- -! * $Revision: 6.0 $
- -! * $Date: 91/10/08 16:53:56 $
- - * $Author: jsp $
- - */
- -
- ---- 1,7 ----
- - /*
- - * $Source: /n/fs/vd/jsp/src/jgraph/RCS/process.c,v $
- -! * $Revision: 6.1 $
- -! * $Date: 91/10/09 11:03:40 $
- - * $Author: jsp $
- - */
- -
- -*** ../work/show.c Wed Oct 9 11:09:14 1991
- ---- show.c Wed Oct 9 11:07:34 1991
- -***************
- -*** 1,7 ****
- - /*
- - * $Source: /n/fs/vd/jsp/src/jgraph/RCS/show.c,v $
- -! * $Revision: 6.0 $
- -! * $Date: 91/10/08 16:53:59 $
- - * $Author: jsp $
- - */
- -
- ---- 1,7 ----
- - /*
- - * $Source: /n/fs/vd/jsp/src/jgraph/RCS/show.c,v $
- -! * $Revision: 6.1 $
- -! * $Date: 91/10/09 11:03:42 $
- - * $Author: jsp $
- - */
- -
- -*** ../work/token.c Wed Oct 9 11:09:26 1991
- ---- token.c Wed Oct 9 11:07:35 1991
- -***************
- -*** 1,7 ****
- - /*
- - * $Source: /n/fs/vd/jsp/src/jgraph/RCS/token.c,v $
- -! * $Revision: 6.0 $
- -! * $Date: 91/10/08 16:54:00 $
- - * $Author: jsp $
- - */
- -
- ---- 1,7 ----
- - /*
- - * $Source: /n/fs/vd/jsp/src/jgraph/RCS/token.c,v $
- -! * $Revision: 6.1 $
- -! * $Date: 91/10/09 11:03:43 $
- - * $Author: jsp $
- - */
- -
- End of patch.6.1
-
- exit 0 # Just in case...
- --
- Kent Landfield INTERNET: kent@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@uunet.uu.net.
-