home *** CD-ROM | disk | FTP | other *** search
Text File | 1992-06-19 | 35.8 KB | 1,188 lines |
- diff -rc gnuplot/makefile.vms gnuplot3.2/makefile.vms
- *** gnuplot/makefile.vms Tue Sep 17 08:20:52 1991
- --- gnuplot3.2/makefile.vms Wed Mar 25 07:59:51 1992
- ***************
- *** 1,4 ****
- --- 1,8 ----
- #
- + # $Id: makefile.vms,v 3.26 92/03/24 22:36:49 woo Exp Locker: woo $
- + #
- + #
- + #
- # GNUPLOT Makefile
- # for VMS
- #
- ***************
- *** 26,32 ****
- [.term]eepic.trm [.term]epson.trm [.term]fig.trm [.term]hp26.trm \
- [.term]hp2648.trm [.term]hpgl.trm [.term]hpljii.trm
- CSOURCE6 = [.term]impcodes.h [.term]imagen.trm [.term]object.h \
- ! [.term]iris4d.trm [.term]kyo.trm [.term]latex.trm [.term]pc.trm
- CSOURCE7 = [.term]post.trm [.term]qms.trm [.term]regis.trm [.term]sun.trm \
- [.term]t410x.trm [.term]tek.trm [.term]unixpc.trm [.term]unixplot.trm \
- [.term]v384.trm [.term]x11.trm gnuplot_x11.c
- --- 30,37 ----
- [.term]eepic.trm [.term]epson.trm [.term]fig.trm [.term]hp26.trm \
- [.term]hp2648.trm [.term]hpgl.trm [.term]hpljii.trm
- CSOURCE6 = [.term]impcodes.h [.term]imagen.trm [.term]object.h \
- ! [.term]iris4d.trm [.term]kyo.trm [.term]latex.trm [.term]pbm.trm \
- ! [.term]pc.trm
- CSOURCE7 = [.term]post.trm [.term]qms.trm [.term]regis.trm [.term]sun.trm \
- [.term]t410x.trm [.term]tek.trm [.term]unixpc.trm [.term]unixplot.trm \
- [.term]v384.trm [.term]x11.trm gnuplot_x11.c
- diff -rc gnuplot/misc.c gnuplot3.2/misc.c
- *** gnuplot/misc.c Thu Aug 22 10:20:15 1991
- --- gnuplot3.2/misc.c Wed Mar 25 07:59:52 1992
- ***************
- *** 1,6 ****
- /* GNUPLOT - misc.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: misc.c,v 3.26 92/03/24 22:34:30 woo Exp Locker: woo $";
- + #endif
- +
- /* GNUPLOT - misc.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>
- ***************
- *** 514,519 ****
- --- 518,524 ----
- case CONTOUR_SRF: fprintf(fp, " surface\n"); break;
- case CONTOUR_BOTH: fprintf(fp, " both\n"); break;
- }
- + fprintf(fp,"set %shidden3d\n",(hidden3d) ? "" : "no");
- fprintf(fp,"set cntrparam order %d\n", contour_order);
- fprintf(fp,"set cntrparam ");
- switch (contour_kind) {
- diff -rc gnuplot/parse.c gnuplot3.2/parse.c
- *** gnuplot/parse.c Sun Jan 5 21:33:20 1992
- --- gnuplot3.2/parse.c Wed Mar 25 07:59:53 1992
- ***************
- *** 1,6 ****
- /* GNUPLOT - parse.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: parse.c,v 3.26 92/03/24 22:34:33 woo Exp Locker: woo $";
- + #endif
- +
- /* GNUPLOT - parse.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>
- ***************
- *** 66,72 ****
- #ifdef __TURBOC__
- void fpe()
- #else
- ! #if defined( __ZTC__ ) || defined( _CRAY )
- void fpe(an_int)
- int an_int;
- #else
- --- 70,76 ----
- #ifdef __TURBOC__
- void fpe()
- #else
- ! #if defined( __ZTC__ ) || defined( _CRAY ) || defined( sgi )
- void fpe(an_int)
- int an_int;
- #else
- ***************
- *** 73,80 ****
- --- 77,90 ----
- #ifdef NEXT
- void fpe(int an_int)
- #else
- + #ifdef sgi
- + void fpe(int sig, int code, struct sigcontext *sc)
- + /*void fpe(an_int)
- + int an_int;*/
- + #else
- fpe()
- #endif
- + #endif
- #endif /* __ZTC__ || _CRAY */
- #endif
- {
- ***************
- *** 385,391 ****
- #if defined(AMIGA_LC_5_1) || defined(AMIGA_AC_5)
- (void) add_action(ABOOL);
- #else
- ! (void) add_action(BOOL);
- #endif
- }
- }
- --- 395,401 ----
- #if defined(AMIGA_LC_5_1) || defined(AMIGA_AC_5)
- (void) add_action(ABOOL);
- #else
- ! (void) add_action(BOOLE);
- #endif
- }
- }
- ***************
- *** 405,411 ****
- #if defined(AMIGA_LC_5_1) || defined(AMIGA_AC_5)
- (void) add_action(ABOOL);
- #else
- ! (void) add_action(BOOL);
- #endif
- }
- }
- --- 415,421 ----
- #if defined(AMIGA_LC_5_1) || defined(AMIGA_AC_5)
- (void) add_action(ABOOL);
- #else
- ! (void) add_action(BOOLE);
- #endif
- }
- }
- diff -rc gnuplot/plot.c gnuplot3.2/plot.c
- *** gnuplot/plot.c Sun Jan 5 21:33:21 1992
- --- gnuplot3.2/plot.c Wed Mar 25 07:59:54 1992
- ***************
- *** 1,6 ****
- /* GNUPLOT - plot.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: plot.c,v 3.26 92/03/24 22:34:34 woo Exp Locker: woo $";
- + #endif
- +
- /* GNUPLOT - plot.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>
- ***************
- *** 65,70 ****
- --- 69,75 ----
- extern int term;
-
- BOOLEAN interactive = TRUE; /* FALSE if stdin not a terminal */
- + BOOLEAN noinputfiles = TRUE; /* FALSE if there are script files */
- char *infile_name = NULL; /* name of command file; NULL if terminal */
-
- #ifndef STDOUT
- ***************
- *** 164,170 ****
- #ifdef __TURBOC__
- void tc_interrupt()
- #else
- ! #ifdef _CRAY
- void inter(an_int)
- int an_int;
- #else
- --- 169,175 ----
- #ifdef __TURBOC__
- void tc_interrupt()
- #else
- ! #if defined( _CRAY ) || defined( sgi )
- void inter(an_int)
- int an_int;
- #else
- ***************
- *** 171,180 ****
- --- 176,189 ----
- #ifdef NEXT
- void inter(int an_int)
- #else
- + #ifdef sgi
- + void inter(int sig, int code, struct sigcontext *sc)
- + #else
- inter()
- #endif
- #endif
- #endif
- + #endif
- {
- #ifdef MSDOS
- #ifdef __TURBOC__
- ***************
- *** 217,222 ****
- --- 226,234 ----
- #endif
-
- setbuf(stderr,(char *)NULL);
- + #ifdef UNIX
- + setlinebuf(stdout);
- + #endif
- outfile = stdout;
- (void) complex(&udv_pi.udv_value, Pi, 0.0);
-
- ***************
- *** 230,236 ****
- interactive = isatty(fileno(stdin));
- #endif
- if (argc > 1)
- ! interactive = FALSE;
-
- if (interactive)
- show_version();
- --- 242,250 ----
- interactive = isatty(fileno(stdin));
- #endif
- if (argc > 1)
- ! interactive = noinputfiles = FALSE;
- ! else
- ! noinputfiles = TRUE;
-
- if (interactive)
- show_version();
- ***************
- *** 265,271 ****
- outfile = stdout;
- }
- #endif /* VMS */
- ! if (!interactive)
- done(IO_ERROR); /* exit on non-interactive error */
- }
-
- --- 279,285 ----
- outfile = stdout;
- }
- #endif /* VMS */
- ! if (!interactive && !noinputfiles)
- done(IO_ERROR); /* exit on non-interactive error */
- }
-
- diff -rc gnuplot/plot.h gnuplot3.2/plot.h
- *** gnuplot/plot.h Sun Jan 5 21:33:22 1992
- --- gnuplot3.2/plot.h Wed Mar 25 07:59:55 1992
- ***************
- *** 1,6 ****
- /* GNUPLOT - plot.h */
- /*
- ! * 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 ----
- + /*
- + * $Id: plot.h,v 3.26 92/03/24 22:34:13 woo Exp Locker: woo $
- + *
- + */
- +
- /* GNUPLOT - plot.h */
- /*
- ! * 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.
- */
-
- #define PROGRAM "G N U P L O T"
- --- 32,42 ----
- * 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.
- */
-
- #define PROGRAM "G N U P L O T"
- ***************
- *** 234,240 ****
- enum operators {
- PUSH, PUSHC, PUSHD1, PUSHD2, CALL, CALL2, LNOT, BNOT, UMINUS, LOR, LAND,
- BOR, XOR, BAND, EQ, NE, GT, LT, GE, LE, PLUS, MINUS, MULT, DIV,
- ! MOD, POWER, FACTORIAL, BOOL, JUMP, JUMPZ, JUMPNZ, JTERN, SF_START
- };
- #endif
-
- --- 239,245 ----
- enum operators {
- PUSH, PUSHC, PUSHD1, PUSHD2, CALL, CALL2, LNOT, BNOT, UMINUS, LOR, LAND,
- BOR, XOR, BAND, EQ, NE, GT, LT, GE, LE, PLUS, MINUS, MULT, DIV,
- ! MOD, POWER, FACTORIAL, BOOLE, JUMP, JUMPZ, JUMPNZ, JTERN, SF_START
- };
- #endif
-
- diff -rc gnuplot/readline.c gnuplot3.2/readline.c
- *** gnuplot/readline.c Sun Jan 5 21:33:22 1992
- --- gnuplot3.2/readline.c Wed Mar 25 07:59:56 1992
- ***************
- *** 1,6 ****
- /* GNUPLOT - readline.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: readline.c,v 3.26 92/03/24 22:34:35 woo Exp Locker: woo $";
- + #endif
- +
- /* GNUPLOT - readline.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,
- ***************
- *** 24,34 ****
- * 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.
- */
-
- #ifdef READLINE
- --- 28,38 ----
- * 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.
- */
-
- #ifdef READLINE
- diff -rc gnuplot/scanner.c gnuplot3.2/scanner.c
- *** gnuplot/scanner.c Sun Jan 5 21:33:23 1992
- --- gnuplot3.2/scanner.c Wed Mar 25 07:59:57 1992
- ***************
- *** 1,6 ****
- /* GNUPLOT - scanner.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: scanner.c,v 3.26 92/03/24 22:34:36 woo Exp Locker: woo $";
- + #endif
- +
- /* GNUPLOT - scanner.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/setshow.c gnuplot3.2/setshow.c
- *** gnuplot/setshow.c Tue Sep 3 16:22:55 1991
- --- gnuplot3.2/setshow.c Wed Mar 25 07:59:59 1992
- ***************
- *** 1,6 ****
- /* GNUPLOT - setshow.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: setshow.c,v 3.26 92/03/24 22:34:20 woo Exp Locker: woo $";
- + #endif
- +
- /* GNUPLOT - setshow.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,86 ****
- --- 85,91 ----
- char outstr[MAX_ID_LEN+1] = "STDOUT";
- BOOLEAN parametric = FALSE;
- BOOLEAN polar = FALSE;
- + BOOLEAN hidden3d = FALSE;
- int angles_format = ANGLES_RADIANS;
- int mapping3d = MAP3D_CARTESIAN;
- int samples = SAMPLES;
- ***************
- *** 190,196 ****
- static void show_polar(), show_parametric(), show_tics(), show_ticdef();
- static void show_time(), show_term(), show_plot(), show_autoscale(), show_clip();
- static void show_contour(), show_mapping(), show_format(), show_logscale();
- ! static void show_variables(), show_surface();
- static void delete_label();
- static int assign_label_tag();
- static void delete_arrow();
- --- 195,201 ----
- static void show_polar(), show_parametric(), show_tics(), show_ticdef();
- static void show_time(), show_term(), show_plot(), show_autoscale(), show_clip();
- static void show_contour(), show_mapping(), show_format(), show_logscale();
- ! static void show_variables(), show_surface(), show_hidden3d();
- static void delete_label();
- static int assign_label_tag();
- static void delete_arrow();
- ***************
- *** 208,221 ****
- int_error(
- "valid set options: 'angles' '{no}arrow', {no}autoscale', \n\
- '{no}border', '{no}clip', 'cntrparam', '{no}contour', 'data style', \n\
- ! 'dummy', 'format', 'function style', '{no}grid', 'isosamples', \n\
- ! '{no}key', '{no}label', '{no}logscale', 'mapping', 'offsets', \n\
- ! 'output', '{no}parametric', '{no}polar', 'rrange', 'samples', \n\
- ! 'size', '{no}surface', 'terminal', 'tics', 'ticslevel', '{no}time', \n\
- ! 'title', 'trange', 'urange', 'view', 'vrange', 'xlabel', 'xrange', \n\
- ! '{no}xtics', '{no}xzeroaxis', 'ylabel', 'yrange', '{no}ytics', \n\
- ! '{no}yzeroaxis', 'zero', '{no}zeroaxis', 'zlabel', 'zrange', \n\
- ! '{no}ztics'", c_token);
- }
-
- /* return TRUE if a command match, FALSE if not */
- --- 213,226 ----
- int_error(
- "valid set options: 'angles' '{no}arrow', {no}autoscale', \n\
- '{no}border', '{no}clip', 'cntrparam', '{no}contour', 'data style', \n\
- ! 'dummy', 'format', 'function style', '{no}grid', '{no}hidden3d', \n\
- ! 'isosamples', '{no}key', '{no}label', '{no}logscale', 'mapping', \n\
- ! 'offsets', 'output', '{no}parametric', '{no}polar', 'rrange', \n\
- ! 'samples', 'size', '{no}surface', 'terminal', 'tics', 'ticslevel', \n\
- ! '{no}time', 'title', 'trange', 'urange', 'view', 'vrange', 'xlabel', \n\
- ! 'xrange', '{no}xtics', '{no}xzeroaxis', 'ylabel', 'yrange', \n\
- ! '{no}ytics', '{no}yzeroaxis', 'zero', '{no}zeroaxis', 'zlabel', \n\
- ! 'zrange', '{no}ztics'", c_token);
- }
-
- /* return TRUE if a command match, FALSE if not */
- ***************
- *** 318,323 ****
- --- 323,336 ----
- int_error("expecting 'points', 'one', or 'two'", c_token);
- c_token++;
- }
- + else if (almost_equals(c_token,"hi$dden3d")) {
- + hidden3d = TRUE;
- + c_token++;
- + }
- + else if (almost_equals(c_token,"nohi$dden3d")) {
- + hidden3d = FALSE;
- + c_token++;
- + }
- else if (almost_equals(c_token,"ma$pping3d")) {
- c_token++;
- if (END_OF_COMMAND)
- ***************
- *** 1757,1769 ****
- int_error(
- "valid show options: 'action_table', 'all', 'angles', 'arrow', \n\
- 'autoscale', 'border', 'clip', 'contour', 'data', 'dummy', 'format', \n\
- ! 'function', 'grid', 'key', 'label', 'logscale', 'mapping', 'offsets', \n\
- ! 'output', 'plot', 'parametric', 'polar', 'rrange', 'samples', \n\
- ! 'isosamples', 'view', 'size', 'terminal', 'tics', 'ticslevel', \n\
- ! 'time', 'title', 'trange', 'urange', 'vrange', 'variables', \n\
- ! 'version', 'xlabel', 'xrange', 'xtics', 'xzeroaxis', 'ylabel', \n\
- ! 'yrange', 'ytics', 'yzeroaxis', 'zlabel', 'zrange', 'ztics', 'zero', \n\
- ! 'zeroaxis'", c_token);
- screen_ok = FALSE;
- (void) putc('\n',stderr);
- }
- --- 1770,1782 ----
- int_error(
- "valid show options: 'action_table', 'all', 'angles', 'arrow', \n\
- 'autoscale', 'border', 'clip', 'contour', 'data', 'dummy', 'format', \n\
- ! 'function', 'grid', 'hidden', 'key', 'label', 'logscale', 'mapping', \n\
- ! 'offsets', 'output', 'plot', 'parametric', 'polar', 'rrange', \n\
- ! 'samples', 'isosamples', 'view', 'size', 'terminal', 'tics', \n\
- ! 'ticslevel', 'time', 'title', 'trange', 'urange', 'vrange', \n\
- ! 'variables', 'version', 'xlabel', 'xrange', 'xtics', 'xzeroaxis', \n\
- ! 'ylabel', 'yrange', 'ytics', 'yzeroaxis', 'zlabel', 'zrange', \n\
- ! 'ztics', 'zero', 'zeroaxis'", c_token);
- screen_ok = FALSE;
- (void) putc('\n',stderr);
- }
- ***************
- *** 1963,1968 ****
- --- 1976,1986 ----
- show_surface();
- c_token++;
- }
- + else if (almost_equals(c_token,"hi$dden3d")) {
- + (void) putc('\n',stderr);
- + show_hidden3d();
- + c_token++;
- + }
- else if (almost_equals(c_token,"xti$cs")) {
- show_tics(TRUE,FALSE,FALSE);
- c_token++;
- ***************
- *** 2075,2080 ****
- --- 2093,2099 ----
- show_isosamples();
- show_view();
- show_surface();
- + show_hidden3d();
- show_size();
- show_term();
- show_tics(TRUE,TRUE,TRUE);
- ***************
- *** 2175,2180 ****
- --- 2194,2205 ----
- }
-
- static void
- + show_hidden3d()
- + {
- + fprintf(stderr,"\thidden surface is %s\n", hidden3d ? "removed" : "drawn");
- + }
- +
- + static void
- show_view()
- {
- fprintf(stderr,"\tview is %g rot_x, %g rot_z, %g scale, %g scale_z\n",
- ***************
- *** 2587,2601 ****
- PROGRAM, OS, version);
- fprintf(stderr,"\tpatchlevel %s\n",patchlevel);
- fprintf(stderr, "\tlast modified %s\n", date);
- ! fprintf(stderr,"\tCopyright (C) 1986, 1987, 1990, 1991 %s, %s\n",
- authors[x],authors[1-x]);
- fprintf(stderr, "\n\tSend bugs and comments to %s\n", bug_email);
- }
- -
- -
- -
- -
- -
- -
- -
- -
- --- 2612,2618 ----
- PROGRAM, OS, version);
- fprintf(stderr,"\tpatchlevel %s\n",patchlevel);
- fprintf(stderr, "\tlast modified %s\n", date);
- ! fprintf(stderr,"\nCopyright(C) 1986, 1987, 1990, 1991, 1992 %s, %s\n",
- authors[x],authors[1-x]);
- fprintf(stderr, "\n\tSend bugs and comments to %s\n", bug_email);
- }
- diff -rc gnuplot/setshow.h gnuplot3.2/setshow.h
- *** gnuplot/setshow.h Thu Jul 18 12:01:58 1991
- --- gnuplot3.2/setshow.h Wed Mar 25 07:59:59 1992
- ***************
- *** 1,6 ****
- /* GNUPLOT - setshow.h */
- /*
- ! * 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 ----
- + /*
- + * $Id: setshow.h,v 3.26 92/03/24 22:34:15 woo Exp Locker: woo $
- + *
- + */
- +
- /* GNUPLOT - setshow.h */
- /*
- ! * 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.
- */
-
- /*
- --- 32,42 ----
- * 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.
- */
-
- /*
- ***************
- *** 70,75 ****
- --- 75,81 ----
- extern char outstr[];
- extern BOOLEAN parametric;
- extern BOOLEAN polar;
- + extern BOOLEAN hidden3d;
- extern int angles_format;
- extern int mapping3d;
- extern int samples;
- diff -rc gnuplot/standard.c gnuplot3.2/standard.c
- *** gnuplot/standard.c Sun Jan 5 21:33:24 1992
- --- gnuplot3.2/standard.c Wed Mar 25 08:00:00 1992
- ***************
- *** 1,6 ****
- /* GNUPLOT - standard.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: standard.c,v 3.26 92/03/24 22:34:37 woo Exp Locker: woo $";
- + #endif
- +
- /* GNUPLOT - standard.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 <math.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 <math.h>
- Common subdirectories: gnuplot/term and gnuplot3.2/term
- diff -rc gnuplot/term.c gnuplot3.2/term.c
- *** gnuplot/term.c Sun Jan 5 21:33:25 1992
- --- gnuplot3.2/term.c Wed Mar 25 08:00:02 1992
- ***************
- *** 1,6 ****
- /* GNUPLOT - term.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: term.c,v 3.26 92/03/24 22:34:41 woo Exp Locker: woo $";
- + #endif
- +
- /* GNUPLOT - term.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>
- ***************
- *** 39,44 ****
- --- 43,52 ----
- #include "setshow.h"
- #include "term.h"
- #include "bitmap.h"
- + #ifdef NEXT
- + #include <stdlib.h>
- + #include "EpsViewer.h"
- + #endif /* NEXT */
-
- /* for use by all drivers */
- #define sign(x) ((x) >= 0 ? 1 : -1)
- ***************
- *** 338,343 ****
- --- 346,355 ----
- #include "term/latex.trm"
- #endif
-
- + #ifdef PBM /* PBMPLUS portable bitmap */
- + #include "term/pbm.trm"
- + #endif
- +
- #ifdef POSTSCRIPT /* POSTSCRIPT type */
- #include "term/post.trm"
- #endif
- ***************
- *** 392,397 ****
- --- 404,413 ----
- #include "term/iris4d.trm"
- #endif /* IRIS4D */
-
- + #ifdef NEXT
- + #include "term/next.trm"
- + #endif /* NEXT */
- +
- #ifdef QMS
- #include "term/qms.trm"
- #endif /* QMS */
- ***************
- *** 426,432 ****
-
- #ifdef AMIGASCREEN
- #include "term/amiga.trm"
- ! #endif
-
-
- /* Dummy functions for unavailable features */
- --- 442,448 ----
-
- #ifdef AMIGASCREEN
- #include "term/amiga.trm"
- ! #endif /* AMIGASCREEN */
-
-
- /* Dummy functions for unavailable features */
- ***************
- *** 483,488 ****
- --- 499,511 ----
- UNKNOWN_null, UNKNOWN_null, null_text_angle,
- null_justify_text, UNKNOWN_null, UNKNOWN_null}
-
- + ,{"table", "Dump ASCII table of X Y [Z] values to output",
- + 100, 100, 1, 1,
- + 1, 1, options_null, UNKNOWN_null, UNKNOWN_null,
- + UNKNOWN_null, null_scale, UNKNOWN_null, UNKNOWN_null, UNKNOWN_null,
- + UNKNOWN_null, UNKNOWN_null, null_text_angle,
- + null_justify_text, UNKNOWN_null, UNKNOWN_null}
- +
- #ifdef AMIGASCREEN
- ,{"amiga", "Amiga Custom Screen",
- AMIGA_XMAX, AMIGA_YMAX, AMIGA_VCHAR, AMIGA_HCHAR,
- ***************
- *** 813,828 ****
-
- #ifdef HPLJIII
- ,{"pcl5_port", "HP laserjet iii (using HPGL plot vectors), portrait mode",
- ! HPGL_XMAX, HPGL_YMAX, HPGL_VCHAR, HPGL_HCHAR,
- ! HPGL_VTIC, HPGL_HTIC, options_null, HPLJIII_PORT_init, HPLJIII_reset,
- ! HPGL_text, null_scale, HPGL_graphics, HPGL_move, HPGL_vector,
- ! HPGL_linetype, HPGL_put_text, HPGL_text_angle,
- null_justify_text, do_point, do_arrow}
- ,{"pcl5_land", "HP laserjet iii (using HPGL plot vectors), landscape mode",
- ! HPGL_XMAX, HPGL_YMAX, HPGL_VCHAR, HPGL_HCHAR,
- ! HPGL_VTIC, HPGL_HTIC, options_null, HPLJIII_LAND_init, HPLJIII_reset,
- ! HPGL_text, null_scale, HPGL_graphics, HPGL_move, HPGL_vector,
- ! HPGL_linetype, HPGL_put_text, HPGL_text_angle,
- null_justify_text, do_point, do_arrow}
- #endif
-
- --- 836,851 ----
-
- #ifdef HPLJIII
- ,{"pcl5_port", "HP laserjet iii (using HPGL plot vectors), portrait mode",
- ! PCL_YMAX, PCL_XMAX, PCL_VCHAR, PCL_HCHAR,
- ! PCL_VTIC, PCL_HTIC, options_null, PCL_PORT_init, PCL_reset,
- ! PCL_text, null_scale, PCL_graphics, HPGL_move, HPGL_vector,
- ! HPGL_linetype, PCL_put_text, HPGL_text_angle,
- null_justify_text, do_point, do_arrow}
- ,{"pcl5_land", "HP laserjet iii (using HPGL plot vectors), landscape mode",
- ! PCL_XMAX, PCL_YMAX, PCL_VCHAR, PCL_HCHAR,
- ! PCL_VTIC, PCL_HTIC, options_null, PCL_LAND_init, PCL_reset,
- ! PCL_text, null_scale, PCL_graphics, HPGL_move, HPGL_vector,
- ! HPGL_linetype, PCL_put_text, HPGL_text_angle,
- null_justify_text, do_point, do_arrow}
- #endif
-
- ***************
- *** 898,903 ****
- --- 921,959 ----
- null_justify_text, line_and_point, do_arrow}
- #endif
-
- + #ifdef NEXT
- + ,{"next", "NeXTstep window system",
- + NEXT_XMAX, NEXT_YMAX, NEXT_VCHAR, NEXT_HCHAR,
- + NEXT_VTIC, NEXT_HTIC, NEXT_options, NEXT_init, NEXT_reset,
- + NEXT_text, do_scale, NEXT_graphics, NEXT_move, NEXT_vector,
- + NEXT_linetype, NEXT_put_text, NEXT_text_angle,
- + NEXT_justify_text, NEXT_point, do_arrow}
- + #endif /* The postscript driver with NXImage displaying the postscript on screen */
- +
- + #ifdef PBM
- + ,{"pbm", "Portable bitmap",
- + PBM_XMAX, PBM_YMAX, PBM_VCHAR,
- + PBM_HCHAR, PBM_VTIC, PBM_HTIC, PBMoptions,
- + PBMinit, PBMreset, PBMtext, null_scale,
- + PBMgraphics, PBMmove, PBMvector, PBMlinetype,
- + PBMput_text, PBMtext_angle, null_justify_text, line_and_point,
- + do_arrow}
- + ,{"pgm", "Portable graymap",
- + PBM_XMAX, PBM_YMAX, PBM_VCHAR,
- + PBM_HCHAR, PBM_VTIC, PBM_HTIC, PBMoptions,
- + PBMinit, PBMreset, PGMtext, null_scale,
- + PGMgraphics, PBMmove, PBMvector, PGMlinetype,
- + PBMput_text, PBMtext_angle, null_justify_text, do_point,
- + do_arrow}
- + ,{"ppm", "Portable pixmap (color)",
- + PBM_XMAX, PBM_YMAX, PBM_VCHAR,
- + PBM_HCHAR, PBM_VTIC, PBM_HTIC, PBMoptions,
- + PBMinit, PBMreset, PPMtext, null_scale,
- + PPMgraphics, PBMmove, PBMvector, PPMlinetype,
- + PBMput_text, PBMtext_angle, null_justify_text, do_point,
- + do_arrow}
- + #endif
- +
- #ifdef POSTSCRIPT
- ,{"postscript", "PostScript graphics language [mode \042fontname\042 font_size]",
- PS_XMAX, PS_YMAX, PS_VCHAR, PS_HCHAR,
- ***************
- *** 1157,1164 ****
-
- /* GNUTERM environment variable is primary */
- gnuterm = getenv("GNUTERM");
- ! if (gnuterm != (char *)NULL)
- term_name = gnuterm;
- else {
- #ifdef __TURBOC__
- term_name = turboc_init();
- --- 1213,1224 ----
-
- /* GNUTERM environment variable is primary */
- gnuterm = getenv("GNUTERM");
- ! if (gnuterm != (char *)NULL) {
- term_name = gnuterm;
- + #ifdef __TURBOC__
- + get_path(); /* So *_init() can find the BGI driver */
- + #endif
- + }
- else {
- #ifdef __TURBOC__
- term_name = turboc_init();
- ***************
- *** 1168,1173 ****
- --- 1228,1240 ----
- #ifdef vms
- term_name = vms_init();
- #endif
- +
- + #ifdef NEXT
- + term = getenv("TERM");
- + if (term_name == (char *)NULL
- + && term != (char *)NULL && strcmp(term,"next") == 0)
- + term_name = "next";
- + #endif /* NeXT */
-
- #ifdef SUN
- term = getenv("TERM"); /* try $TERM */
- diff -rc gnuplot/term.h gnuplot3.2/term.h
- *** gnuplot/term.h Sun Jan 5 21:33:26 1992
- --- gnuplot3.2/term.h Wed Mar 25 08:00:03 1992
- ***************
- *** 1,6 ****
- /* GNUPLOT - term.h */
- /*
- ! * 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 ----
- + /*
- + * $Id: term.h,v 3.26 92/03/24 22:34:17 woo Exp Locker: woo $
- + *
- + */
- +
- /* GNUPLOT - term.h */
- /*
- ! * 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.
- */
-
- /*
- --- 32,42 ----
- * 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.
- */
-
- /*
- ***************
- *** 55,68 ****
- #define AMIGASCREEN /* Amiga custom screen */
- #endif
- #define AED /* AED 512 and AED 767 */
- #define BITGRAPH /* BBN BitGraph */
- /* #define CGI /* SCO CGI */
- /* #define IRIS4D /* IRIS4D series computer */
- #define KERMIT /* MS-Kermit Tektronix 4010 emulator */
- #define FIG /* Fig graphics language */
- #define REGIS /* ReGis graphics (vt125, vt220, vt240, Gigis...) */
- #define SELANAR /* Selanar */
- - /* #define SUN /* Sun Microsystems Workstation */
- #define T410X /* Tektronix 4106, 4107, 4109 and 420x terminals */
- #define TEK /* Tektronix 4010, and probably others */
- /* #define UNIXPC /* unixpc (ATT 3b1 or ATT 7300) */
- --- 60,75 ----
- #define AMIGASCREEN /* Amiga custom screen */
- #endif
- #define AED /* AED 512 and AED 767 */
- + #define AIFM /* Adobe Illustrator Format */
- #define BITGRAPH /* BBN BitGraph */
- /* #define CGI /* SCO CGI */
- /* #define IRIS4D /* IRIS4D series computer */
- #define KERMIT /* MS-Kermit Tektronix 4010 emulator */
- #define FIG /* Fig graphics language */
- + /* #define NEXT /* NeXT workstation console */
- + /* #define SUN /* Sun Microsystems Workstation */
- #define REGIS /* ReGis graphics (vt125, vt220, vt240, Gigis...) */
- #define SELANAR /* Selanar */
- #define T410X /* Tektronix 4106, 4107, 4109 and 420x terminals */
- #define TEK /* Tektronix 4010, and probably others */
- /* #define UNIXPC /* unixpc (ATT 3b1 or ATT 7300) */
- ***************
- *** 72,77 ****
- --- 79,86 ----
-
- #endif /* AMIGA_LC_5_1 */
-
- + #ifndef AMIGA_LC_5_1
- +
- #define DXY800A /* Roland DXY800A plotter */
-
- #define HP2648 /* HP2648, HP2647 */
- ***************
- *** 79,87 ****
- #define HP75 /* HP7580, and probably other HPs */
- #define IMAGEN /* Imagen laser printers (300dpi) (requires -Iterm also) */
-
- - #define NEC /* NEC CP6 pinwriter printer */
- #define PRESCRIBE /* Kyocera Laser printer */
- #define QMS /* QMS/QUIC laserprinter (Talaris 1200 and others) */
- #define STARC /* Star Color Printer */
- #define TANDY60 /* Tandy DMP-130 series 60-dot per inch graphics */
- #define V384 /* Vectrix 384 and tandy color printer */
- --- 88,102 ----
- #define HP75 /* HP7580, and probably other HPs */
- #define IMAGEN /* Imagen laser printers (300dpi) (requires -Iterm also) */
-
- #define PRESCRIBE /* Kyocera Laser printer */
- #define QMS /* QMS/QUIC laserprinter (Talaris 1200 and others) */
- +
- + #else /* AMIGA_LC_5_1 */
- + #define FIG /* Fig graphics language */
- +
- + #endif /* AMIGA_LC_5_1 */
- +
- + #define NEC /* NEC CP6 pinwriter printer */
- #define STARC /* Star Color Printer */
- #define TANDY60 /* Tandy DMP-130 series 60-dot per inch graphics */
- #define V384 /* Vectrix 384 and tandy color printer */
- ***************
- *** 93,98 ****
- --- 108,114 ----
-
- #define HPGL /* HP7475, HP7220 plotters, and (hopefully) lots of others */
-
- + #define PBM /* PBMPLUS portable bitmap */
- #define POSTSCRIPT /* Postscript */
-
- /* #define DXF /* DXF format for use with AutoCad (Release 10.x) */
-