home *** CD-ROM | disk | FTP | other *** search
Text File | 1992-01-17 | 47.4 KB | 1,491 lines |
- diff -c -r ./Copyright ../gnuplot3p1/Copyright
- *** ./Copyright Mon Jun 3 17:25:56 1991
- --- ../gnuplot3p1/Copyright Fri Dec 20 12:52:20 1991
- ***************
- *** 1,5 ****
- /*
- ! * Copyright (C) 1986, 1987, 1990 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 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,
- ***************
- *** 11,17 ****
- * distribute the modified code. Modifications are to be distributed
- * as patches to released version.
- *
- ! * This software is provided "as is" without express or implied warranty.
- *
- *
- * AUTHORS
- --- 11,17 ----
- * distribute the modified code. Modifications are to be distributed
- * as patches to released version.
- *
- ! * This software is provided "as is" without express or implied warranty.
- *
- *
- * AUTHORS
- ***************
- *** 21,27 ****
- *
- * Gnuplot 2.0 additions:
- * Russell Lang, Dave Kotz, John Campbell.
- *
- ! * send your comments or suggestions to (pixar!info-gnuplot@sun.com).
- ! *
- */
- --- 21,35 ----
- *
- * Gnuplot 2.0 additions:
- * Russell Lang, Dave Kotz, John Campbell.
- + *
- + * Gnuplot 3.0 additions:
- + * 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.
- */
- +
- diff -c -r ./README.Install ../gnuplot3p1/README.Install
- *** ./README.Install Tue Sep 24 10:14:36 1991
- --- ../gnuplot3p1/README.Install Sun Dec 1 14:47:25 1991
- ***************
- *** 195,197 ****
- --- 195,201 ----
-
- The VMS version looks for the logical name GNUPLOT$HELP to locate
- the help library.
- +
- + The CGI drivers need the CGIPATH environment variable to set the path
- + to the CGI agents, and the CGIDISP and/or CGIPRNT environment
- + variables to set the output devices.
- diff -c -r ./command.c ../gnuplot3p1/command.c
- *** ./command.c Tue Sep 24 09:51:22 1991
- --- ../gnuplot3p1/command.c Sun Dec 1 14:47:28 1991
- ***************
- *** 633,641 ****
- if (!END_OF_COMMAND && !isstring(c_token)) {
- struct value a;
- ycol = (int)magnitude(const_express(&a));
- if (equals(c_token,":")) {
- c_token++; /* skip ":" */
- - xcol = ycol;
- ycol = (int)magnitude(const_express(&a));
- if (equals(c_token,":")) {
- c_token++; /* skip ":" */
- --- 633,641 ----
- if (!END_OF_COMMAND && !isstring(c_token)) {
- struct value a;
- ycol = (int)magnitude(const_express(&a));
- + xcol = ycol;
- if (equals(c_token,":")) {
- c_token++; /* skip ":" */
- ycol = (int)magnitude(const_express(&a));
- if (equals(c_token,":")) {
- c_token++; /* skip ":" */
- ***************
- *** 869,884 ****
- for (i = 0; i < npoints; i++) {
- cp = &(curve->points[i]);
- if (cp->type == INRANGE) {
- ! y = cp->y;
- if ((autoscale_ly ||
- ! inrange(log_y ? pow(10.0, y) : y, ymin, ymax) ||
- polar)) {
- if (autoscale_ly) {
- if (y < ymin) ymin = y;
- if (y > ymax) ymax = y;
- if (ebars) {
- ! ylow = cp->ylow;
- ! yhigh = cp->yhigh;
- if (ylow < ymin) ymin = ylow;
- if (ylow > ymax) ymax = ylow;
- if (yhigh < ymin) ymin = yhigh;
- --- 869,884 ----
- for (i = 0; i < npoints; i++) {
- cp = &(curve->points[i]);
- if (cp->type == INRANGE) {
- ! y = log_y ? pow(10.0,cp->y) : cp->y;
- if ((autoscale_ly ||
- ! inrange(y, ymin, ymax) ||
- polar)) {
- if (autoscale_ly) {
- if (y < ymin) ymin = y;
- if (y > ymax) ymax = y;
- if (ebars) {
- ! ylow = log_y ? pow(10.0,cp->ylow) : cp->ylow;
- ! yhigh = log_y ? pow(10.0,cp->yhigh) : cp->yhigh;
- if (ylow < ymin) ymin = ylow;
- if (ylow > ymax) ymax = ylow;
- if (yhigh < ymin) ymin = yhigh;
- ***************
- *** 950,955 ****
- --- 950,959 ----
- quotel_str(format, c_token);
- c_token++; /* skip format */
- }
- + }
- + else {
- + if ( only_z = !parametric )
- + zcol = 1;
- }
-
- switch (mapping3d) {
- diff -c -r ./contour.c ../gnuplot3p1/contour.c
- *** ./contour.c Thu Jul 18 13:55:52 1991
- --- ../gnuplot3p1/contour.c Sun Dec 1 14:47:30 1991
- ***************
- *** 63,68 ****
- --- 63,71 ----
- #define abs(x) ((x) > 0 ? (x) : (-(x)))
- #define sqr(x) ((x) * (x))
-
- + #ifndef AMIGA_AC_5
- + extern double sqrt();
- + #endif /* not AMIGA_AC_5 */
- typedef double tri_diag[3]; /* Used to allocate the tri-diag matrix. */
- typedef double table_entry[4]; /* Cubic spline interpolation 4 coef. */
-
- Common subdirectories: ./demo and ../gnuplot3p1/demo
- Common subdirectories: ./docs and ../gnuplot3p1/docs
- diff -c -r ./gnuplot.el ../gnuplot3p1/gnuplot.el
- *** ./gnuplot.el Mon Jun 3 17:25:58 1991
- --- ../gnuplot3p1/gnuplot.el Tue Dec 17 15:44:56 1991
- ***************
- *** 13,23 ****
- ; between the editted file and the plotting program:
- ; 1. send-line-to-gnu-plot - sends a single line to the plotting program for
- ; execution. The line sent is the line the cursor is on,
- ! ; Bounded to Meta-E be default.
- ; 2. send-region-to-gnu-plot - sends the region from the current mark
- ; (mark-marker) to current position (point-marker) to the plotting program.
- ; This function is convenient for sending a large block of commands.
- ! ; Bounded to Meta-R be default.
- ; Both functions checks for existance of a buffer named gnu-plot-program
- ; and a process named "gnu-plot" hooked to it, and will restart a new process
- ; or buffer if none exists. The program to execute as process "gnu-plot" is
- --- 13,23 ----
- ; between the editted file and the plotting program:
- ; 1. send-line-to-gnu-plot - sends a single line to the plotting program for
- ; execution. The line sent is the line the cursor is on,
- ! ; Bounded to Meta-E by default.
- ; 2. send-region-to-gnu-plot - sends the region from the current mark
- ; (mark-marker) to current position (point-marker) to the plotting program.
- ; This function is convenient for sending a large block of commands.
- ! ; Bounded to Meta-R by default.
- ; Both functions checks for existance of a buffer named gnu-plot-program
- ; and a process named "gnu-plot" hooked to it, and will restart a new process
- ; or buffer if none exists. The program to execute as process "gnu-plot" is
- ***************
- *** 57,63 ****
- (defun send-line-to-gnu-plot ()
- "Sends one line of code from current buffer to the GNU-PLOT program.
-
- ! Use to execute a line in the GNU-PLOT plotting program. The line send is
- the line the cursor (point) is on.
-
- The GNU-PLOT plotting program buffer name is gnu-plot-program and the
- --- 57,63 ----
- (defun send-line-to-gnu-plot ()
- "Sends one line of code from current buffer to the GNU-PLOT program.
-
- ! Use to execute a line in the GNU-PLOT plotting program. The line sent is
- the line the cursor (point) is on.
-
- The GNU-PLOT plotting program buffer name is gnu-plot-program and the
- ***************
- *** 124,130 ****
- ;;; execute the program defined by gnu-plot-program.
- ;;;
- (defun make-gnu-plot-buffer ()
- ! "Switch to iris-program buffer or create one if none exists"
- (interactive)
- (if (get-buffer "gnu-plot-program")
- (if (not (get-process "gnu-plot"))
- --- 124,130 ----
- ;;; execute the program defined by gnu-plot-program.
- ;;;
- (defun make-gnu-plot-buffer ()
- ! "Switch to gnu-plot-program buffer or create one if none exists"
- (interactive)
- (if (get-buffer "gnu-plot-program")
- (if (not (get-process "gnu-plot"))
- diff -c -r ./help.c ../gnuplot3p1/help.c
- *** ./help.c Wed Jul 24 10:44:30 1991
- --- ../gnuplot3p1/help.c Sun Dec 1 14:47:26 1991
- ***************
- *** 653,659 ****
- /* built-in dumb pager */
- /* leave room for prompt line */
- if (pagelines >= SCREENSIZE - 2) {
- ! printf("Press return for more: ");
- do
- c = getchar();
- while (c != EOF && c != '\n');
- --- 653,659 ----
- /* built-in dumb pager */
- /* leave room for prompt line */
- if (pagelines >= SCREENSIZE - 2) {
- ! fprintf(stderr,"Press return for more: ");
- do
- c = getchar();
- while (c != EOF && c != '\n');
- diff -c -r ./internal.c ../gnuplot3p1/internal.c
- *** ./internal.c Thu Aug 22 12:17:44 1991
- --- ../gnuplot3p1/internal.c Sun Dec 1 14:47:31 1991
- ***************
- *** 54,59 ****
- --- 54,60 ----
- * System V and MSC 4.0 call this when they wants to print an error message.
- * Don't!
- */
- + #ifndef _CRAY
- #ifdef MSDOS
- #ifdef __TURBOC__
- int matherr() /* Turbo C */
- ***************
- *** 76,81 ****
- --- 77,83 ----
- {
- return (undefined = TRUE); /* don't print error message */
- }
- + #endif /* not _CRAY */
-
-
- reset_stack()
- diff -c -r ./makefile.unx ../gnuplot3p1/makefile.unx
- *** ./makefile.unx Tue Sep 24 10:25:08 1991
- --- ../gnuplot3p1/makefile.unx Sun Dec 1 15:40:43 1991
- ***************
- *** 1,7 ****
- ############################################################
- #
- # GNUPLOT 3.0 Makefile (Unix X11 Motif/Athena support) for
- ! # Apollo/Sun/Dec5000/IBMrs6000/HP9000/SGI/3B1/386IX
- #
- # Original version by:
- # oliveria@caen.engin.umich.edu (ROQUE DONIZETE DE OLIVEIRA)
- --- 1,7 ----
- ############################################################
- #
- # GNUPLOT 3.0 Makefile (Unix X11 Motif/Athena support) for
- ! # Apollo/Sun/Dec5000/IBMrs6000/HP9000/SGI/3B1/386IX/Cray
- #
- # Original version by:
- # oliveria@caen.engin.umich.edu (ROQUE DONIZETE DE OLIVEIRA)
- ***************
- *** 203,209 ****
- APOLLO_FLAGS = \
- CFLAGS="$(COPTS) $(OPTIONS) -DGAMMA=lgamma" \
- LIBS="$(LIBS)" X11FLAGS="$(X11FLAGS)" \
- ! X11INCLUDES="-I/usr/include/X11" \
- X11LIBS="-L/usr/lib/X11 -lXaw -lXmu -lXt -lX11" \
- PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11=$(GNUPLOT_X11) \
- X11INSTALL="$(X11INSTALL)" \
- --- 203,209 ----
- APOLLO_FLAGS = \
- CFLAGS="$(COPTS) $(OPTIONS) -DGAMMA=lgamma" \
- LIBS="$(LIBS)" X11FLAGS="$(X11FLAGS)" \
- ! X11INCLUDES="$(X11INCLUDES)" \
- X11LIBS="-L/usr/lib/X11 -lXaw -lXmu -lXt -lX11" \
- PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11=$(GNUPLOT_X11) \
- X11INSTALL="$(X11INSTALL)" \
- ***************
- *** 225,230 ****
- --- 225,239 ----
- X11INSTALL="$(X11INSTALL)" \
- TERMFLAGS="-Iterm -DX11"
-
- + HP_M_FLAGS = \
- + CFLAGS="$(COPTS) $(OPTIONS) -DMEMSET -DMEMCPY -DGETCWD" \
- + LIBS="-lm" X11FLAGS="-DMOTIF -D_NO_PROTO" \
- + X11INCLUDES="-I/usr/include/Motif1.1 -I/usr/include/Motif1.1/Xm -I/usr/include/X11R4" \
- + X11LIBS="-L/usr/lib/Motif1.1 -L/usr/lib/X11R4 -lXm -lXt -lX11" \
- + PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11=$(GNUPLOT_X11) \
- + X11INSTALL="$(X11INSTALL)" \
- + TERMFLAGS=" -Iterm -DX11"
- +
- SUN_FLAGS = \
- CFLAGS="$(COPTS) $(OPTIONS)" \
- LIBS="-lsuntool -lsunwindow -lpixrect $(LIBS)" \
- ***************
- *** 251,262 ****
-
- SGIX11_FLAGS = \
- CFLAGS="$(COPTS) $(OPTIONS)" \
- ! LIBS="-lm" X11FLAGS="$(X11FLAGS)" \
- X11INCLUDES="-I/usr/include/X11 -I/usr/include/X11/Xaw" \
- X11LIBS="-L/usr/lib/X11 -lXaw -lXmu -lXt -lXext -lX11" \
- PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11=$(GNUPLOT_X11) \
- X11INSTALL="$(X11INSTALL)" \
- ! TERMFLAGS="-Iterm -DX11"
-
- CGI_FLAGS = \
- CFLAGS="$(COPTS) $(OPTIONS) -Dunix" \
- --- 260,271 ----
-
- SGIX11_FLAGS = \
- CFLAGS="$(COPTS) $(OPTIONS)" \
- ! LIBS="-lgl_s -lm -lc_s" X11FLAGS="$(X11FLAGS)" \
- X11INCLUDES="-I/usr/include/X11 -I/usr/include/X11/Xaw" \
- X11LIBS="-L/usr/lib/X11 -lXaw -lXmu -lXt -lXext -lX11" \
- PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11=$(GNUPLOT_X11) \
- X11INSTALL="$(X11INSTALL)" \
- ! TERMFLAGS="-Iterm -DX11 -DIRIS4D"
-
- CGI_FLAGS = \
- CFLAGS="$(COPTS) $(OPTIONS) -Dunix" \
- ***************
- *** 303,314 ****
- TERMFLAGS="$(TERMFLAGS)"
-
- NEXT_FLAGS = \
- ! CFLAGS="$(COPTS) -DNOCWDRC -DGAMMA=lgamma -DNEXT" \
- LIBS="-lm" X11FLAGS="$(X11FLAGS)" \
- X11INCLUDES=" " X11LIBS=" " PLOTXFLAG=" " \
- GNUPLOT_X11=" " X11INSTALL=x11_noinstall \
- TERMFLAGS="-Iterm"
-
- ####################################################################
- # List of object files except version.o
- OBJS = bitmap.o command.o contour.o eval.o graphics.o graph3d.o help.o \
- --- 312,348 ----
- TERMFLAGS="$(TERMFLAGS)"
-
- NEXT_FLAGS = \
- ! CFLAGS="$(COPTS) -DGAMMA=lgamma -DNEXT" \
- LIBS="-lm" X11FLAGS="$(X11FLAGS)" \
- X11INCLUDES=" " X11LIBS=" " PLOTXFLAG=" " \
- GNUPLOT_X11=" " X11INSTALL=x11_noinstall \
- TERMFLAGS="-Iterm"
-
- + NEXT_X11_FLAGS = \
- + CFLAGS="$(COPTS) -DGAMMA=lgamma -DNEXT" \
- + LIBS="-lm" \
- + X11LIBS="-L/usr/lib/X11 -lXaw -lXmu -lXt -lX11" \
- + X11INCLUDES="$(X11INCLUDES)" X11FLAGS="$(X11FLAGS)" \
- + PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11=$(GNUPLOT_X11) \
- + X11INSTALL="$(X11INSTALL)" \
- + TERMFLAGS="-Iterm -DX11"
- +
- + CRAY_FLAGS = \
- + CFLAGS="$(COPTS) $(OPTIONS) -DGETCWD -DNOVFORK" \
- + LIBS="-lm" X11FLAGS=" " \
- + X11INCLUDES=" " \
- + X11LIBS=" " \
- + PLOTXFLAG=" " GNUPLOT_X11=" " \
- + X11INSTALL=x11_noinstall \
- + TERMFLAGS="-Iterm"
- + CRAY_X11_FLAGS = \
- + CFLAGS="$(COPTS) $(OPTIONS) -DGETCWD -DNOVFORK" \
- + LIBS="-lm" X11FLAGS="$(X11FLAGS)" \
- + X11INCLUDES="$(X11INCLUDES)" \
- + X11LIBS="$(X11LIBS)" \
- + PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11="$(GNUPLOT_X11)" \
- + X11INSTALL=$(X11INSTALL) \
- + TERMFLAGS="-Iterm -DX11"
- ####################################################################
- # List of object files except version.o
- OBJS = bitmap.o command.o contour.o eval.o graphics.o graph3d.o help.o \
- ***************
- *** 373,379 ****
- @echo
- @echo "apollo, apollo_motif for Apollo running SR10.3 with Apollo's X11R3"
- @echo "dec, dec_motif for Dec3100/5000 running Ultrix 3.1d with MIT's X11R4"
- ! @echo "hp for HP/9000 700 series running HP/UX 8.0 with MIT's X11R4"
- @echo "sun for Sun sparcstation running SunOS 4.1 with suntools (no X11R4) "
- @echo "sun_x11 for Sun sparcstation running SunOS 4.1 with suntools and X11R4 "
- @echo "sgi for Silicon Graphics IRIS4D machines (no X11R4) "
- --- 407,413 ----
- @echo
- @echo "apollo, apollo_motif for Apollo running SR10.3 with Apollo's X11R3"
- @echo "dec, dec_motif for Dec3100/5000 running Ultrix 3.1d with MIT's X11R4"
- ! @echo "hp, hp_motif for HP/9000 700 series running HP/UX 8.0 with MIT's X11R4"
- @echo "sun for Sun sparcstation running SunOS 4.1 with suntools (no X11R4) "
- @echo "sun_x11 for Sun sparcstation running SunOS 4.1 with suntools and X11R4 "
- @echo "sgi for Silicon Graphics IRIS4D machines (no X11R4) "
- ***************
- *** 384,389 ****
- --- 418,425 ----
- @echo "386ix_x11 for 386 machines running 386/ix with T.Roell X386"
- @echo "ibmrs6000, ibmrs6000_motif for IBM RS/6000 running Aix 3.1 with IBM's X11R3"
- @echo "x11r4, x11r4_motif for a generic machine (like a sun or dec) with MIT's X11R4"
- + @echo "cray for Cray Y-MP or Cray-2 running Unicos 6.0 or 6.1 (no X11R4)"
- + @echo "cray_x11 for Cray Y-MP or Cray-2 running Unicos 6.0 or 6.1 with X11R4"
- @echo
- @echo "Examples:"
- @echo
- ***************
- *** 401,407 ****
- @echo " make sgi"
- @echo " make 3b1"
- @echo " make 386ix"
- ! @echo " make ibmrs6000 MANDEST='/usr/usr/misc/man/man1' COPTS='-O' "
- @echo
- @echo "If you just type 'make All' , it will build gnuplot for Unix X11R4/Athena"
- @echo "and the following variables will be used as default:"
- --- 437,445 ----
- @echo " make sgi"
- @echo " make 3b1"
- @echo " make 386ix"
- ! @echo " make ibmrs6000 MANDEST='/usr/um/misc/man/man1' COPTS='-O' "
- ! @echo " make cray"
- ! @echo " make cray_x11"
- @echo
- @echo "If you just type 'make All' , it will build gnuplot for Unix X11R4/Athena"
- @echo "and the following variables will be used as default:"
- ***************
- *** 450,458 ****
- --- 488,502 ----
- hp:
- $(MAKE) $(MFLAGS) $(MY_FLAGS) $(HP_FLAGS) $(TARGET)
-
- + hp_motif:
- + $(MAKE) $(MFLAGS) $(MY_FLAGS) $(HP_M_FLAGS) $(TARGET)
- +
- next:
- $(MAKE) $(MFLAGS) $(MY_FLAGS) $(NEXT_FLAGS) $(TARGET)
-
- + next_x11:
- + $(MAKE) $(MFLAGS) $(MY_FLAGS) $(NEXT_X11_FLAGS) $(TARGET)
- +
- sun:
- $(MAKE) $(MFLAGS) $(MY_FLAGS) $(SUN_FLAGS) $(TARGET)
-
- ***************
- *** 482,487 ****
- --- 526,535 ----
-
- ibmrs6000_motif:
- $(MAKE) $(MFLAGS) $(MY_FLAGS) $(AIX_M_FLAGS) $(TARGET)
- + cray:
- + $(MAKE) $(MFLAGS) $(MY_FLAGS) $(CRAY_FLAGS) $(TARGET)
- + cray_x11:
- + $(MAKE) $(MFLAGS) $(MY_FLAGS) $(CRAY_X11_FLAGS) $(TARGET)
-
- #############################################################
- # Targets that really do something
- ***************
- *** 496,502 ****
- $(LD) $(OBJS) version.o $(LIBS) -o gnuplot
-
- doc:
- ! ( cd docs; make $(MFLAGS) gnuplot.gih )
-
- gnuplot_x11: gnuplot_x11.c
- $(CC) $(CFLAGS) $(X11FLAGS) $(X11INCLUDES) -o gnuplot_x11 gnuplot_x11.c $(X11LIBS)
- --- 544,550 ----
- $(LD) $(OBJS) version.o $(LIBS) -o gnuplot
-
- doc:
- ! ( cd docs; $(MAKE) $(MFLAGS) gnuplot.gih )
-
- gnuplot_x11: gnuplot_x11.c
- $(CC) $(CFLAGS) $(X11FLAGS) $(X11INCLUDES) -o gnuplot_x11 gnuplot_x11.c $(X11LIBS)
- ***************
- *** 527,533 ****
- Install: All man_install $(X11INSTALL) $(LASERGNU)
- cp gnuplot $(DEST)
- strip $(DEST)/gnuplot
- ! (cd docs; make $(MFLAGS) install-unix HELPDEST=$(HELPDEST))
-
- x11_install: gnuplot_x11
- cp gnuplot_x11 $(DEST)
- --- 575,581 ----
- Install: All man_install $(X11INSTALL) $(LASERGNU)
- cp gnuplot $(DEST)
- strip $(DEST)/gnuplot
- ! ( cd docs; $(MAKE) $(MFLAGS) install-unix HELPDEST=$(HELPDEST) )
-
- x11_install: gnuplot_x11
- cp gnuplot_x11 $(DEST)
- ***************
- *** 591,603 ****
-
- clean:
- rm -f *.o *~ *.bak term/*~ term/*.bak
- ! (cd docs; make $(MFLAGS) clean)
- ! (cd docs/latextut; make $(MFLAGS) clean)
-
- spotless:
- rm -f *.o *~ *.bak term/*~ term/*.bak TAGS gnuplot gnuplot_x11
- ! (cd docs; make $(MFLAGS) clean)
- ! (cd docs/latextut; make $(MFLAGS) spotless)
-
- ################################################################
- # Making shar files for mailing gnuplot
- --- 639,651 ----
-
- clean:
- rm -f *.o *~ *.bak term/*~ term/*.bak
- ! ( cd docs; $(MAKE) $(MFLAGS) clean )
- ! ( cd docs/latextut; $(MAKE) $(MFLAGS) clean )
-
- spotless:
- rm -f *.o *~ *.bak term/*~ term/*.bak TAGS gnuplot gnuplot_x11
- ! ( cd docs; $(MAKE) $(MFLAGS) clean )
- ! ( cd docs/latextut; $(MAKE) $(MFLAGS) spotless )
-
- ################################################################
- # Making shar files for mailing gnuplot
- diff -c -r ./parse.c ../gnuplot3p1/parse.c
- *** ./parse.c Fri Sep 6 09:00:06 1991
- --- ../gnuplot3p1/parse.c Sun Dec 1 14:47:33 1991
- ***************
- *** 66,82 ****
- #ifdef __TURBOC__
- void fpe()
- #else
- ! #ifdef __ZTC__
- void fpe(an_int)
- int an_int;
- #else
- ! #ifdef _CRAY
- ! void fpe(an_int)
- ! int an_int;
- #else
- fpe()
- #endif
- ! #endif
- #endif
- {
- #ifdef PC /* thanks to lotto@wjh12.UUCP for telling us about this */
- --- 66,81 ----
- #ifdef __TURBOC__
- void fpe()
- #else
- ! #if defined( __ZTC__ ) || defined( _CRAY )
- void fpe(an_int)
- int an_int;
- #else
- ! #ifdef NEXT
- ! void fpe(int an_int)
- #else
- fpe()
- #endif
- ! #endif /* __ZTC__ || _CRAY */
- #endif
- {
- #ifdef PC /* thanks to lotto@wjh12.UUCP for telling us about this */
- diff -c -r ./plot.c ../gnuplot3p1/plot.c
- *** ./plot.c Thu Sep 5 11:19:10 1991
- --- ../gnuplot3p1/plot.c Sun Dec 1 14:47:22 1991
- ***************
- *** 168,174 ****
- --- 168,178 ----
- void inter(an_int)
- int an_int;
- #else
- + #ifdef NEXT
- + void inter(int an_int)
- + #else
- inter()
- + #endif
- #endif
- #endif
- {
- diff -c -r ./plot.h ../gnuplot3p1/plot.h
- *** ./plot.h Thu Sep 5 11:19:10 1991
- --- ../gnuplot3p1/plot.h Sun Dec 1 14:58:27 1991
- ***************
- *** 133,138 ****
- --- 133,141 ----
- #else
- #if defined( vms ) || defined( _CRAY ) || defined( NEXT )
- #include <float.h>
- + #if defined ( NEXT ) /* bug in NeXT OS 2.0 */
- + #define DBL_MAX 1.7976931348623157e+308
- + #endif
- #define VERYLARGE DBL_MAX
- #else
- #if defined(AMIGA_AC_5) || defined(AMIGA_LC_5_1)
- diff -c -r ./readline.c ../gnuplot3p1/readline.c
- *** ./readline.c Tue Sep 10 15:19:46 1991
- --- ../gnuplot3p1/readline.c Sun Dec 1 14:58:25 1991
- ***************
- *** 34,40 ****
- #ifdef READLINE
-
- /* a small portable version of GNU's readline */
- !
- /* do not need any terminal capabilities except backspace,
- /* and space overwrites a character */
-
- --- 34,41 ----
- #ifdef READLINE
-
- /* a small portable version of GNU's readline */
- ! /* this is not the BASH or GNU EMACS version of READLINE due to Copyleft
- ! restrictions */
- /* do not need any terminal capabilities except backspace,
- /* and space overwrites a character */
-
- diff -c -r ./scanner.c ../gnuplot3p1/scanner.c
- *** ./scanner.c Thu Sep 5 11:19:12 1991
- --- ../gnuplot3p1/scanner.c Sun Dec 1 15:36:52 1991
- ***************
- *** 84,105 ****
- *
- * Scanning is performed by following rules:
- *
- ! * Current char token should contain
- * ------------- -----------------------
- ! * 1. alpha all following alpha-numerics
- ! * 2. digit 0 or more following digits, 0 or 1 decimal point,
- ! * 0 or more digits, 0 or 1 'e' or 'E',
- ! * 0 or more digits.
- ! * 3. ^,+,-,/ only current char
- ! * %,~,(,)
- ! * [,],;,:,
- ! * ?,comma
- ! * 4. &,|,=,* current char; also next if next is same
- ! * 5. !,<,> current char; also next if next is =
- ! * 6. ", ' all chars up until matching quote
- ! * 7. # this token cuts off scanning of the line (DFK).
- *
- ! * white space between tokens is ignored
- */
- scanner(expression)
- char expression[];
- --- 84,105 ----
- *
- * Scanning is performed by following rules:
- *
- ! * Current char token should contain
- * ------------- -----------------------
- ! * 1. alpha,_ all following alpha-numerics
- ! * 2. digit 0 or more following digits, 0 or 1 decimal point,
- ! * 0 or more digits, 0 or 1 'e' or 'E',
- ! * 0 or more digits.
- ! * 3. ^,+,-,/ only current char
- ! * %,~,(,)
- ! * [,],;,:,
- ! * ?,comma
- ! * 4. &,|,=,* current char; also next if next is same
- ! * 5. !,<,> current char; also next if next is =
- ! * 6. ", ' all chars up until matching quote
- ! * 7. # this token cuts off scanning of the line (DFK).
- *
- ! * white space between tokens is ignored
- */
- scanner(expression)
- char expression[];
- ***************
- *** 122,128 ****
- substitute(&expression[current],MAX_LINE_LEN - current);
- goto again;
- }
- ! if (isalpha(expression[current])) {
- SCAN_IDENTIFIER;
- } else if (isdigit(expression[current]) || expression[current] == '.'){
- token[t_num].is_token = FALSE;
- --- 122,129 ----
- substitute(&expression[current],MAX_LINE_LEN - current);
- goto again;
- }
- ! /* allow _ to be the first character of an identifier */
- ! if (isalpha(expression[current]) || expression[current] == '_') {
- SCAN_IDENTIFIER;
- } else if (isdigit(expression[current]) || expression[current] == '.'){
- token[t_num].is_token = FALSE;
- diff -c -r ./standard.c ../gnuplot3p1/standard.c
- *** ./standard.c Thu Jul 18 14:02:06 1991
- --- ../gnuplot3p1/standard.c Sun Dec 1 14:58:45 1991
- ***************
- *** 368,374 ****
- f_atan()
- {
- struct value a;
- ! register double x, y;
- (void) pop(&a);
- x = real(&a); y = imag(&a);
- if (y == 0.0)
- --- 368,374 ----
- f_atan()
- {
- struct value a;
- ! register double x, y, u, v, w, z;
- (void) pop(&a);
- x = real(&a); y = imag(&a);
- if (y == 0.0)
- ***************
- *** 376,384 ****
- else if (x == 0.0 && fabs(y) == 1.0) {
- undefined = TRUE;
- push(complex(&a,0.0, 0.0));
- ! } else
- ! push( complex(&a,atan(2*x/(1-x*x-y*y)),
- ! log((x*x+(y+1)*(y+1))/(x*x+(y-1)*(y-1)))/4) );
- }
-
- f_sinh()
- --- 376,400 ----
- else if (x == 0.0 && fabs(y) == 1.0) {
- undefined = TRUE;
- push(complex(&a,0.0, 0.0));
- ! } else {
- ! if (x >= 0) {
- ! u = x;
- ! v = y;
- ! } else {
- ! u = -x;
- ! v = -y;
- ! }
- !
- ! z = atan(2*u/(1-u*u-v*v));
- ! w = log((u*u+(v+1)*(v+1))/(u*u+(v-1)*(v-1)))/4;
- ! if (z < 0)
- ! z = z + 2*PI_ON_TWO;
- ! if (x < 0) {
- ! z = -z;
- ! w = -w;
- ! }
- ! push( complex(&a,0.5*z, w) );
- ! }
- }
-
- f_sinh()
- Common subdirectories: ./term and ../gnuplot3p1/term
- diff -c -r ./term.c ../gnuplot3p1/term.c
- *** ./term.c Thu Sep 5 11:19:14 1991
- --- ../gnuplot3p1/term.c Sun Dec 1 14:48:26 1991
- ***************
- *** 298,304 ****
- #include "term/hpljii.trm"
- #endif
-
- ! #ifdef HPLJII /* HP LaserJet III in HPGL mode */
- # ifndef HPGL
- # define HPGL
- # endif
- --- 298,304 ----
- #include "term/hpljii.trm"
- #endif
-
- ! #ifdef HPLJIII /* HP LaserJet III in HPGL mode */
- # ifndef HPGL
- # define HPGL
- # endif
- ***************
- *** 354,359 ****
- --- 354,363 ----
- #include "term/aed.trm"
- #endif /* AED */
-
- + #ifdef AIFM
- + #include "term/ai.trm"
- + #endif /* AIFM */
- +
- #ifdef CGI
- #include "term/cgi.trm"
- #endif /* CGI */
- ***************
- *** 632,637 ****
- --- 636,650 ----
- null_justify_text, do_point, do_arrow}
- #endif
-
- + #ifdef AIFM
- + ,{"aifm", "Adobe Illustrator 3.0 Format",
- + AI_XMAX, AI_YMAX, AI_VCHAR, AI_HCHAR,
- + AI_VTIC, AI_HTIC, AI_options, AI_init, AI_reset,
- + AI_text, null_scale, AI_graphics, AI_move, AI_vector,
- + AI_linetype, AI_put_text, AI_text_angle,
- + AI_justify_text, do_point, do_arrow}
- + #endif
- +
- #ifdef APOLLO
- ,{"apollo", "Apollo Graphics Primitive Resource, rescaling of subsequent plots after window resizing",
- 0, 0, 0, 0, /* APOLLO_XMAX, APOLLO_YMAX, APOLLO_VCHAR, APOLLO_HCHAR, are filled in at run-time */
- ***************
- *** 799,811 ****
- #endif
-
- #ifdef HPLJIII
- ! ,{"hpljiii_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}
- ! ,{"hpljiii_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,
- --- 812,824 ----
- #endif
-
- #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,
- ***************
- *** 889,895 ****
- ,{"postscript", "PostScript graphics language [mode \042fontname\042 font_size]",
- PS_XMAX, PS_YMAX, PS_VCHAR, PS_HCHAR,
- PS_VTIC, PS_HTIC, PS_options, PS_init, PS_reset,
- ! PS_text, do_scale, PS_graphics, PS_move, PS_vector,
- PS_linetype, PS_put_text, PS_text_angle,
- PS_justify_text, PS_point, do_arrow}
- #endif
- --- 902,908 ----
- ,{"postscript", "PostScript graphics language [mode \042fontname\042 font_size]",
- PS_XMAX, PS_YMAX, PS_VCHAR, PS_HCHAR,
- PS_VTIC, PS_HTIC, PS_options, PS_init, PS_reset,
- ! PS_text, null_scale, PS_graphics, PS_move, PS_vector,
- PS_linetype, PS_put_text, PS_text_angle,
- PS_justify_text, PS_point, do_arrow}
- #endif
- diff -c -r ./term.h ../gnuplot3p1/term.h
- *** ./term.h Thu Sep 5 11:19:16 1991
- --- ../gnuplot3p1/term.h Sun Dec 1 14:48:24 1991
- ***************
- *** 102,107 ****
- --- 102,108 ----
- #define EPS60 /* Epson-style 60-dot per inch printers */
- #define EPSONP /* Epson LX-800, Star NL-10, NX-1000 and lots of others */
- #define HPLJII /* HP LaserJet II */
- + #define HPLJIII /* HP LaserJet III */
- #define LATEX /* LATEX picture environment */
-
- /* These are for MSDOS only */
- diff -c -r ./util.c ../gnuplot3p1/util.c
- *** ./util.c Sun Sep 8 09:01:16 1991
- --- ../gnuplot3p1/util.c Sun Dec 1 15:36:52 1991
- ***************
- *** 162,168 ****
- int t_num;
- {
- return(token[t_num].is_token &&
- ! (isalpha(input_line[token[t_num].start_index])));
- }
-
-
- --- 162,169 ----
- int t_num;
- {
- return(token[t_num].is_token &&
- ! ((isalpha(input_line[token[t_num].start_index]))||
- ! (input_line[token[t_num].start_index] == '_')));
- }
-
-
- diff -c -r ./version.c ../gnuplot3p1/version.c
- *** ./version.c Sun Sep 29 18:59:00 1991
- --- ../gnuplot3p1/version.c Mon Dec 2 15:19:41 1991
- ***************
- *** 35,42 ****
- */
-
- char version[] = "3.0 ";
- ! char patchlevel[] = "0, Sep 29 91";
- ! char date[] = "Sun Sep 29 16:56:36 1991";
-
- /* override in Makefile */
- #ifndef CONTACT
- --- 35,42 ----
- */
-
- char version[] = "3.0 ";
- ! char patchlevel[] = "1, Dec 1 91";
- ! char date[] = "Sun Dec 1 16:56:36 1991";
-
- /* override in Makefile */
- #ifndef CONTACT
- diff -c -r ./demo/world.cor ../gnuplot3p1/demo/world.cor
- *** ./demo/world.cor Thu Jun 27 16:55:42 1991
- --- ../gnuplot3p1/demo/world.cor Sun Dec 1 14:48:17 1991
- ***************
- *** 34,42 ****
- -84 34 # Atlanta, Georgia
- -84 42 # Univ. of Michigan, Ann Arbor, Michigan
- -86 39 # UCS Indiana (?)
- -88 42 # Arlington Heights, Illinois
- -88 42 # Northwestern University, Evanston, Illinois
- - -90 43 # UIUCS, Urabana, Illinois (?)
- -92 30 # Lafayette, Louisiana
- -93 45 # Eagan, Minnesota
- -95 30 # Houston, Texas
- --- 34,42 ----
- -84 34 # Atlanta, Georgia
- -84 42 # Univ. of Michigan, Ann Arbor, Michigan
- -86 39 # UCS Indiana (?)
- + -88 40 # University of Illinois, Urbana-Champaign, Illinois
- -88 42 # Arlington Heights, Illinois
- -88 42 # Northwestern University, Evanston, Illinois
- -92 30 # Lafayette, Louisiana
- -93 45 # Eagan, Minnesota
- -95 30 # Houston, Texas
- diff -c -r ./docs/gnuplot.doc ../gnuplot3p1/docs/gnuplot.doc
- *** ./docs/gnuplot.doc Tue Sep 17 10:21:06 1991
- --- ../gnuplot3p1/docs/gnuplot.doc Sun Dec 1 15:57:55 1991
- ***************
- *** 145,151 ****
- %Up Arrow@@same as ^P.
- %Down Arrow@@same as ^N.
- %_
- ! @end table
- 2 comment
- ?comments
- Comments are supported as follows: a # may appear in most places in a line
- --- 145,153 ----
- %Up Arrow@@same as ^P.
- %Down Arrow@@same as ^N.
- %_
- ! @end table
- ! (The readline function in gnuplot is not the same as the readline used
- ! in GNU BASH and GNU EMACS. It is somewhat compatible however.)
- 2 comment
- ?comments
- Comments are supported as follows: a # may appear in most places in a line
- ***************
- *** 699,706 ****
-
- A simple example of plotting a 3-d data file is
-
- splot 'glass.dat'
- !
- For more information about 3-d plotting, see `splot`.
- 4 using
- ?plot datafile using
- --- 701,736 ----
-
- A simple example of plotting a 3-d data file is
-
- + set parametric
- splot 'glass.dat'
- !
- ! or
- !
- ! set noparametric
- ! splot 'datafile.dat'
- !
- ! where the file datafile.dat might contain:
- !
- ! # The valley of the Gnu.
- ! 10
- ! 10
- ! 10
- !
- ! 10
- ! 5
- ! 10
- !
- ! 10
- ! 1
- ! 10
- !
- ! 10
- ! 0
- ! 10
- !
- ! Note datafile.dat defines a 4 by 3 grid ( 4 rows of 3 points each ).
- ! Rows are seperated by blank lines.
- !
- For more information about 3-d plotting, see `splot`.
- 4 using
- ?plot datafile using
- ***************
- *** 1929,1936 ****
- set terminal postscript {<mode>} {<color>}
- {"<fontname>"} {<fontsize>}
-
- ! where <mode> is `landscape`, `portrait` or `default`. Selecting default
- ! sets all options to their defaults.
- <color> is either `color` or `monochrome`.
- "<fontname>" is the name of a valid PostScript font.
- <fontsize> is the size of the font in PostScript points, before
- --- 1959,1966 ----
- set terminal postscript {<mode>} {<color>}
- {"<fontname>"} {<fontsize>}
-
- ! where <mode> is `landscape`, `portrait`, `eps` or `default`.
- ! Selecting default sets all options to their defaults.
- <color> is either `color` or `monochrome`.
- "<fontname>" is the name of a valid PostScript font.
- <fontsize> is the size of the font in PostScript points, before
- ***************
- *** 1939,1954 ****
- Default size of PostScript plot is landscape mode 10 inches wide
- and 7 inches high.
-
- Examples:
-
- - set size 1,1
- set term postscript default # old postscript
- set term postscript landscape 22 # old psbig
- ! set size 0.5,0.5
- ! set term postscript portrait 14 # old epsf1
- ! set term postscript portrait 22 # old epsf2
- ! set size 1,1; set term post landscape color "Times-Roman" 14
-
- 3 tics
- ?set tics
- ?show tics
- --- 1969,2015 ----
- Default size of PostScript plot is landscape mode 10 inches wide
- and 7 inches high.
-
- + To get EPS output, use the `eps` mode and make only one plot per file.
- + In `eps` mode the whole plot is halved in size; the fonts are half the
- + given size, and the plot is 5 inches wide and 3.5 inches high.
- +
- Examples:
-
- set term postscript default # old postscript
- set term postscript landscape 22 # old psbig
- ! set term postscript eps 14 # old epsf1
- ! set term postscript eps 22 # old epsf2
- ! set size 0.7,1.4
- ! set term post portrait color "Times-Roman" 14
-
- + 4 aifm
- + ?set terminal aifm
- + ?aifm
- + Several options may be set in the Adobe Illustrator 3.0 driver.
- +
- + Syntax:
- + set terminal aifm {<color>}
- + {"<fontname>"} {<fontsize>}
- +
- + Selecting default sets all options to their defaults.
- + <color> is either `color` or `monochrome`.
- + "<fontname>" is the name of a valid PostScript font.
- + <fontsize> is the size of the font in PostScript points, before
- + scaling by the `set size` command.
- + Defaults are `monochrome`, "Courier", and 14pt.
- +
- + Also, since AI does not really support multiple pages, multiple
- + graphs will be output directly on one another. However, each graph
- + will be grouped individually, making it easy to separate them inside
- + AI (just pick them up and move them).
- +
- + Examples:
- +
- + set term aifm
- + set term aifm 22
- + set size 0.7,1.4
- + set term aifm color "Times-Roman" 14
- +
- 3 tics
- ?set tics
- ?show tics
- ***************
- *** 2457,2464 ****
- See `show functions` and `show variables`.
- 2 bugs
- ?bugs
- - The atan() function does not work correctly for complex arguments.
- -
- The bessel functions do not work for complex arguments.
-
- The gamma function does not work for complex arguments.
- --- 2518,2523 ----
- Common subdirectories: ./docs/latextut and ../gnuplot3p1/docs/latextut
- Only in ../gnuplot3p1/term: ai.trm
- diff -c -r ./term/amiga.trm ../gnuplot3p1/term/amiga.trm
- *** ./term/amiga.trm Fri Sep 20 13:31:58 1991
- --- ../gnuplot3p1/term/amiga.trm Fri Dec 13 12:58:48 1991
- ***************
- *** 47,68 ****
- #include <intuition/screens.h>
- #include <graphics/text.h>
- #include <graphics/gfxbase.h>
- -
- - #define OSCAN_TEXT (1) /* */
- - #define SA_Dummy (TAG_USER + 32) /* This stuff is temporary */
- - #define SA_Overscan (SA_Dummy + 0x0014) /* until Aztec C implements */
- - #define STDSCREENWIDTH -1 /* KS/WB 2.0 support. */
- - #define TAG_DONE (0L) /* */
- - #define TAG_USER (1L<<31) /* */
- - /* */
- - typedef ULONG Tag; /* */
- - /* */
- - struct TagItem /* */
- - { /* */
- - Tag ti_Tag; /* */
- - ULONG ti_Data; /* */
- - }; /* */
- -
- #else
- /* You will have to use the Kickstart 2.0 header files for this to compile */
- #include <exec/types.h>
- --- 47,52 ----
- ***************
- *** 159,165 ****
- }
- if (IntuitionBase->LibNode.lib_Version <= 34) {
- /* We compute the vertical resolution for those poor NTSC-souls :-) */
- ! if (GfxBase->DisplayFlags && PAL) AMIGA_ymax = 512;
- else AMIGA_ymax = 400;
- AMIGA_xmax = 640;
- AMIGA_NewScreen.Width = AMIGA_xmax;
- --- 143,149 ----
- }
- if (IntuitionBase->LibNode.lib_Version <= 34) {
- /* We compute the vertical resolution for those poor NTSC-souls :-) */
- ! if (GfxBase->DisplayFlags & PAL) AMIGA_ymax = 512;
- else AMIGA_ymax = 400;
- AMIGA_xmax = 640;
- AMIGA_NewScreen.Width = AMIGA_xmax;
- ***************
- *** 174,187 ****
- /* Kickstart 2.0 support */
- AMIGA_NewScreen.Width = STDSCREENWIDTH;
- AMIGA_NewScreen.Height = STDSCREENHEIGHT;
- - /* I had to set TopEdge equal to 1 with my (probably outdated) software */
- - /* version of Kickstart 2.0 in order for the last line to be displayed */
- - /* correctly. Remove the next two lines and check if it still works */
- - /* with newer ROM-versions of Kickstart 2.0 */
- - #ifdef AMIGA_LC_5_1
- - AMIGA_NewScreen.TopEdge = 1;
- - AMIGA_NewScreen.LeftEdge = 0;
- - #endif
- AMIGA_Screen = OpenScreenTagList(&AMIGA_NewScreen,AMIGA_ScrTagList);
- if (AMIGA_Screen == NULL) {
- fprintf(stderr,"No Screen\n");
- --- 158,163 ----
- diff -c -r ./term/apollo.trm ../gnuplot3p1/term/apollo.trm
- *** ./term/apollo.trm Mon Jun 3 11:15:26 1991
- --- ../gnuplot3p1/term/apollo.trm Sun Dec 1 15:21:18 1991
- ***************
- *** 13,18 ****
- --- 13,19 ----
- Ray Lischner (uunet!mntgfx!lisch)
- 4 October 1989 file created for GNUplot 1.1
- 26 March 1990 updated for GNUplot 2.0
- + 30 October 1991 fixed minor problem in apollo_tic_sizes
- */
-
- #include <apollo/base.h>
- ***************
- *** 148,155 ****
- if (tbl->v_tic < APOLLO_VTIC)
- tbl->v_tic = APOLLO_VTIC;
- tbl->h_tic = tbl->xmax / 50;
- ! if (tbl->v_tic < APOLLO_HTIC)
- ! tbl->v_tic = APOLLO_HTIC;
- }
-
- /*
- --- 149,156 ----
- if (tbl->v_tic < APOLLO_VTIC)
- tbl->v_tic = APOLLO_VTIC;
- tbl->h_tic = tbl->xmax / 50;
- ! if (tbl->h_tic < APOLLO_HTIC)
- ! tbl->h_tic = APOLLO_HTIC;
- }
-
- /*
- diff -c -r ./term/hp26.trm ../gnuplot3p1/term/hp26.trm
- *** ./term/hp26.trm Mon Mar 26 16:02:34 1990
- --- ../gnuplot3p1/term/hp26.trm Sun Dec 1 14:48:28 1991
- ***************
- *** 107,113 ****
- int x, y;
- char *str;
- {
- ! HP26_move(x,y - HP26_VCHAR/2);
- fputs("\033*dS",outfile);
- fprintf(outfile,"\033*m3Q\033*l%s\n",str);
- fputs("\033*dT",outfile);
- --- 107,113 ----
- int x, y;
- char *str;
- {
- ! HP26_move(x,y + HP26_VCHAR/2);
- fputs("\033*dS",outfile);
- fprintf(outfile,"\033*m3Q\033*l%s\n",str);
- fputs("\033*dT",outfile);
- diff -c -r ./term/hpgl.trm ../gnuplot3p1/term/hpgl.trm
- *** ./term/hpgl.trm Sun Aug 25 13:55:04 1991
- --- ../gnuplot3p1/term/hpgl.trm Sun Dec 1 14:48:27 1991
- ***************
- *** 59,64 ****
- --- 59,79 ----
- }
-
-
- + HPLJIII_graphics()
- + {
- + fprintf(outfile,
- + "\033%0B\nIN;\nSC0,%d,0,%d;\nSR%f,%f;\n",
- + HPGL_XMAX,HPGL_YMAX,
- + ((double)(HPGL_HCHAR)*200/3/HPGL_XMAX),
- + ((double)(HPGL_VCHAR)*100/2/HPGL_YMAX) );
- + /* 1 2 3
- + 1. reset to power-up defaults
- + 2. set SCaling
- + 3. set character size
- + */
- + HPGL_ang = 0;
- + }
- +
- HPGL_graphics()
- {
- fprintf(outfile,
- ***************
- *** 75,80 ****
- --- 90,106 ----
- }
-
-
- + HPLJIII_text()
- + {
- + fputs("PU;\nSP0;\n\033.Z\0",outfile);
- + /* 1 2 3
- + 1. pen up
- + 2. park pen
- + 3. disable eavesdropping
- + */
- + fputs("\033%0A\033E\n",outfile);
- + }
- +
- HPGL_text()
- {
- fputs("PU;\nSP0;\n\033.Z\0",outfile);
- ***************
- *** 151,155 ****
-
- HPLJIII_reset()
- {
- ! fputs("\033E\n",outfile);
- }
- --- 177,181 ----
-
- HPLJIII_reset()
- {
- ! fputs("\033%0A\033E\n",outfile);
- }
- diff -c -r ./term/latex.trm ../gnuplot3p1/term/latex.trm
- *** ./term/latex.trm Thu Sep 5 11:23:32 1991
- --- ../gnuplot3p1/term/latex.trm Sun Dec 1 14:48:29 1991
- ***************
- *** 128,133 ****
- --- 128,134 ----
- fprintf(outfile,
- "\\ifx\\plotpoint\\undefined\\newsavebox{\\plotpoint}\\fi\n");
- LATEX_linetype(-1);
- + LATEX_size =0;
- }
-
-
- diff -c -r ./term/post.trm ../gnuplot3p1/term/post.trm
- *** ./term/post.trm Fri Aug 30 09:14:06 1991
- --- ../gnuplot3p1/term/post.trm Sun Dec 1 14:58:31 1991
- ***************
- *** 25,36 ****
- * send your comments or suggestions to (pixar!info-gnuplot@sun.com).
- *
- * The 'postscript' driver produces landscape output 10" wide and 7" high.
- - * To get a smaller epsf output use 'set size 0.5,0.5',
- - * 'set term postscript portrait', make only one plot per file
- - * and change the first line of the postscript file from
- - * '%!PS-Adobe-2.0' to '%!PS-Adobe-2.0 EPSF-2.0'
- * To change font to Times-Roman and font size to 20pts use
- * 'set term postscript "Times-Roman" 20'.
- */
-
-
- --- 25,35 ----
- * send your comments or suggestions to (pixar!info-gnuplot@sun.com).
- *
- * The 'postscript' driver produces landscape output 10" wide and 7" high.
- * To change font to Times-Roman and font size to 20pts use
- * 'set term postscript "Times-Roman" 20'.
- + * To get a smaller (5" x 3.5") eps output use 'set term post eps'
- + * and make only one plot per file. Font size for eps will be half
- + * the specified size.
- */
-
-
- ***************
- *** 40,45 ****
- --- 39,46 ----
- int ps_fontsize = 14; /* size of font in pts */
- BOOLEAN ps_portrait = FALSE; /* vertical page */
- BOOLEAN ps_color = FALSE;
- + BOOLEAN ps_eps = FALSE; /* Is this for an eps file? */
- + /* Added by Robert Davis <davis@ecn.purdue.edu> */
- int ps_page=0; /* page count */
- int ps_path_count=0; /* count of lines in path */
- int ps_ang=0; /* text angle */
- ***************
- *** 134,150 ****
- --- 135,161 ----
- if (!END_OF_COMMAND) {
- if (almost_equals(c_token,"p$ortrait")) {
- ps_portrait=TRUE;
- + ps_eps=FALSE;
- c_token++;
- }
- else if (almost_equals(c_token,"l$andscape")) {
- ps_portrait=FALSE;
- + ps_eps=FALSE;
- c_token++;
- }
- + else if (almost_equals(c_token,"e$psf")) {
- + ps_portrait=TRUE;
- + ps_eps = TRUE;
- + c_token++;
- + }
- else if (almost_equals(c_token,"d$efault")) {
- ps_portrait=FALSE;
- + ps_eps=FALSE;
- ps_color=FALSE;
- strcpy(ps_font,"Courier");
- ps_fontsize = 14;
- + term_tbl[term].v_char = (unsigned int)(ps_fontsize*PS_SC);
- + term_tbl[term].h_char = (unsigned int)(ps_fontsize*PS_SC*6/10);
- c_token++;
- }
- }
- ***************
- *** 169,181 ****
- /* We have font size specified */
- struct value a;
- ps_fontsize = (int)real(const_express(&a));
- - c_token++;
- term_tbl[term].v_char = (unsigned int)(ps_fontsize*PS_SC);
- term_tbl[term].h_char = (unsigned int)(ps_fontsize*PS_SC*6/10);
- }
-
- sprintf(term_options,"%s %s \"%s\" %d",
- ! ps_portrait ? "portrait" : "landscape",
- ps_color ? "color" : "monochrome",ps_font,ps_fontsize);
- }
-
- --- 180,191 ----
- /* We have font size specified */
- struct value a;
- ps_fontsize = (int)real(const_express(&a));
- term_tbl[term].v_char = (unsigned int)(ps_fontsize*PS_SC);
- term_tbl[term].h_char = (unsigned int)(ps_fontsize*PS_SC*6/10);
- }
-
- sprintf(term_options,"%s %s \"%s\" %d",
- ! ps_eps ? "eps" : (ps_portrait ? "portrait" : "landscape"),
- ps_color ? "color" : "monochrome",ps_font,ps_fontsize);
- }
-
- ***************
- *** 185,203 ****
- struct termentry *t = &term_tbl[term];
- int i;
- ps_page = 0;
- ! fprintf(outfile,"%%!PS-Adobe-2.0\n");
- fprintf(outfile,"%%%%Creator: gnuplot\n");
- fprintf(outfile,"%%%%DocumentFonts: %s\n", ps_font);
- fprintf(outfile,"%%%%BoundingBox: %d %d ", PS_XOFF,PS_YOFF);
- if (ps_portrait)
- fprintf(outfile,"%d %d\n",
- ! (int)(xsize*(PS_XMAX)/PS_SC+0.5+PS_XOFF),
- ! (int)(ysize*(PS_YMAX)/PS_SC+0.5+PS_YOFF) );
- else
- fprintf(outfile,"%d %d\n",
- ! (int)(ysize*(PS_YMAX)/PS_SC+0.5+PS_XOFF),
- ! (int)(xsize*(PS_XMAX)/PS_SC+0.5+PS_YOFF) );
- ! fprintf(outfile,"%%%%Pages: (atend)\n");
- fprintf(outfile,"%%%%EndComments\n");
- fprintf(outfile,"/gnudict 40 dict def\ngnudict begin\n");
- fprintf(outfile,"/Color %s def\n",ps_color ? "true" : "false");
- --- 195,217 ----
- struct termentry *t = &term_tbl[term];
- int i;
- ps_page = 0;
- ! if (!ps_eps)
- ! fprintf(outfile,"%%!PS-Adobe-2.0\n");
- ! else
- ! fprintf(outfile,"%%!PS-Adobe-2.0 EPSF-2.0\n");
- fprintf(outfile,"%%%%Creator: gnuplot\n");
- fprintf(outfile,"%%%%DocumentFonts: %s\n", ps_font);
- fprintf(outfile,"%%%%BoundingBox: %d %d ", PS_XOFF,PS_YOFF);
- if (ps_portrait)
- fprintf(outfile,"%d %d\n",
- ! (int)(xsize*(ps_eps ? 0.5 : 1.0)*(PS_XMAX)/PS_SC+0.5+PS_XOFF),
- ! (int)(ysize*(ps_eps ? 0.5 : 1.0)*(PS_YMAX)/PS_SC+0.5+PS_YOFF) );
- else
- fprintf(outfile,"%d %d\n",
- ! (int)(ysize*(ps_eps ? 0.5 : 1.0)*(PS_YMAX)/PS_SC+0.5+PS_XOFF),
- ! (int)(xsize*(ps_eps ? 0.5 : 1.0)*(PS_XMAX)/PS_SC+0.5+PS_YOFF) );
- ! if (!ps_eps)
- ! fprintf(outfile,"%%%%Pages: (atend)\n");
- fprintf(outfile,"%%%%EndComments\n");
- fprintf(outfile,"/gnudict 40 dict def\ngnudict begin\n");
- fprintf(outfile,"/Color %s def\n",ps_color ? "true" : "false");
- ***************
- *** 217,235 ****
- {
- struct termentry *t = &term_tbl[term];
- ps_page++;
- ! fprintf(outfile,"%%%%Page: %d %d\n",ps_page,ps_page);
- fprintf(outfile,"gnudict begin\n");
- fprintf(outfile,"gsave\n");
- fprintf(outfile,"%d %d translate\n",PS_XOFF,PS_YOFF);
- ! if (ps_portrait) {
- ! fprintf(outfile,"%.3f %.3f scale\n", xsize/PS_SC, ysize/PS_SC);
- }
- - else {
- - fprintf(outfile,"%.3f %.3f scale\n", ysize/PS_SC, xsize/PS_SC);
- - fprintf(outfile,"90 rotate\n0 %d translate\n", -PS_YMAX);
- - }
- fprintf(outfile,"0 setgray\n");
- ! fprintf(outfile,"/%s findfont %d ", ps_font, (t->v_char) );
- fprintf(outfile,"scalefont setfont\n");
- fprintf(outfile,"newpath\n");
- ps_path_count = 0;
- --- 231,248 ----
- {
- struct termentry *t = &term_tbl[term];
- ps_page++;
- ! if (!ps_eps)
- ! fprintf(outfile,"%%%%Page: %d %d\n",ps_page,ps_page);
- fprintf(outfile,"gnudict begin\n");
- fprintf(outfile,"gsave\n");
- fprintf(outfile,"%d %d translate\n",PS_XOFF,PS_YOFF);
- ! fprintf(outfile,"%.3f %.3f scale\n", (ps_eps ? 0.5 : 1.0)/PS_SC,
- ! (ps_eps ? 0.5 : 1.0)/PS_SC);
- ! if (!ps_portrait) {
- ! fprintf(outfile,"90 rotate\n0 %d translate\n", (int)(-PS_YMAX*ysize));
- }
- fprintf(outfile,"0 setgray\n");
- ! fprintf(outfile,"/%s findfont %d ",ps_font, (t->v_char) );
- fprintf(outfile,"scalefont setfont\n");
- fprintf(outfile,"newpath\n");
- ps_path_count = 0;
- ***************
- *** 246,252 ****
- PS_reset()
- {
- fprintf(outfile,"%%%%Trailer\n");
- ! fprintf(outfile,"%%%%Pages: %d\n",ps_page);
- }
-
-
- --- 259,266 ----
- PS_reset()
- {
- fprintf(outfile,"%%%%Trailer\n");
- ! if (!ps_eps)
- ! fprintf(outfile,"%%%%Pages: %d\n",ps_page);
- }
-
-
-