home *** CD-ROM | disk | FTP | other *** search
Text File | 1992-06-19 | 32.4 KB | 1,052 lines |
- diff -rc gnuplot/Copyright gnuplot3.2/Copyright
- *** gnuplot/Copyright Sun Jan 5 21:33:12 1992
- --- gnuplot3.2/Copyright Wed Mar 25 07:59:24 1992
- ***************
- *** 1,5 ****
- /*
- ! * Copyright (C) 1986, 1987, 1990, 1991 Thomas Williams, Colin Kelley
- *
- * Permission to use, copy, and distribute this software and its
- * documentation for any purpose with or without fee is hereby granted,
- --- 1,5 ----
- /*
- ! * Copyright (C) 1986, 1987, 1990, 1991, 1992 Thomas Williams, Colin Kelley
- *
- * Permission to use, copy, and distribute this software and its
- * documentation for any purpose with or without fee is hereby granted,
- ***************
- *** 26,35 ****
- * Gershon Elber and many others.
- *
- * Send your comments or suggestions to
- ! * pixar!info-gnuplot@sun.com.
- * This is a mailing list; to join it send a note to
- ! * pixar!info-gnuplot-request@sun.com.
- * Send bug reports to
- ! * pixar!bug-gnuplot@sun.com.
- */
-
- --- 26,35 ----
- * Gershon Elber and many others.
- *
- * Send your comments or suggestions to
- ! * info-gnuplot@ames.arc.nasa.gov.
- * This is a mailing list; to join it send a note to
- ! * info-gnuplot-request@ames.arc.nasa.gov.
- * Send bug reports to
- ! * bug-gnuplot@ames.arc.nasa.gov.
- */
-
- Only in gnuplot3.2: EPSView.h
- Only in gnuplot3.2: EPSView.m
- Only in gnuplot3.2: EpsViewer.h
- Only in gnuplot3.2: EpsViewer.m
- diff -rc gnuplot/History gnuplot3.2/History
- *** gnuplot/History Thu Sep 19 10:47:22 1991
- --- gnuplot3.2/History Sat May 16 09:53:14 1992
- ***************
- *** 1,4 ****
- --- 1,43 ----
-
- + GNUPLOT 3.2 RELEASE NOTES
- +
- + This describes changes to gnuplot since version 3.0.
- +
- + Highlights:
- + -----------
- + Version 3.1 (also known as version 3.0, patchlevel 1) was a bugfix
- + release. In particular, it corrected the y logscale error.
- + Version 3.2 also fixes a number of bugs but contains two major
- + changes. The X11 support, in particular, gnuplot_x11.c was completely
- + rewritten to rely solely on X11 intrinsics and no widget libraries.
- + This should hopefully make it more portable. The other major change
- + is hidden line removal for explicit 3D surfaces.
- +
- + This release was deliberately limited in scope in order to
- + release a new X11 driver and have some hidden line removal capability
- + quickly. Version 3.3 will be a much larger modification.
- +
- +
- + ACKNOWLEDGEMENTS
- +
- + - New generic gnuplot_x11.c, Ed Kubatis <ejk@ux2.ncsa.uiuc.edu>
- + - Hidden Line Removal for Explicit Surfaces and IRIX 4.0 fixes,
- + Gershon Elber <gershon@gr.utah.edu>
- + - Table Terminal Driver, Kevin Russo <russo@rudedog.nrl.navy.mil>
- + - PCL5 driver fixes (HPGL page eject),datafile pipe and README,
- + Alex Woo <woo@ames.arc.nasa.gov>
- + - Pbmplus driver & fix to ylog tics, Put FAR pointers in bitmap.c and bitmap.h
- + Russell Lang <rjl@monu1.cc.monash.edu.au>
- + - NeXT Console Driver, Nick Strobel <strobel@phast.phys.washington.edu>
- + - Fix GNUTERM environment with disk resident BGI drivers,
- + Craig Johnston <johnston@maxwell.ee.washington.edu>
- + - Fix tables for troff in doc2ms, Michael Schuh <schuh@ames.arc.nasa.gov>
- + - Fix dump when GNUPLOT$HELP undefined,
- + Wolfgang J. Moeller <moeller@gwdgv1.dnet.gwdg.de>
- + - Fix AMIGA segment limits, Carsten Steger <stegerc@informatik.tu-muenchen.de>
- + - Bug fix to latex.trm, Rob Cunningham <rkc@xn.ll.mit.edu>
- +
- + =========================================================================
- GNUPLOT 3.0 RELEASE NOTES
-
- This describes changes to gnuplot since version 2.02 (ie, 2.0
- ***************
- *** 255,261 ****
- (David.Kotz@Dartmouth.edu)
- And of course, the vast majority of the program is by Colin Kelley
- and Thomas Williams.
- ! (pixar!info-gnuplot@sun.com)
-
- =======================================================================
-
- --- 294,300 ----
- (David.Kotz@Dartmouth.edu)
- And of course, the vast majority of the program is by Colin Kelley
- and Thomas Williams.
- ! (info-gnuplot@ames.arc.nasa.gov)
-
- =======================================================================
-
- diff -rc gnuplot/README gnuplot3.2/README
- *** gnuplot/README Thu Sep 19 10:43:25 1991
- --- gnuplot3.2/README Sat May 16 05:11:18 1992
- ***************
- *** 1,4 ****
- --- 1,35 ----
-
- + GNUPLOT is a command-driven interactive function plotting program. It
- + is case sensitive (commands and function names written in lowercase
- + are not the same as those written in CAPS). All command names may be
- + abbreviated, as long as the abbreviation is not ambiguous. Any number
- + of commands may appear on a line, separated by semicolons (;).
- + Strings are indicated with quotes. They may be either single or double
- + quotation marks, e.g.,
- +
- + load "filename"
- + cd 'dir'
- +
- + Any command-line arguments are assumed to be names of files containing
- + GNUPLOT commands, with the exception of standard X11 arguments, which
- + are processed first. Each file is loaded with the `load` command, in the
- + order specified. GNUPLOT exits after the last file is processed. When
- + no load files are named, gnuplot enters into an interactive mode.
- +
- + Commands may extend over several input lines, by ending each
- + line but the last with a backslash (\). The backslash must be the LAST
- + character on each line. The effect is as if the backslash and newline
- + were not there. That is, no white space is implied, nor is a comment
- + terminated. Therefore, commenting out a continued line comments out
- + the entire command (see `comment`).
- +
- + For help on any topic, type `help` followed by the name of the topic.
- +
- + The new GNUPLOT user should begin by reading about the `plot`
- + command (type `help plot`). The manual for gnuplot can be printed
- + either with TeX, troff or nroff. Look at the docs/Makefile for
- + the appropriate option.
- +
- Where to get updates to GNUPLOT
-
- Congratulations on getting this version of GNUPLOT! Unfortunately, it
- ***************
- *** 16,32 ****
- prep.ai.mit.edu is NOT an official site, and may not be up to date.
- Also, comp.sources.misc is usually a month or so behind us.
-
- ! Date: Wed Sep 18 20:45:52 EDT 1991
- ! Version: 3.0
-
- ! In general, GNUPLOT 3.0 is available as the file gnuplot3.0.tar.Z.
- There are no patches that bring GNUPLOT 2.02 up to 3.0, so you must
- ! obtain the whole new release. Please obtain gnuplot from the site
- nearest you.
-
- USENET users:
-
- ! GNUPLOT 3.0 was posted to comp.sources.misc.
-
-
- NORTH AMERICA:
- --- 47,67 ----
- prep.ai.mit.edu is NOT an official site, and may not be up to date.
- Also, comp.sources.misc is usually a month or so behind us.
-
- ! Date: Sun Mar 1 20:45:52 EDT 1992
- ! Version: 3.2
-
- ! In general, GNUPLOT 3.2 is available as the file gnuplot3.2.tar.Z.
- ! There are patches which bring GNUPLOT 3.0 up to 3.1 and patches
- ! which bring GNUPLOT 3.1 up to GNUPLOT 3.2. The latter are in
- ! the file gnuplot3.2.shar.Z.
- There are no patches that bring GNUPLOT 2.02 up to 3.0, so you must
- ! obtain the whole new release.
- ! Please obtain gnuplot from the site
- nearest you.
-
- USENET users:
-
- ! GNUPLOT 3.2 was posted to comp.sources.misc.
-
-
- NORTH AMERICA:
- ***************
- *** 33,39 ****
-
- Anonymous ftp to dartmouth.edu (129.170.16.4)
- Fetch
- ! pub/gnuplot/gnuplot3.0.tar.Z
- in binary mode.
-
- Users without ftp capability can obtain it through a mail ftp
- --- 68,74 ----
-
- Anonymous ftp to dartmouth.edu (129.170.16.4)
- Fetch
- ! pub/gnuplot/gnuplot3.2.tar.Z
- in binary mode.
-
- Users without ftp capability can obtain it through a mail ftp
- ***************
- *** 45,51 ****
- USER ANONYMOUS
- CD pub/gnuplot
- BINARY
- ! GET gnuplot3.0.tar.Z
- QUIT
-
-
- --- 80,86 ----
- USER ANONYMOUS
- CD pub/gnuplot
- BINARY
- ! GET gnuplot3.2.tar.Z
- QUIT
-
-
- ***************
- *** 52,64 ****
- AUSTRALIA:
-
- Anonymous ftp to monu1.cc.monash.edu.au (130.194.1.101).
- ! Fetch pub/gnuplot3.0.tar.Z in binary mode.
-
-
- EUROPE:
-
- Anonymous ftp to irisa.irisa.fr (131.254.2.3).
- ! Fetch pub/gnuplot3.0.tar.Z in binary mode.
-
- ----
-
- --- 87,99 ----
- AUSTRALIA:
-
- Anonymous ftp to monu1.cc.monash.edu.au (130.194.1.101).
- ! Fetch pub/gnuplot3.2.tar.Z in binary mode.
-
-
- EUROPE:
-
- Anonymous ftp to irisa.irisa.fr (131.254.2.3).
- ! Fetch pub/gnuplot3.2.tar.Z in binary mode.
-
- ----
-
- ***************
- *** 68,77 ****
- ----
- CONTACTS:
- Please send any questions or comments to
- ! pixar!info-gnuplot@ucbvax.berkeley.edu.
- To join the above mailing list (or get yourself off), mail to
- ! pixar!info-gnuplot-request@ucbvax.berkeley.edu.
- Send bug reports and problems to
- ! pixar!bug-gnuplot@ucbvax.berkeley.edu.
-
- -Thomas Williams-
- --- 103,113 ----
- ----
- CONTACTS:
- Please send any questions or comments to
- ! info-gnuplot@ames.arc.nasa.gov.
- To join the above mailing list (or get yourself off), mail to
- ! info-gnuplot-request@ames.arc.nasa.gov.
- Send bug reports and problems to
- ! bug-gnuplot@ames.arc.nasa.gov.
-
- -Thomas Williams-
- +
- Only in gnuplot3.2: README.3d
- Only in gnuplot3.2: README.3p2
- diff -rc gnuplot/README.Install gnuplot3.2/README.Install
- *** gnuplot/README.Install Sun Jan 5 21:33:13 1992
- --- gnuplot3.2/README.Install Sat May 16 09:25:12 1992
- ***************
- *** 16,26 ****
- GNUPLOT has not been tested on Pyramid 90x and IBM PC Microsoft C.
-
- Send your comments, suggestions, or modifications to
- ! pixar!info-gnuplot@sun.com
- This is a mailing list; to join it send a note to
- ! pixar!info-gnuplot-request@sun.com
- Send bug reports to
- ! pixar!bug-gnuplot@sun.com
-
- PREPROCESSOR #DEFINES
-
- --- 16,26 ----
- GNUPLOT has not been tested on Pyramid 90x and IBM PC Microsoft C.
-
- Send your comments, suggestions, or modifications to
- ! info-gnuplot@ames.arc.nasa.gov
- This is a mailing list; to join it send a note to
- ! info-gnuplot-request@ames.arc.nasa.gov
- Send bug reports to
- ! bug-gnuplot@ames.arc.nasa.gov
-
- PREPROCESSOR #DEFINES
-
- ***************
- *** 54,59 ****
- --- 54,60 ----
- or term.h
-
- AED AED 512 and AED 767
- + AIFM Adobe Illustrator Format
- AMIGASCREEN Amiga custom screen
- APOLLO Apollo Graphics Primitive Resource (resizable window)
- ATT6300 PC with AT&T 6300 graphics
- ***************
- *** 76,86 ****
- --- 77,90 ----
- HP75 HP7580, and probably other HPs
- HPGL HP7475 and (hopefully) lots of others
- HPLJII HP Laserjet II
- + HPLJIII HP Laserjet III (HPGL/2)
- IMAGEN Imagen laser printers (300dpi) (requires -Iterm also)
- IRIS4D IRIS4D series computer
- KERMIT MS-Kermit Tektronix 4010 emulator
- LATEX LATEX picture environment
- + LN03P DEC LN03P laser printer
- NEC NEC CP6 pinwriter printer
- + PBM PBMPLUS pbm, pgm, ppm formats
- POSTSCRIPT Postscript
- PRESCRIBE Kyocera Laser printer
- QMS QMS/QUIC laserprinter (Talaris 1200 and others)
- Only in gnuplot3.2: README.NeXT
- Only in gnuplot: README.patch1
- Only in gnuplot3.2: README.x11
- diff -rc gnuplot/bitmap.c gnuplot3.2/bitmap.c
- *** gnuplot/bitmap.c Thu Jul 18 11:54:16 1991
- --- gnuplot3.2/bitmap.c Wed Mar 25 07:59:31 1992
- ***************
- *** 1,6 ****
- /* GNUPLOT - bitmap.c */
- /*
- ! * Copyright (C) 1986, 1987, 1990, 1991 Thomas Williams, Colin Kelley
- *
- * Permission to use, copy, and distribute this software and its
- * documentation for any purpose with or without fee is hereby granted,
- --- 1,11 ----
- + #ifndef lint
- + static char *RCSid = "$Id: bitmap.c,v 3.26 92/03/24 22:34:39 woo Exp Locker: woo $";
- + #endif
- +
- +
- /* GNUPLOT - bitmap.c */
- /*
- ! * Copyright (C) 1986, 1987, 1990, 1991, 1992 Thomas Williams, Colin Kelley
- *
- * Permission to use, copy, and distribute this software and its
- * documentation for any purpose with or without fee is hereby granted,
- ***************
- *** 23,33 ****
- * Russell Lang <rjl@monu1.cc.monash.edu.au>
- *
- * Send your comments or suggestions to
- ! * pixar!info-gnuplot@sun.com.
- * This is a mailing list; to join it send a note to
- ! * pixar!info-gnuplot-request@sun.com.
- * Send bug reports to
- ! * pixar!bug-gnuplot@sun.com.
- */
-
- /*
- --- 28,38 ----
- * Russell Lang <rjl@monu1.cc.monash.edu.au>
- *
- * Send your comments or suggestions to
- ! * info-gnuplot@ames.arc.nasa.gov.
- * This is a mailing list; to join it send a note to
- ! * info-gnuplot-request@ames.arc.nasa.gov.
- * Send bug reports to
- ! * bug-gnuplot@ames.arc.nasa.gov.
- */
-
- /*
- ***************
- *** 72,78 ****
- #define IN(i,size) ((unsigned)i < (unsigned)size)
-
- /* 5x9 font, bottom row first, left pixel in lsb */
- ! char_row fnt5x9[FNT_CHARS][FNT5X9_VBITS] = {
- /* */ {000000,000000,000000,000000,000000,000000,000000,000000,000000},
- /*!*/ {000000,000000,0x0004,000000,0x0004,0x0004,0x0004,0x0004,0x0004},
- /*"*/ {000000,000000,000000,000000,000000,000000,0x000a,0x000a,0x000a},
- --- 77,83 ----
- #define IN(i,size) ((unsigned)i < (unsigned)size)
-
- /* 5x9 font, bottom row first, left pixel in lsb */
- ! char_row FAR fnt5x9[FNT_CHARS][FNT5X9_VBITS] = {
- /* */ {000000,000000,000000,000000,000000,000000,000000,000000,000000},
- /*!*/ {000000,000000,0x0004,000000,0x0004,0x0004,0x0004,0x0004,0x0004},
- /*"*/ {000000,000000,000000,000000,000000,000000,0x000a,0x000a,0x000a},
- ***************
- *** 172,178 ****
- };
-
- /* 9x17 font, bottom row first, left pixel in lsb */
- ! char_row fnt9x17[FNT_CHARS][FNT9X17_VBITS] = {
- /* */ {000000,000000,000000,000000,000000,000000,000000,000000,000000,
- 000000,000000,000000,000000,000000,000000,000000,000000},
- /*!*/ {000000,000000,000000,000000,0x0010,000000,000000,000000,0x0010,
- --- 177,183 ----
- };
-
- /* 9x17 font, bottom row first, left pixel in lsb */
- ! char_row FAR fnt9x17[FNT_CHARS][FNT9X17_VBITS] = {
- /* */ {000000,000000,000000,000000,000000,000000,000000,000000,000000,
- 000000,000000,000000,000000,000000,000000,000000,000000},
- /*!*/ {000000,000000,000000,000000,0x0010,000000,000000,000000,0x0010,
- ***************
- *** 368,374 ****
- };
-
- /* 13x25 font, bottom row first, left pixel in lsb */
- ! char_row fnt13x25[FNT_CHARS][FNT13X25_VBITS] = {
- /* */ {000000,000000,000000,000000,000000,000000,000000,000000,000000,
- 000000,000000,000000,000000,000000,000000,000000,000000,000000,
- 000000,000000,000000,000000,000000,000000,000000},
- --- 373,379 ----
- };
-
- /* 13x25 font, bottom row first, left pixel in lsb */
- ! char_row FAR fnt13x25[FNT_CHARS][FNT13X25_VBITS] = {
- /* */ {000000,000000,000000,000000,000000,000000,000000,000000,000000,
- 000000,000000,000000,000000,000000,000000,000000,000000,000000,
- 000000,000000,000000,000000,000000,000000,000000},
- diff -rc gnuplot/bitmap.h gnuplot3.2/bitmap.h
- *** gnuplot/bitmap.h Mon Jun 3 15:25:57 1991
- --- gnuplot3.2/bitmap.h Wed Mar 25 07:59:32 1992
- ***************
- *** 1,8 ****
- /* bitmap.h */
-
- /* allow up to 16 bit width for character array */
- typedef unsigned int char_row;
- ! typedef char_row * char_box;
-
- #define FNT_CHARS 96 /* Number of characters in the font set */
-
- --- 1,18 ----
- + /*
- + * $Id: bitmap.h,v 3.26 92/03/24 22:34:16 woo Exp Locker: woo $
- + */
- +
- /* bitmap.h */
-
- + #ifdef __TURBOC__
- + #define FAR far
- + #else
- + #define FAR
- + #endif
- +
- /* allow up to 16 bit width for character array */
- typedef unsigned int char_row;
- ! typedef char_row * FAR char_box;
-
- #define FNT_CHARS 96 /* Number of characters in the font set */
-
- ***************
- *** 11,17 ****
- #define FNT5X9_VBITS 9 /* actual number of rows of bits per char */
- #define FNT5X9_HCHAR 7 /* horizontal spacing between characters */
- #define FNT5X9_HBITS 5 /* actual number of bits per row per char */
- ! extern char_row fnt5x9[FNT_CHARS][FNT5X9_VBITS];
-
- #define FNT9X17 1
- #define FNT9X17_VCHAR 21 /* vertical spacing between characters */
- --- 21,27 ----
- #define FNT5X9_VBITS 9 /* actual number of rows of bits per char */
- #define FNT5X9_HCHAR 7 /* horizontal spacing between characters */
- #define FNT5X9_HBITS 5 /* actual number of bits per row per char */
- ! extern char_row FAR fnt5x9[FNT_CHARS][FNT5X9_VBITS];
-
- #define FNT9X17 1
- #define FNT9X17_VCHAR 21 /* vertical spacing between characters */
- ***************
- *** 18,24 ****
- #define FNT9X17_VBITS 17 /* actual number of rows of bits per char */
- #define FNT9X17_HCHAR 13 /* horizontal spacing between characters */
- #define FNT9X17_HBITS 9 /* actual number of bits per row per char */
- ! extern char_row fnt9x17[FNT_CHARS][FNT9X17_VBITS];
-
- #define FNT13X25 2
- #define FNT13X25_VCHAR 31 /* vertical spacing between characters */
- --- 28,34 ----
- #define FNT9X17_VBITS 17 /* actual number of rows of bits per char */
- #define FNT9X17_HCHAR 13 /* horizontal spacing between characters */
- #define FNT9X17_HBITS 9 /* actual number of bits per row per char */
- ! extern char_row FAR fnt9x17[FNT_CHARS][FNT9X17_VBITS];
-
- #define FNT13X25 2
- #define FNT13X25_VCHAR 31 /* vertical spacing between characters */
- ***************
- *** 25,31 ****
- #define FNT13X25_VBITS 25 /* actual number of rows of bits per char */
- #define FNT13X25_HCHAR 19 /* horizontal spacing between characters */
- #define FNT13X25_HBITS 13 /* actual number of bits per row per char */
- ! extern char_row fnt13x25[FNT_CHARS][FNT13X25_VBITS];
-
-
- typedef unsigned char pixels; /* the type of one set of 8 pixels in bitmap */
- --- 35,41 ----
- #define FNT13X25_VBITS 25 /* actual number of rows of bits per char */
- #define FNT13X25_HCHAR 19 /* horizontal spacing between characters */
- #define FNT13X25_HBITS 13 /* actual number of bits per row per char */
- ! extern char_row FAR fnt13x25[FNT_CHARS][FNT13X25_VBITS];
-
-
- typedef unsigned char pixels; /* the type of one set of 8 pixels in bitmap */
- diff -rc gnuplot/command.c gnuplot3.2/command.c
- *** gnuplot/command.c Sun Jan 5 21:33:14 1992
- --- gnuplot3.2/command.c Wed Mar 25 07:59:34 1992
- ***************
- *** 1,6 ****
- /* GNUPLOT - command.c */
- /*
- ! * Copyright (C) 1986, 1987, 1990, 1991 Thomas Williams, Colin Kelley
- *
- * Permission to use, copy, and distribute this software and its
- * documentation for any purpose with or without fee is hereby granted,
- --- 1,10 ----
- + #ifndef lint
- + static char *RCSid = "$Id: command.c,v 3.26 92/03/24 22:34:17 woo Exp Locker: woo $";
- + #endif
- +
- /* GNUPLOT - command.c */
- /*
- ! * Copyright (C) 1986, 1987, 1990, 1991, 1992 Thomas Williams, Colin Kelley
- *
- * Permission to use, copy, and distribute this software and its
- * documentation for any purpose with or without fee is hereby granted,
- ***************
- *** 27,37 ****
- * Gershon Elber and many others.
- *
- * Send your comments or suggestions to
- ! * pixar!info-gnuplot@sun.com.
- * This is a mailing list; to join it send a note to
- ! * pixar!info-gnuplot-request@sun.com.
- * Send bug reports to
- ! * pixar!bug-gnuplot@sun.com.
- */
-
- #include <stdio.h>
- --- 31,41 ----
- * Gershon Elber and many others.
- *
- * Send your comments or suggestions to
- ! * info-gnuplot@ames.arc.nasa.gov.
- * This is a mailing list; to join it send a note to
- ! * info-gnuplot-request@ames.arc.nasa.gov.
- * Send bug reports to
- ! * bug-gnuplot@ames.arc.nasa.gov.
- */
-
- #include <stdio.h>
- ***************
- *** 81,88 ****
- #define HELPFILE "S:gnuplot.gih"
- #else
- #define HELPFILE "docs/gnuplot.gih" /* changed by makefile */
- ! #endif
- ! #endif
-
- #define inrange(z,min,max) ((min<max) ? ((z>=min)&&(z<=max)) : ((z>=max)&&(z<=min)) )
-
- --- 85,92 ----
- #define HELPFILE "S:gnuplot.gih"
- #else
- #define HELPFILE "docs/gnuplot.gih" /* changed by makefile */
- ! #endif /* AMIGA_LC_5_1 */
- ! #endif /* HELPFILE */
-
- #define inrange(z,min,max) ((min<max) ? ((z>=min)&&(z<=max)) : ((z>=max)&&(z<=min)) )
-
- ***************
- *** 113,118 ****
- --- 117,127 ----
- int vms_vkid; /* Virtual keyboard id */
- #endif
-
- + #ifdef unix
- + extern FILE *popen();
- + static BOOLEAN pipe_open=FALSE;
- + #endif
- +
- extern int chdir();
-
- extern double magnitude(),angle(),real(),imag();
- ***************
- *** 622,627 ****
- --- 631,646 ----
-
- quote_str(data_file, c_token);
- this_plot->plot_type = DATA;
- + if( parametric)
- + int_error("Parametric data files not yet implemented",NO_CARET);
- + #ifdef unix
- + if ( *data_file == '<' ) {
- + if ((fp = popen(data_file+1,"r")) == (FILE *)NULL)
- + os_error("cannot create pipe; output not changed",c_token);
- + else
- + pipe_open = TRUE;
- + } else
- + #endif
- if ((fp = fopen(data_file, "r")) == (FILE *)NULL)
- os_error("can't open data file", c_token);
-
- ***************
- *** 784,789 ****
- --- 803,815 ----
- }
- this_plot->p_count = i;
- cp_extend(this_plot, i); /* shrink to fit */
- +
- + #ifdef unix
- + if ( pipe_open ) {
- + (void) pclose(fp);
- + pipe_open = FALSE;
- + } else
- + #endif
- (void) fclose(fp);
- }
-
- ***************
- *** 913,918 ****
- --- 939,952 ----
- quote_str(data_file, c_token);
- this_plot->plot_type = DATA3D;
- this_plot->has_grid_topology = TRUE;
- + #ifdef unix
- + if ( *data_file == '<' ) {
- + if ((fp = popen(data_file+1,"r")) == (FILE *)NULL)
- + os_error("cannot create pipe; output not changed",c_token);
- + else
- + pipe_open = TRUE;
- + } else
- + #endif
- if ((fp = fopen(data_file, "r")) == (FILE *)NULL)
- os_error("can't open data file", c_token);
-
- ***************
- *** 1233,1240 ****
- iso_free(this_iso);/* Free last allocation. */
- }
-
- (void) fclose(fp);
- !
- if (this_plot->has_grid_topology) {
- struct iso_curve *new_icrvs = NULL;
- int num_new_iso = this_plot->iso_crvs->p_count,
- --- 1267,1281 ----
- iso_free(this_iso);/* Free last allocation. */
- }
-
- + #ifdef unix
- + if ( pipe_open ) {
- + (void) pclose(fp);
- + pipe_open = FALSE;
- + } else
- + #endif
- (void) fclose(fp);
- ! if (this_plot->num_iso_read <= 1)
- ! this_plot->has_grid_topology = FALSE;
- if (this_plot->has_grid_topology) {
- struct iso_curve *new_icrvs = NULL;
- int num_new_iso = this_plot->iso_crvs->p_count,
- ***************
- *** 1331,1337 ****
- --- 1372,1425 ----
- }
- }
-
- + print_table()
- + {
- + register struct curve_points *this_plot;
- + int i, curve;
-
- + for (this_plot = first_plot, curve = 0; this_plot != NULL;
- + curve++, this_plot = this_plot->next_cp)
- + {
- + fprintf(outfile,"Curve %d, %d points\n", curve, this_plot->p_count);
- + for (i = 0; i < this_plot->p_count; i++) {
- + fprintf(outfile,"%c x=%g y=%g\n",
- + this_plot->points[i].type == INRANGE ? 'i'
- + : this_plot->points[i].type == OUTRANGE ? 'o'
- + : 'u',
- + this_plot->points[i].x,
- + this_plot->points[i].y);
- + }
- + fprintf(outfile,"\n");
- + }
- + fflush(outfile);
- + }
- +
- + print_3dtable()
- + {
- + register struct surface_points *this_3dplot;
- + int i, curve;
- + struct gnuplot_contours *contours; /* Not NULL If have contours. */
- + struct iso_curve *isocrv;
- +
- + for (this_3dplot = first_3dplot, curve = 0; this_3dplot != NULL;
- + curve++, this_3dplot = this_3dplot->next_sp)
- + {
- + isocrv = this_3dplot->iso_crvs;
- + fprintf(outfile,"Curve %d, %d points\n", curve, isocrv->p_count);
- + for (i = 0; i < isocrv->p_count; i++) {
- + fprintf(outfile,"%c x=%g y=%g z=%g\n",
- + isocrv->points[i].type == INRANGE ? 'i'
- + : isocrv->points[i].type == OUTRANGE ? 'o'
- + : 'u',
- + isocrv->points[i].x,
- + isocrv->points[i].y,
- + isocrv->points[i].z);
- + }
- + fprintf(outfile,"\n");
- + }
- + fflush(outfile);
- + }
- +
- /* This parses the plot command after any range specifications.
- * To support autoscaling on the x axis, we want any data files to
- * define the x range, then to plot any functions using that range.
- ***************
- *** 1704,1710 ****
- parametric_fixup (first_plot, &plot_num, &x_min, &x_max);
- }
-
- ! do_plot(first_plot,plot_num,x_min,x_max,y_min,y_max);
- cp_free(first_plot);
- first_plot = NULL;
- }
- --- 1792,1801 ----
- parametric_fixup (first_plot, &plot_num, &x_min, &x_max);
- }
-
- ! if (strcmp(term_tbl[term].name,"table") == 0)
- ! print_table();
- ! else
- ! do_plot(first_plot,plot_num,x_min,x_max,y_min,y_max);
- cp_free(first_plot);
- first_plot = NULL;
- }
- ***************
- *** 1869,1877 ****
- (this_plot->plot_style == ERRORBARS) )
- if (crnt_param == 0)
- point_num +=
- ! 1 + (draw_contour != 0);
- if (crnt_param == 0)
- ! line_num += 1 + (draw_contour != 0);
-
- tp_3d_ptr = &(this_plot->next_sp);
- }
- --- 1960,1970 ----
- (this_plot->plot_style == ERRORBARS) )
- if (crnt_param == 0)
- point_num +=
- ! 1 + (draw_contour != 0)
- ! + (hidden3d != 0);
- if (crnt_param == 0)
- ! line_num += 1 + (draw_contour != 0)
- ! + (hidden3d != 0);
-
- tp_3d_ptr = &(this_plot->next_sp);
- }
- ***************
- *** 2257,2263 ****
- }
- }
-
- ! do_3dplot(first_3dplot,plot_num,x_min,x_max,y_min,y_max,z_min,z_max);
- sp_free(first_3dplot);
- first_3dplot = NULL;
- }
- --- 2350,2359 ----
- }
- }
-
- ! if (strcmp(term_tbl[term].name,"table") == 0)
- ! print_3dtable();
- ! else
- ! do_3dplot(first_3dplot,plot_num,x_min,x_max,y_min,y_max,z_min,z_max);
- sp_free(first_3dplot);
- first_3dplot = NULL;
- }
- ***************
- *** 2594,2599 ****
- --- 2690,2725 ----
- while (new_list->next_sp != NULL)
- new_list = new_list->next_sp;
- new_list->next_sp = free_head;
- + if (lxmax - lxmin < zero) {
- + if (fabs(lxmax) < zero) {
- + lxmin = -1.0;
- + lxmax = 1.0;
- + }
- + else {
- + lxmin *= 0.9;
- + lxmax *= 1.1;
- + }
- + }
- + if (lymax - lymin < zero) {
- + if (fabs(lymax) < zero) {
- + lymin = -1.0;
- + lymax = 1.0;
- + }
- + else {
- + lymin *= 0.9;
- + lymax *= 1.1;
- + }
- + }
- + if (lzmax - lzmin < zero) {
- + if (fabs(lzmax) < zero) {
- + lzmin = -1.0;
- + lzmax = 1.0;
- + }
- + else {
- + lzmin *= 0.9;
- + lzmax *= 1.1;
- + }
- + }
-
- /* Report the overall graph mins and maxs. */
- if (autoscale_lx) {
- ***************
- *** 2739,2745 ****
- help_desc.dsc$w_length = strlen(help);
- if ((vaxc$errno = lbr$output_help(lib$put_output,0,&help_desc,
- &helpfile_desc,0,lib$get_input)) != SS$_NORMAL)
- ! os_error("can't open GNUPLOT$HELP");
- }
-
-
- --- 2865,2871 ----
- help_desc.dsc$w_length = strlen(help);
- if ((vaxc$errno = lbr$output_help(lib$put_output,0,&help_desc,
- &helpfile_desc,0,lib$get_input)) != SS$_NORMAL)
- ! os_error("can't open GNUPLOT$HELP",NO_CARET);
- }
-
-
- ***************
- *** 2882,2888 ****
- if(fexecv(parms[0],parms) < 0)
- #else
- if (system(input_line + 1))
- ! #endif
- os_error("system() failed",NO_CARET);
- }
-
- --- 3008,3014 ----
- if(fexecv(parms[0],parms) < 0)
- #else
- if (system(input_line + 1))
- ! #endif /* AMIGA_AC_5 */
- os_error("system() failed",NO_CARET);
- }
-
- ***************
- *** 3087,3093 ****
- if (more && interactive)
- fputs("> ", stderr);
- } while(more);
- ! #ifndef __ZTC
- }
- #endif
- }
- --- 3213,3219 ----
- if (more && interactive)
- fputs("> ", stderr);
- } while(more);
- ! #ifndef __ZTC__
- }
- #endif
- }
- diff -rc gnuplot/contour.c gnuplot3.2/contour.c
- *** gnuplot/contour.c Sun Jan 5 21:33:16 1992
- --- gnuplot3.2/contour.c Wed Mar 25 07:59:35 1992
- ***************
- *** 1,6 ****
- /* GNUPLOT - contour.c */
- /*
- ! * Copyright (C) 1986, 1987, 1990, 1991 Thomas Williams, Colin Kelley
- *
- * Permission to use, copy, and distribute this software and its
- * documentation for any purpose with or without fee is hereby granted,
- --- 1,10 ----
- + #ifndef lint
- + static char *RCSid = "$Id: contour.c,v 3.26 92/03/24 22:35:54 woo Exp Locker: woo $";
- + #endif
- +
- /* GNUPLOT - contour.c */
- /*
- ! * Copyright (C) 1986, 1987, 1990, 1991, 1992 Thomas Williams, Colin Kelley
- *
- * Permission to use, copy, and distribute this software and its
- * documentation for any purpose with or without fee is hereby granted,
- ***************
- *** 21,31 ****
- * Gershon Elber
- *
- * Send your comments or suggestions to
- ! * pixar!info-gnuplot@sun.com.
- * This is a mailing list; to join it send a note to
- ! * pixar!info-gnuplot-request@sun.com.
- * Send bug reports to
- ! * pixar!bug-gnuplot@sun.com.
- */
-
- #include <stdio.h>
- --- 25,35 ----
- * Gershon Elber
- *
- * Send your comments or suggestions to
- ! * info-gnuplot@ames.arc.nasa.gov.
- * This is a mailing list; to join it send a note to
- ! * info-gnuplot-request@ames.arc.nasa.gov.
- * Send bug reports to
- ! * bug-gnuplot@ames.arc.nasa.gov.
- */
-
- #include <stdio.h>
- diff -rc gnuplot/corplot.c gnuplot3.2/corplot.c
- *** gnuplot/corplot.c Thu Jul 18 11:56:08 1991
- --- gnuplot3.2/corplot.c Wed Mar 25 07:59:36 1992
- ***************
- *** 1,6 ****
- /* GNUPLOT - corplot.c */
- /*
- ! * Copyright (C) 1986, 1987, 1990, 1991 Thomas Williams, Colin Kelley
- *
- * Permission to use, copy, and distribute this software and its
- * documentation for any purpose with or without fee is hereby granted,
- --- 1,10 ----
- + #ifndef lint
- + static char *RCSid = "$Id: corplot.c,v 3.26 92/03/24 22:36:10 woo Exp Locker: woo $";
- + #endif
- +
- /* GNUPLOT - corplot.c */
- /*
- ! * Copyright (C) 1986, 1987, 1990, 1991, 1992 Thomas Williams, Colin Kelley
- *
- * Permission to use, copy, and distribute this software and its
- * documentation for any purpose with or without fee is hereby granted,
- ***************
- *** 27,37 ****
- * Gershon Elber and many others.
- *
- * Send your comments or suggestions to
- ! * pixar!info-gnuplot@sun.com.
- * This is a mailing list; to join it send a note to
- ! * pixar!info-gnuplot-request@sun.com.
- * Send bug reports to
- ! * pixar!bug-gnuplot@sun.com.
- */
- #include <stdio.h>
- #include <process.h>
- --- 31,41 ----
- * Gershon Elber and many others.
- *
- * Send your comments or suggestions to
- ! * info-gnuplot@ames.arc.nasa.gov.
- * This is a mailing list; to join it send a note to
- ! * info-gnuplot-request@ames.arc.nasa.gov.
- * Send bug reports to
- ! * bug-gnuplot@ames.arc.nasa.gov.
- */
- #include <stdio.h>
- #include <process.h>
- Common subdirectories: gnuplot/demo and gnuplot3.2/demo
- Common subdirectories: gnuplot/docs and gnuplot3.2/docs
- diff -rc gnuplot/eval.c gnuplot3.2/eval.c
- *** gnuplot/eval.c Thu Jul 18 11:56:29 1991
- --- gnuplot3.2/eval.c Wed Mar 25 07:59:36 1992
- ***************
- *** 1,6 ****
- /* GNUPLOT - eval.c */
- /*
- ! * Copyright (C) 1986, 1987, 1990, 1991 Thomas Williams, Colin Kelley
- *
- * Permission to use, copy, and distribute this software and its
- * documentation for any purpose with or without fee is hereby granted,
- --- 1,10 ----
- + #ifndef lint
- + static char *RCSid = "$Id: eval.c,v 3.26 92/03/24 22:34:32 woo Exp Locker: woo $";
- + #endif
- +
- /* GNUPLOT - eval.c */
- /*
- ! * Copyright (C) 1986, 1987, 1990, 1991, 1992 Thomas Williams, Colin Kelley
- *
- * Permission to use, copy, and distribute this software and its
- * documentation for any purpose with or without fee is hereby granted,
- ***************
- *** 27,37 ****
- * Gershon Elber and many others.
- *
- * Send your comments or suggestions to
- ! * pixar!info-gnuplot@sun.com.
- * This is a mailing list; to join it send a note to
- ! * pixar!info-gnuplot-request@sun.com.
- * Send bug reports to
- ! * pixar!bug-gnuplot@sun.com.
- */
-
- #include <stdio.h>
- --- 31,41 ----
- * Gershon Elber and many others.
- *
- * Send your comments or suggestions to
- ! * info-gnuplot@ames.arc.nasa.gov.
- * This is a mailing list; to join it send a note to
- ! * info-gnuplot-request@ames.arc.nasa.gov.
- * Send bug reports to
- ! * bug-gnuplot@ames.arc.nasa.gov.
- */
-
- #include <stdio.h>
- diff -rc gnuplot/gnuplot.el gnuplot3.2/gnuplot.el
- *** gnuplot/gnuplot.el Sun Jan 5 21:33:16 1992
- --- gnuplot3.2/gnuplot.el Wed Mar 25 07:59:37 1992
- ***************
- *** 5,11 ****
- ; Computer Science Dept.
- ; University of Utah
- ; Date: Tue May 14 1991
- ! ; Copyright (c) 1991, Gershon Elber
- ;
- ; This file defines an environment to run edit and execute GNU-PLOT programs.
- ; Such a program should have a '.gp' extension in order it to be in
- --- 5,11 ----
- ; Computer Science Dept.
- ; University of Utah
- ; Date: Tue May 14 1991
- ! ; Copyright (c) 1991, 1992, Gershon Elber
- ;
- ; This file defines an environment to run edit and execute GNU-PLOT programs.
- ; Such a program should have a '.gp' extension in order it to be in
-