home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume40 / gnuplot / part32 < prev    next >
Text File  |  1993-10-29  |  82KB  |  2,947 lines

  1. Newsgroups: comp.sources.misc
  2. From: woo@playfair.stanford.edu ("Alexander Woo")
  3. Subject: v40i044:  gnuplot - interactive function plotting utility, Part32/33
  4. Message-ID: <1993Oct25.030538.2982@sparky.sterling.com>
  5. X-Md4-Signature: 9d0f4ffaf56f15becf0ac4055172b405
  6. Sender: kent@sparky.sterling.com (Kent Landfield)
  7. Organization: Sterling Software
  8. Date: Mon, 25 Oct 1993 03:05:38 GMT
  9. Approved: kent@sparky.sterling.com
  10.  
  11. Submitted-by: woo@playfair.stanford.edu ("Alexander Woo")
  12. Posting-number: Volume 40, Issue 44
  13. Archive-name: gnuplot/part32
  14. Environment: UNIX, MS-DOS, VMS
  15. Supersedes: gnuplot3: Volume 24, Issue 23-48
  16.  
  17. #! /bin/sh
  18. # This is a shell archive.  Remove anything before this line, then feed it
  19. # into a shell via "sh file" or similar.  To overwrite existing files,
  20. # type "sh file -c".
  21. # Contents:  gnuplot/0CONFIG gnuplot/Copyright gnuplot/README.3p1
  22. #   gnuplot/README.ami gnuplot/README.gnu gnuplot/README.nex
  23. #   gnuplot/README.win gnuplot/configure.in gnuplot/demo/animate.dem
  24. #   gnuplot/demo/electron.dem gnuplot/demo/errorbar.dem
  25. #   gnuplot/demo/hidden.dem gnuplot/demo/multimsh.dem
  26. #   gnuplot/demo/param.dem gnuplot/demo/polar.dem
  27. #   gnuplot/demo/scatter.dem gnuplot/demo/scatter2.dat
  28. #   gnuplot/demo/simple.dem gnuplot/demo/world.dem
  29. #   gnuplot/docs/checkdoc.c gnuplot/docs/doc2gih.c
  30. #   gnuplot/docs/doc2hlp.c gnuplot/docs/latextut/Makefile.in
  31. #   gnuplot/docs/latextut/eg3.dat gnuplot/docs/latextut/header.tex
  32. #   gnuplot/docs/toc_entr.sty gnuplot/help.h gnuplot/lineproc.mac
  33. #   gnuplot/makefile.vms gnuplot/os2/dialogs.h gnuplot/os2/makefile
  34. #   gnuplot/term/dxy.trm gnuplot/term/impcodes.h
  35. #   gnuplot/term/unixplot.trm gnuplot/term/xlib.trm gnuplot/version.c
  36. #   gnuplot/win/wcommon.h gnuplot/win/wresourc.h
  37. # Wrapped by kent@sparky on Wed Oct 20 17:15:13 1993
  38. PATH=/bin:/usr/bin:/usr/ucb:/usr/local/bin:/usr/lbin ; export PATH
  39. echo If this archive is complete, you will see the following message:
  40. echo '          "shar: End of archive 32 (of 33)."'
  41. if test -f 'gnuplot/0CONFIG' -a "${1}" != "-c" ; then 
  42.   echo shar: Will not clobber existing file \"'gnuplot/0CONFIG'\"
  43. else
  44.   echo shar: Extracting \"'gnuplot/0CONFIG'\" \(878 characters\)
  45.   sed "s/^X//" >'gnuplot/0CONFIG' <<'END_OF_FILE'
  46. X***TEST FEATURE *******
  47. XThis release of gnuplot contains test "configure" scripts.  These have
  48. Xnot been fully tested.  We strongly recommend that you try to use
  49. Xthe makefile corresponding to your system first.
  50. X
  51. X
  52. X*** On Unix, you can use the GNU-style "configure" script and ignore
  53. Xthe complex instructions below.  Besides the standard GNU configure
  54. Xoptions, this one accepts:
  55. X--with-no-readline to disable fancy command-line editing
  56. X--with-cwdrc to read a .gnuplot file in the current directory
  57. X  (security hole)
  58. X--with-lasergnu to install the "lasergnu" shell script for printng a plot
  59. XSee Makefile.in for further comments on options.
  60. X*** There are some things the configure script doesn't know how to
  61. Xdetect yet; see the FIXME lines in configure.in.  If you figure out
  62. Xhow to fix one of them, please send mail to djm@gnu.ai.mit.edu and
  63. Xbug-gnuplot@dartmouth.edu telling how.
  64. X
  65. END_OF_FILE
  66.   if test 878 -ne `wc -c <'gnuplot/0CONFIG'`; then
  67.     echo shar: \"'gnuplot/0CONFIG'\" unpacked with wrong size!
  68.   fi
  69.   # end of 'gnuplot/0CONFIG'
  70. fi
  71. if test -f 'gnuplot/Copyright' -a "${1}" != "-c" ; then 
  72.   echo shar: Will not clobber existing file \"'gnuplot/Copyright'\"
  73. else
  74.   echo shar: Extracting \"'gnuplot/Copyright'\" \(1089 characters\)
  75.   sed "s/^X//" >'gnuplot/Copyright' <<'END_OF_FILE'
  76. X/*
  77. X * Copyright (C) 1986 - 1993   Thomas Williams, Colin Kelley
  78. X *
  79. X * Permission to use, copy, and distribute this software and its
  80. X * documentation for any purpose with or without fee is hereby granted,
  81. X * provided that the above copyright notice appear in all copies and
  82. X * that both that copyright notice and this permission notice appear
  83. X * in supporting documentation.
  84. X *
  85. X * Permission to modify the software is granted, but not the right to
  86. X * distribute the modified code.  Modifications are to be distributed
  87. X * as patches to released version.
  88. X *
  89. X * This software is provided "as is" without express or implied warranty.
  90. X *
  91. X *
  92. X * AUTHORS
  93. X *
  94. X *   Original Software:
  95. X *     Thomas Williams,  Colin Kelley.
  96. X *
  97. X *   Gnuplot 2.0 additions:
  98. X *       Russell Lang, Dave Kotz, John Campbell.
  99. X *
  100. X *   Gnuplot 3.0 additions:
  101. X *       Gershon Elber and many others.
  102. X *
  103. X * Send your comments or suggestions to
  104. X *  info-gnuplot@dartmouth.edu.
  105. X * This is a mailing list; to join it send a note to
  106. X *  info-gnuplot-request@dartmouth.edu.
  107. X * Send bug reports to
  108. X *  bug-gnuplot@dartmouth.edu.
  109. X */
  110. END_OF_FILE
  111.   if test 1089 -ne `wc -c <'gnuplot/Copyright'`; then
  112.     echo shar: \"'gnuplot/Copyright'\" unpacked with wrong size!
  113.   fi
  114.   # end of 'gnuplot/Copyright'
  115. fi
  116. if test -f 'gnuplot/README.3p1' -a "${1}" != "-c" ; then 
  117.   echo shar: Will not clobber existing file \"'gnuplot/README.3p1'\"
  118. else
  119.   echo shar: Extracting \"'gnuplot/README.3p1'\" \(1104 characters\)
  120.   sed "s/^X//" >'gnuplot/README.3p1' <<'END_OF_FILE'
  121. XThis package provides the upgrade of gnuplot 3.0 to patch level 1.
  122. XBelow are the contributers to this upgrade and the modifications made.
  123. X
  124. XThank you all
  125. X
  126. XGershon
  127. X
  128. X----------------------------------------------------------------------------
  129. X
  130. X* Subject: Y log / postscript eps fix
  131. X  Name: Russell Lang
  132. X  Email: rjl@monu1.cc.monash.edu.au
  133. X
  134. X* Subject: HP26 driver to lift text.
  135. X  Name: Bruce Lueckenhoff
  136. X  Email: luechen@cis.udel.edu
  137. X
  138. X* Subject: CRAY prt, UIUC coordinates.
  139. X  Name: Daniel Lewart
  140. X  Email: d-lewart@uiuc.edu
  141. X
  142. X* Subject: AI device
  143. X  Name:    Ray Ghanbari
  144. X  Email: ray@mtl.mit.edu
  145. X
  146. X* Subject: HP_MOTIF on a Snake, X11 for Next
  147. X  Name: Alex Woo
  148. X  Email: woo@ra-next.arc.nasa.gov
  149. X
  150. X* Subject: Mod. to LaTeX for multiple curves/plots, complex atan function fix.
  151. X  Name: Ray Toy???
  152. X  Email: toy@soho.crd.ge.com
  153. X
  154. X* Subject: Fix the "splot 'file.dat'" with only z values.
  155. X  Name: Gershon Elber
  156. X  Email: gershon@gr.utah.edu
  157. X
  158. X* Subject: Underscore prefixed names.
  159. X  Name: Tom Tkacik
  160. X  Email: tkacik@hobbes.cs.gmr.com
  161. X
  162. X* Subject: Amiga port
  163. X  Name: Carsten Steger 
  164. X  Email: stegerc@informatik.tu-muenchen.de
  165. END_OF_FILE
  166.   if test 1104 -ne `wc -c <'gnuplot/README.3p1'`; then
  167.     echo shar: \"'gnuplot/README.3p1'\" unpacked with wrong size!
  168.   fi
  169.   # end of 'gnuplot/README.3p1'
  170. fi
  171. if test -f 'gnuplot/README.ami' -a "${1}" != "-c" ; then 
  172.   echo shar: Will not clobber existing file \"'gnuplot/README.ami'\"
  173. else
  174.   echo shar: Extracting \"'gnuplot/README.ami'\" \(1920 characters\)
  175.   sed "s/^X//" >'gnuplot/README.ami' <<'END_OF_FILE'
  176. XSOME NOTES ON GNUPLOT ON THE AMIGA ...
  177. X
  178. X
  179. X
  180. XEnvironment Variables:
  181. X
  182. X   GNUFONT   You can say "setenv GNUFONT <Fontname>/<Pointsize>" to get the
  183. X             font of your liking on the screen, e.g.:
  184. X             "setenv GNUFONT sapphire/14".
  185. X             Otherwise gnuplot will select the default-font you chose with
  186. X             "Preferences".
  187. X
  188. X   GNUHELP   Allows you to define a pathname for the gnuplot help file.  For
  189. X             example, "setenv GNUHELP TEX:gnuplot.gih"
  190. X
  191. X   GNUPLOT   Your current directory is searched for the file ".gnuplot".
  192. X             If you say "setenv GNUPLOT <Path>" (without the filename!)
  193. X             gnuplot will look for it there.
  194. X
  195. X   GNUTERM   You can define a default driver with "setenv GNUTERM <driver>".
  196. X             A good choice is "setenv GNUTERM amiga" :^)
  197. X
  198. X   SHELL     If you don't like "NewShell" as your shell, you can say
  199. X             "setenv SHELL <Shell>".
  200. X
  201. X
  202. XStack Size:
  203. X
  204. X   A stack size of at least 25000 bytes should be used while running gnuplot.
  205. X   If you use recursive functions, e.g. like in "bivariat.dem", you will have
  206. X   to increase your stack size accordingly. Otherwise gnuplot will exit with
  207. X   a run time error.
  208. X
  209. X
  210. X
  211. X--------------------------   SAS/C 6.1 VERSION   -----------------------------
  212. X
  213. X
  214. XDefault paths/directories:
  215. X
  216. X   Gnuplot looks for the file "gnuplot.gih" in your "S:"-directory unless you
  217. X   specify the full pathname including the filename via "setenv GNUHELP".
  218. X
  219. X
  220. X
  221. X
  222. X---------------------------   AZTEC C VERSION   ------------------------------
  223. X
  224. XDefault paths/directories:
  225. X
  226. X   Gnuplot looks for the "gnuplot.gih" file in "GNUPLOT:docs/gnuplot.gih" if
  227. X   GNUHELP is not defined.   This is defined in the makefile (makefile.ami).
  228. X
  229. X
  230. XTerminal Drivers:
  231. X
  232. X   The Aztec C version can now use the "amiga.trm" driver written by
  233. X   Carsten Steger.  Under KS/WB 2.0, a custom screen will be used with a size
  234. X   specified by the Prefs/Overscan program.
  235. X
  236. END_OF_FILE
  237.   if test 1920 -ne `wc -c <'gnuplot/README.ami'`; then
  238.     echo shar: \"'gnuplot/README.ami'\" unpacked with wrong size!
  239.   fi
  240.   # end of 'gnuplot/README.ami'
  241. fi
  242. if test -f 'gnuplot/README.gnu' -a "${1}" != "-c" ; then 
  243.   echo shar: Will not clobber existing file \"'gnuplot/README.gnu'\"
  244. else
  245.   echo shar: Extracting \"'gnuplot/README.gnu'\" \(1168 characters\)
  246.   sed "s/^X//" >'gnuplot/README.gnu' <<'END_OF_FILE'
  247. XA note to former Gnutex users, from David Kotz (David.Kotz@Dartmouth.edu).
  248. X--------------------------------------------------------------------------
  249. X
  250. XMay 30, 1991
  251. X
  252. XGNUTeX was merged with GNUPLOT beginning with GNUPLOT 2.0.  Many
  253. Xaspects of gnutex 1.6 made it into GNUPLOT 2.0. Unfortunately for
  254. Xthose of us who have a lot of gnutex input files around, not
  255. Xeverything from gnutex is supported by GNUPLOT. To help gnutex users
  256. Xwith the process of adapting to GNUPLOT (and I recommend it), I have
  257. Xincluded a section in the LaTeX/GNUPLOT tutorial (in ./docs/latextut/)
  258. Xabout the differences, and written a translator program.  Please read
  259. Xthe LaTeX/GNUPLOT tutorial.
  260. X
  261. XThe translator was available as part of the GNUPLOT 2.0 release, but
  262. Xhas been removed from the standard distribution of GNUPLOT.  The
  263. Xtranslator is now available for anonymous ftp from cs.duke.edu as
  264. Xdist/sources/gnuplot/gnut2p.tar.Z. It has not changed since GNUPLOT
  265. X2.01 (ie, GNUPLOT 2.0 patchlevel 1).
  266. X
  267. XUsers of gnutex that did not use the LaTeX driver will probably have
  268. Xlittle difficulty adapting.
  269. X
  270. XPlease send all comments, complaints, and suggestions on this subject
  271. Xto David.Kotz@Dartmouth.edu.
  272. END_OF_FILE
  273.   if test 1168 -ne `wc -c <'gnuplot/README.gnu'`; then
  274.     echo shar: \"'gnuplot/README.gnu'\" unpacked with wrong size!
  275.   fi
  276.   # end of 'gnuplot/README.gnu'
  277. fi
  278. if test -f 'gnuplot/README.nex' -a "${1}" != "-c" ; then 
  279.   echo shar: Will not clobber existing file \"'gnuplot/README.nex'\"
  280. else
  281.   echo shar: Extracting \"'gnuplot/README.nex'\" \(1428 characters\)
  282.   sed "s/^X//" >'gnuplot/README.nex' <<'END_OF_FILE'
  283. X        This directory contains version 2 of the additional files
  284. Xyou'll need to get gnuplot3.0 to display it's postscript directly to a
  285. Xwindow instead of going through the klunky process of writing the
  286. Xpostscript to a file and launching Previewer to view the file.  Note
  287. Xthat all input is still done at the shell level! Fancier NeXTStep
  288. Xinterfaces will be a future project.
  289. X
  290. X        This version is faster and leaner than the old method.  It
  291. Xalso does not eat up swap space like the older version (this was
  292. Xparticularly noticeable when doing animation-like plots).  To do this
  293. XI used DPS function calls instead of creating a NXImage and
  294. Xcompositing the stream of commands. I based my code on the program
  295. Xcalled "epsview" in the hackkit tar file on the archive servers.
  296. X
  297. X        The next.trm (next terminal) is basically the post.trm
  298. X(postscript terminal) with the fprintf replaced by DPSPrintf and
  299. Xoutfile by the DPSContext d.  You'll also see that I also used some
  300. Xcode (with modifications) from David S. Joerg's MovieApp.  Using the
  301. XDPS functions enabled me to slim down the EpsViewer.[hm] and
  302. XEPSView.[hm] files.
  303. X
  304. X        No claim is made to code elegance or to it being a good example of
  305. Xobjective-c coding.  This is my first (well, second, sort of) objective-c
  306. Xprogram. It seems to work for me. Any constructive criticism would be
  307. Xappreciated.  I can be reached at strobel@phast.phys.washington.edu
  308. X
  309. Xcheers!
  310. X
  311. Xnick strobel
  312. END_OF_FILE
  313.   if test 1428 -ne `wc -c <'gnuplot/README.nex'`; then
  314.     echo shar: \"'gnuplot/README.nex'\" unpacked with wrong size!
  315.   fi
  316.   # end of 'gnuplot/README.nex'
  317. fi
  318. if test -f 'gnuplot/README.win' -a "${1}" != "-c" ; then 
  319.   echo shar: Will not clobber existing file \"'gnuplot/README.win'\"
  320. else
  321.   echo shar: Extracting \"'gnuplot/README.win'\" \(1270 characters\)
  322.   sed "s/^X//" >'gnuplot/README.win' <<'END_OF_FILE'
  323. XREADME file for MS Windows version of gnuplot.
  324. X28th January 1993
  325. X
  326. XWindows gnuplot requires 4 files to run:
  327. X    WGNUPLOT.EXE        Main program
  328. X    WGNUPLOT.DLL        Graphics and Text window library
  329. X    WGNUPLOT.HLP        Windows Help file
  330. X    WGNUPLOT.MNU        Menu file
  331. XThese 4 files must be in the same directory.
  332. X
  333. XMore information is available from gnuplot 'help set terminal windows'.
  334. X
  335. XWGNUPLOT runs in standard and enhanced modes.
  336. X
  337. XWindows 3.1 is preferred, but it will run under Windows 3.0
  338. Xwith the following restrictions:
  339. X1. COMMDLG.DLL and SHELL.DLL (available with Windows 3.1 or Borland C++ 3.1)
  340. X   must be in the windows directory.
  341. X2. WGNUPLOT.HLP produced by Borland C++ 3.1 is in Windows 3.1 format.
  342. X   You need to use the WINHELP.EXE supplied with Borland C++ 3.1.
  343. X3. WGNUPLOT won't run in real mode due to lack of memory.
  344. X4. Truetype fonts are not available in the graph window.
  345. X5. Drag-drop does not work.
  346. X
  347. XThe Borland makefile is makefile.win.
  348. XWindows gnuplot has only been tested with Borland C++ 3.1.  
  349. XBefore making wgnuplot you will need to edit the TC = line 
  350. Xto specify the location of your compiler.
  351. X
  352. XThe Microsoft C 7.0 makefile is makefile.msw.
  353. XThis version has had very little testing and currently crashes
  354. Xif you set samples >= 2048.
  355. X
  356. END_OF_FILE
  357.   if test 1270 -ne `wc -c <'gnuplot/README.win'`; then
  358.     echo shar: \"'gnuplot/README.win'\" unpacked with wrong size!
  359.   fi
  360.   # end of 'gnuplot/README.win'
  361. fi
  362. if test -f 'gnuplot/configure.in' -a "${1}" != "-c" ; then 
  363.   echo shar: Will not clobber existing file \"'gnuplot/configure.in'\"
  364. else
  365.   echo shar: Extracting \"'gnuplot/configure.in'\" \(2186 characters\)
  366.   sed "s/^X//" >'gnuplot/configure.in' <<'END_OF_FILE'
  367. Xdnl Process this file with autoconf to produce a configure script.
  368. Xdnl configure.in for gnuplot 3.5 on Unix.
  369. Xdnl Send any mail about this file to David MacKenzie <djm@gnu.ai.mit.edu>.
  370. Xdnl
  371. XAC_INIT(graphics.c)
  372. X
  373. Xdnl Programs.
  374. XAC_PROG_CC
  375. XAC_PROG_INSTALL
  376. X
  377. Xdnl Optional features.
  378. XAC_WITH(no-readline, , AC_DEFINE(READLINE))
  379. XAC_WITH(cwdrc, , AC_DEFINE(NOCWDRC))
  380. XAC_SUBST(LASERGNU)
  381. XAC_WITH(lasergnu, LASERGNU=lasergnu_install, LASERGNU=lasergnu_noinstall)
  382. X
  383. Xdnl X Window System files.
  384. XAC_SUBST(X_INCLUDES)
  385. XAC_SUBST(X_LIBRARIES)
  386. XAC_SUBST(PROGS)
  387. XAC_FIND_X
  388. Xif test -z "$x_includes" || test -z "$x_libraries"; then
  389. X  X_INCLUDES= X_LIBRARIES= PROGS=
  390. Xelse
  391. X  X_INCLUDES="-I$x_includes" X_LIBRARIES="-L$x_libraries -lX11"
  392. X  PROGS=gnuplot_x11
  393. X  AC_DEFINE(X11)
  394. Xfi
  395. X
  396. Xdnl Operating systems.
  397. Xdnl FIXME AC_DEFINE(ISC22)
  398. Xdnl FIXME AC_DEFINE(KSR)
  399. Xecho checking for NeXT
  400. XAC_PROGRAM_EGREP(yes,
  401. X[#ifdef __NeXT__
  402. X  yes
  403. X#endif
  404. X], AC_DEFINE(NEXT) AC_DEFINE(NeXT))
  405. Xecho checking for OSF/1
  406. XAC_HEADER_CHECK(sys/bkmac.h, AC_DEFINE(OSF1) AC_DEFINE(_OSF_SOURCE))
  407. Xecho checking for Solaris
  408. XAC_HEADER_CHECK(libgenIO.h, AC_DEFINE(SOLARIS))
  409. X
  410. Xdnl Header files.
  411. XAC_HEADER_CHECK(sys/bsdtypes.h, AC_DEFINE(BSD_TYPES))
  412. XAC_HEADER_CHECK(sys/select.h, , AC_DEFINE(OLD_SELECT))
  413. X
  414. Xhave_hdr=
  415. XAC_HEADER_CHECK(termios.h, AC_DEFINE(TERMIOS) have_hdr=1)
  416. Xif test -z "$have_hdr"; then
  417. X  AC_HEADER_CHECK(sgtty.h, AC_DEFINE(SGTTY))
  418. Xfi
  419. X
  420. Xdnl Functions.
  421. Xdnl gamma is called lgamma on apollos.
  422. XAC_FUNC_CHECK(lgamma, AC_DEFINE(GAMMA, lgamma), AC_DEFINE(GAMMA, gamma))
  423. XAC_FUNC_CHECK(getcwd, AC_DEFINE(GETCWD))
  424. XAC_FUNC_CHECK(memcpy, AC_DEFINE(MEMCPY))
  425. XAC_FUNC_CHECK(memset, AC_DEFINE(MEMSET))
  426. XAC_FUNC_CHECK(setlocale, AC_DEFINE(XPG3_LOCALE))
  427. XAC_FUNC_CHECK(setlinebuf, AC_DEFINE(UNIX))
  428. X
  429. Xdnl On SVR3.
  430. Xdnl FIXME AC_DEFINE(CRIPPLED_SELECT)
  431. X
  432. Xdnl Libraries.
  433. Xdnl -lsocket is needed on SVR4.
  434. XAC_HAVE_LIBRARY(socket, LIBS="$LIBS -lsocket")
  435. X
  436. Xdnl How do we detect the Ultrix X libraries?
  437. Xdnl Or is it really a server (run-time) problem?
  438. Xdnl FIXME AC_DEFINE(ULTRIX_KLUDGE)
  439. X
  440. Xdnl Define always.
  441. Xdnl vfork is obsolete, and often broken.
  442. XAC_DEFINE(NOVFORK)
  443. Xdnl Some systems do not predefine this.
  444. XAC_DEFINE(unix)
  445. X
  446. XAC_OUTPUT(Makefile docs/Makefile docs/latextut/Makefile)
  447. END_OF_FILE
  448.   if test 2186 -ne `wc -c <'gnuplot/configure.in'`; then
  449.     echo shar: \"'gnuplot/configure.in'\" unpacked with wrong size!
  450.   fi
  451.   # end of 'gnuplot/configure.in'
  452. fi
  453. if test -f 'gnuplot/demo/animate.dem' -a "${1}" != "-c" ; then 
  454.   echo shar: Will not clobber existing file \"'gnuplot/demo/animate.dem'\"
  455. else
  456.   echo shar: Extracting \"'gnuplot/demo/animate.dem'\" \(818 characters\)
  457.   sed "s/^X//" >'gnuplot/demo/animate.dem' <<'END_OF_FILE'
  458. X#
  459. X#    demo to rotate whale image
  460. X#    Where gnuplot.rot is a gnuplot command file containing something like
  461. X#
  462. X#      zrot=(zrot+10)%360
  463. X#      set view xrot,zrot
  464. X#      replot
  465. X#      reread
  466. X#
  467. X#    The 'reread' command causes the current gnu command file to be reset 
  468. X#    to its starting point before further commands are read from it.  Since
  469. X#    the 'reread' command is in 'gnuplot.rot', the above four commands are
  470. X#    repeated indefinitely, causing the image to rotate about the Z axis.
  471. X#
  472. Xset parametric
  473. Xset hidden3d
  474. Xset nokey
  475. Xset xrange [0:8]
  476. Xset yrange [-4:4]
  477. Xset zrange [-2:2]
  478. Xset data style line
  479. Xset title "Demo of animation capability - Digitized Blue Whale"
  480. Xxrot=60
  481. Xzrot=0
  482. Xsplot "whale.dat"
  483. Xpause -1 "Under MS-DOS, a carriage return is needed to invoke reread"
  484. Xload "gnuplot.rot"
  485. Xset title ""
  486. Xset autosc
  487. Xset nohidden
  488. Xset nopara
  489. Xset key
  490. END_OF_FILE
  491.   if test 818 -ne `wc -c <'gnuplot/demo/animate.dem'`; then
  492.     echo shar: \"'gnuplot/demo/animate.dem'\" unpacked with wrong size!
  493.   fi
  494.   # end of 'gnuplot/demo/animate.dem'
  495. fi
  496. if test -f 'gnuplot/demo/electron.dem' -a "${1}" != "-c" ; then 
  497.   echo shar: Will not clobber existing file \"'gnuplot/demo/electron.dem'\"
  498. else
  499.   echo shar: Extracting \"'gnuplot/demo/electron.dem'\" \(2129 characters\)
  500.   sed "s/^X//" >'gnuplot/demo/electron.dem' <<'END_OF_FILE'
  501. X#
  502. X# $Id: electron.demo 3.38.2.6 1992/11/14 02:25:21 woo Exp $
  503. X#
  504. X# Electronics demo
  505. X#
  506. X# Bipolar Transistor (NPN) Mutual Characteristic
  507. XIe(Vbe)=Ies*exp(Vbe/kT_q)
  508. XIc(Vbe)=alpha*Ie(Vbe)+Ico
  509. Xalpha = 0.99
  510. XIes = 4e-14
  511. XIco = 1e-09
  512. XkT_q = 0.025
  513. Xset dummy Vbe
  514. Xset grid
  515. Xset offsets
  516. Xset nolog
  517. Xset nopolar
  518. Xset samples 160
  519. Xset title "Mutual Characteristic of a Transistor"
  520. Xset xlabel "Vbe (base emmitter voltage)"
  521. Xset xrange [0 : 0.75]
  522. Xset ylabel "Ic (collector current)"
  523. Xset yrange [0 : 0.005]
  524. Xset key .2,.0045
  525. Xset format y "%.4f"
  526. Xplot Ic(Vbe)
  527. Xset format "%g"
  528. X
  529. Xpause -1 "Hit return to continue"
  530. X
  531. X# Junction Field Effect Transistor (JFET) Mutual Characteristic
  532. X# drain current above pinch off
  533. XIda(Vd)=Ido*(1-Vg/Vp)**2
  534. X# drain current below pinch off
  535. XIdb(Vd)=Ido*(2*Vd*(Vg-Vp)-Vd*Vd)/(Vp*Vp)
  536. X# drain current
  537. XId(Vd)= (Vd>Vg-Vp) ? Ida(Vd) : Idb(Vd)
  538. X# drain current at zero gate voltage
  539. XIdo = 2.5
  540. X# pinch off voltage
  541. XVp = -1.25
  542. X# gate voltage
  543. XVg = 0
  544. Xset dummy Vd
  545. Xset nogrid
  546. Xset nokey
  547. Xset offsets 0, 1, 0, 0
  548. Xset title "JFET Mutual Characteristic"
  549. Xset xlabel "Drain voltage Vd (V)"
  550. Xset xrange [0 : 4]
  551. Xset ylabel "Drain current Id (mA)"
  552. Xset yrange [0 : 5]
  553. Xset label "-0.5 Vp" at 4.1,0.625
  554. Xset label "-0.25 Vp" at 4.1,1.4
  555. Xset label "0" at 4.1,2.5
  556. Xset label "Vg = 0.5 Vp" at 4.1,3.9
  557. Xplot Vg=0.5*Vp,Id(Vd),Vg=0.25*Vp,Id(Vd),Vg=0,Id(Vd),Vg=-0.25*Vp,Id(Vd)
  558. Xset nolabel
  559. X
  560. Xpause -1 "Hit return to continue"
  561. X
  562. X# amplitude frequency response
  563. XA(jw) = ({0,1}*jw/({0,1}*jw+p1)) * (1/(1+{0,1}*jw/p2))
  564. Xp1 = 10
  565. Xp2 = 10000
  566. Xset dummy jw
  567. Xset grid
  568. Xset key
  569. Xset logscale xy
  570. Xset offsets 0, 0, 0, 0
  571. Xset title "Amplitude Frequency Response"
  572. Xset xlabel "jw (radians)"
  573. Xset xrange [1.1 : 90000.0]
  574. Xset ylabel "magnitude of A(jw)"
  575. Xset autoscale  y
  576. Xplot abs(A(jw))
  577. X
  578. Xpause -1 "Hit return to continue"
  579. X
  580. X# phase frequency response
  581. Xset nolog y
  582. Xset logscale x
  583. Xset title "Phase Frequency Response"
  584. Xset ylabel "Phase of A(jw) (degrees)"
  585. Xplot 180/pi*arg(A(jw))
  586. X
  587. Xpause -1 "Hit return to continue"
  588. X
  589. X# undo what we've done
  590. Xset dummy x
  591. Xset nogrid
  592. Xset offsets 0,0,0,0
  593. Xset title ""
  594. Xset ylabel ""
  595. Xset xlabel ""
  596. Xset xrange [-10:10]
  597. Xset autoscale xy
  598. Xset key
  599. Xset format xy "%g"
  600. Xset nolabel
  601. Xset nolog
  602. END_OF_FILE
  603.   if test 2129 -ne `wc -c <'gnuplot/demo/electron.dem'`; then
  604.     echo shar: \"'gnuplot/demo/electron.dem'\" unpacked with wrong size!
  605.   fi
  606.   # end of 'gnuplot/demo/electron.dem'
  607. fi
  608. if test -f 'gnuplot/demo/errorbar.dem' -a "${1}" != "-c" ; then 
  609.   echo shar: Will not clobber existing file \"'gnuplot/demo/errorbar.dem'\"
  610. else
  611.   echo shar: Extracting \"'gnuplot/demo/errorbar.dem'\" \(1211 characters\)
  612.   sed "s/^X//" >'gnuplot/demo/errorbar.dem' <<'END_OF_FILE'
  613. X#
  614. X# $Id: errorbar.dem%v 3.38.2.114 1993/04/15 01:48:40 woo Exp woo $
  615. X#
  616. X# 31 Mar 1993  Modified by Daniel S. Lewart (d-lewart@uiuc.edu)
  617. X#
  618. Xset xrange [-3:65]
  619. Xset yrange [ 4:14]
  620. X
  621. Xset title "Demonstration of error bars (both ylow and yhigh, default format)"
  622. Xplot "err.dat" with errorbars
  623. Xpause -1 "Hit return to continue"
  624. X
  625. X# this should look the same
  626. Xset title "Demonstration of error bars (both ylow and yhigh)"
  627. Xplot "err.dat" using 1:2:3:4 with errorbars
  628. Xpause -1 "Hit return to continue"
  629. X
  630. Xset title "Demonstration of error bars (only ydelta)"
  631. Xplot "err.dat" using 1:2:5 with errorbars
  632. Xpause -1 "Hit return to continue"
  633. X
  634. Xset title "Plot data file twice to get lines and errorbars"
  635. Xplot "err.dat" with lines, "err.dat" using 1:2:3:4 with errorbars
  636. Xpause -1 "Hit return to continue"
  637. X
  638. Xset logscale y
  639. Xset title "Demonstration of error bars (only ydelta) with y logscale"
  640. Xplot [-3:65] [1:100] "err.dat" using 1:2:5 with errorbars
  641. Xset nologscale y
  642. Xpause -1 "Hit return to continue"
  643. X
  644. Xset logscale x
  645. Xset title "Demonstration of error bars (only ydelta) with x logscale"
  646. Xplot [1:100] [4:14] "err.dat" using 1:2:5 with errorbars
  647. Xset nologscale x
  648. Xpause -1 "Hit return to continue"
  649. X
  650. Xset autoscale
  651. Xset nologscale
  652. Xset title ""
  653. END_OF_FILE
  654.   if test 1211 -ne `wc -c <'gnuplot/demo/errorbar.dem'`; then
  655.     echo shar: \"'gnuplot/demo/errorbar.dem'\" unpacked with wrong size!
  656.   fi
  657.   # end of 'gnuplot/demo/errorbar.dem'
  658. fi
  659. if test -f 'gnuplot/demo/hidden.dem' -a "${1}" != "-c" ; then 
  660.   echo shar: Will not clobber existing file \"'gnuplot/demo/hidden.dem'\"
  661. else
  662.   echo shar: Extracting \"'gnuplot/demo/hidden.dem'\" \(1072 characters\)
  663.   sed "s/^X//" >'gnuplot/demo/hidden.dem' <<'END_OF_FILE'
  664. X#
  665. X# $Id: hidden.dem%v 3.38.2.61 1993/01/27 02:35:31 woo Exp woo $
  666. X#
  667. X#
  668. Xset samples 20
  669. Xset isosamples 20
  670. Xset hidden3d
  671. Xset title "Hidden line removal of explicit surfaces"
  672. X
  673. X
  674. Xset xrange [-3:3]
  675. Xset yrange [-2:2]
  676. Xsplot 1 / (x*x + y*y + 1)
  677. Xpause -1 "Hit return to continue (1)"
  678. X
  679. Xset xrange [-1:1]
  680. Xset yrange [-1:1]
  681. Xsplot x*y / (x**2 + y**2 + 0.1)
  682. Xpause -1 "Hit return to continue (2)"
  683. X
  684. Xset view 70,45
  685. Xset nocontour
  686. Xset xrange [-3:3]
  687. Xset yrange [-3:3]
  688. Xsplot sin(x*x + y*y) / (x*x + y*y)
  689. Xpause -1 "Hit return to continue (3)"
  690. X
  691. Xset view 60,30
  692. Xset xrange [-3:3]
  693. Xset yrange [-3:3]
  694. Xsplot sin(x) * cos(y)
  695. Xpause -1 "Hit return to continue (4)"
  696. X
  697. Xset view 75,230
  698. Xset contour
  699. Xreplot
  700. Xpause -1 "Hit return to continue (5)"
  701. X
  702. Xset view 80,30,1,1
  703. Xset data style lines
  704. Xset autoscale
  705. Xsplot "glass.dat" using 1
  706. Xpause -1 "Hit return to continue (6)"
  707. X
  708. Xset view 50,
  709. Xset grid
  710. Xreplot
  711. Xpause -1 "Hit return to continue (7)"
  712. X
  713. Xset nocontour
  714. Xset nogrid
  715. Xset nohidden3d
  716. Xset samples 100
  717. Xset isosamples 10
  718. Xset view 60,30,1,1
  719. Xset xrange [-10:10]
  720. Xset yrange [-10:10]
  721. Xset zrange [-10:10]
  722. Xset auto
  723. Xset title "" 0,0
  724. X
  725. X
  726. END_OF_FILE
  727.   if test 1072 -ne `wc -c <'gnuplot/demo/hidden.dem'`; then
  728.     echo shar: \"'gnuplot/demo/hidden.dem'\" unpacked with wrong size!
  729.   fi
  730.   # end of 'gnuplot/demo/hidden.dem'
  731. fi
  732. if test -f 'gnuplot/demo/multimsh.dem' -a "${1}" != "-c" ; then 
  733.   echo shar: Will not clobber existing file \"'gnuplot/demo/multimsh.dem'\"
  734. else
  735.   echo shar: Extracting \"'gnuplot/demo/multimsh.dem'\" \(1028 characters\)
  736.   sed "s/^X//" >'gnuplot/demo/multimsh.dem' <<'END_OF_FILE'
  737. Xset parametric
  738. Xset hidden3d
  739. Xset nokey
  740. Xset xrange [0:8]
  741. Xset yrange [-4:4]
  742. Xset zrange [-2:2]
  743. Xset data style line
  744. Xset title "Demo of multiple mesh per file capability - Digitized Blue Whale"
  745. Xsplot "whale.dat"
  746. Xpause -1 "Press Return"
  747. Xset title "Demo of multiple mesh per file capability - Digitized Blue Whale"
  748. Xset xlabel "Mesh or Network 0"
  749. Xsplot "whale.dat" index 0
  750. Xpause -1 "Press Return"
  751. X
  752. Xset xlabel "Mesh or Network 6"
  753. Xsplot "whale.dat" index 6 using 3:2:1 
  754. Xpause -1 "Press Return"
  755. X
  756. Xset xlabel "Mesh or Network 12"
  757. Xsplot "whale.dat" index 12 with points
  758. Xpause -1 "Press Return"
  759. X
  760. Xset xlabel "Mesh or Network 13"
  761. Xsplot "whale.dat" i 13
  762. Xpause -1 "Press Return - A Loop over Indices could be done with reread"
  763. X
  764. X#  #file "loop"
  765. X#  maxmsh = 16
  766. X#  ind = (ind + 1)%maxmsh
  767. X#  splot "whale.dat" i ind
  768. X#  reread "loop"
  769. X
  770. Xset xlabel "Mesh or Network 4"
  771. Xsplot "whale.dat" i 4
  772. Xpause -1 "Press Return"
  773. X
  774. Xset xlabel "Mesh or Network 5"
  775. Xsplot "whale.dat" i 5
  776. Xpause -1 "Press Return"
  777. X
  778. Xset title ""
  779. Xset xlabel ""
  780. Xset nohidden3d
  781. Xset auto
  782. Xset nopara
  783. END_OF_FILE
  784.   if test 1028 -ne `wc -c <'gnuplot/demo/multimsh.dem'`; then
  785.     echo shar: \"'gnuplot/demo/multimsh.dem'\" unpacked with wrong size!
  786.   fi
  787.   # end of 'gnuplot/demo/multimsh.dem'
  788. fi
  789. if test -f 'gnuplot/demo/param.dem' -a "${1}" != "-c" ; then 
  790.   echo shar: Will not clobber existing file \"'gnuplot/demo/param.dem'\"
  791. else
  792.   echo shar: Extracting \"'gnuplot/demo/param.dem'\" \(987 characters\)
  793.   sed "s/^X//" >'gnuplot/demo/param.dem' <<'END_OF_FILE'
  794. X#
  795. X# $Id: param.demo 3.38 1992/11/06 06:33:50 woo Exp $
  796. X#
  797. X# Show some of the new parametric capabilities.
  798. X#
  799. Xset parametric
  800. Xset dummy t
  801. Xset autoscale
  802. Xset samples 160
  803. Xset title ""
  804. Xplot t,sin(t)/t title "t,sin(t)/t or sin(x)/x"
  805. Xpause -1 "Hit return to continue"
  806. X
  807. Xplot sin(t)/t,t
  808. Xpause -1 "Hit return to continue"
  809. X
  810. Xplot sin(t),cos(t)
  811. Xpause -1 "Hit return to continue"
  812. X
  813. Xset xrange [-3:3]
  814. Xset yrange [-3:3]
  815. Xset title "Parametric Conic Sections"
  816. Xplot -t,t,cos(t),cos(2*t),2*cos(t),sin(t),-cosh(t),sinh(t)
  817. Xset title ""
  818. Xpause -1 "Hit return to continue"
  819. X
  820. Xset xrange [-5:5]
  821. Xset yrange [-5:5]
  822. Xplot tan(t),t,t,tan(t)
  823. Xpause -1 "Hit return to continue"
  824. X
  825. Xset trange [0.00001:3]
  826. Xplot t,log(t),-t,log(t),sin(t),t**2,-sin(t),t**2
  827. Xpause -1 "Hit return to continue"
  828. X
  829. Xset autoscale x
  830. Xset yrange [-1.5:1.5]
  831. Xset trange [0.0001:10*pi]
  832. Xplot sin(t)/t,cos(t)/t
  833. Xpause -1 "Hit return to continue"
  834. X
  835. X# undo what we've done above
  836. Xset noparametric
  837. Xset samples 160
  838. Xset autoscale xy
  839. Xset title ""
  840. Xset offset 0,0,0,0
  841. Xset key
  842. END_OF_FILE
  843.   if test 987 -ne `wc -c <'gnuplot/demo/param.dem'`; then
  844.     echo shar: \"'gnuplot/demo/param.dem'\" unpacked with wrong size!
  845.   fi
  846.   # end of 'gnuplot/demo/param.dem'
  847. fi
  848. if test -f 'gnuplot/demo/polar.dem' -a "${1}" != "-c" ; then 
  849.   echo shar: Will not clobber existing file \"'gnuplot/demo/polar.dem'\"
  850. else
  851.   echo shar: Extracting \"'gnuplot/demo/polar.dem'\" \(1063 characters\)
  852.   sed "s/^X//" >'gnuplot/demo/polar.dem' <<'END_OF_FILE'
  853. X#
  854. X# $Id: polar.dem%v 3.38.2.88 1993/03/04 01:47:16 woo Exp woo $
  855. X#
  856. X# Show some of the new polar capabilities.
  857. X#
  858. Xset noborder
  859. Xset clip
  860. Xset polar
  861. Xset dummy x
  862. Xset samples 160
  863. Xset xrange [0:2*pi]
  864. Xset title "Three circles (with aspect ratio distortion)"
  865. Xplot .5,1,1.5
  866. Xpause -1 "Hit return to continue"
  867. Xset title ""
  868. X
  869. Xplot cos(2*x)
  870. Xpause -1 "Hit return to continue"
  871. X
  872. Xplot 2*sqrt(cos(x)),-2*sqrt(cos(x))
  873. Xpause -1 "Hit return to continue"
  874. X
  875. Xset offset pi/4,pi/4,0,0
  876. Xplot sin(4*x),cos(4*x)
  877. Xset offset 0,0,0,0
  878. Xpause -1 "Hit return to continue"
  879. X
  880. Xset yrange [-5:5]
  881. Xplot x/cos(3*x)
  882. Xpause -1 "Hit return to continue"
  883. Xset autoscale
  884. X
  885. Xplot 1-sin(x)
  886. Xpause -1 "Hit return to continue"
  887. X
  888. Xset xrange [0:12*pi]
  889. Xplot 2*x
  890. Xpause -1 "Hit return to continue"
  891. X
  892. Xbutterfly(x)=exp(cos(x))-2*cos(4*x)+sin(x/12)**5
  893. Xset samples 800
  894. Xpause 0 "This is a big one (many samples), be patient..."
  895. Xset title "Butterfly"
  896. Xset nokey
  897. Xplot butterfly(x)
  898. Xpause -1 "Hit return to continue"
  899. X
  900. X# undo what we've done above
  901. Xset nopolar
  902. Xset samples 160
  903. Xset autoscale xy
  904. Xset title ""
  905. Xset offset 0,0,0,0
  906. Xset key
  907. Xset border
  908. END_OF_FILE
  909.   if test 1063 -ne `wc -c <'gnuplot/demo/polar.dem'`; then
  910.     echo shar: \"'gnuplot/demo/polar.dem'\" unpacked with wrong size!
  911.   fi
  912.   # end of 'gnuplot/demo/polar.dem'
  913. fi
  914. if test -f 'gnuplot/demo/scatter.dem' -a "${1}" != "-c" ; then 
  915.   echo shar: Will not clobber existing file \"'gnuplot/demo/scatter.dem'\"
  916. else
  917.   echo shar: Extracting \"'gnuplot/demo/scatter.dem'\" \(1373 characters\)
  918.   sed "s/^X//" >'gnuplot/demo/scatter.dem' <<'END_OF_FILE'
  919. X#
  920. X# Simple demo to scatter data conversion to grid data.
  921. X#
  922. X
  923. Xset title "Simple demo to scatter data conversion to grid data"
  924. Xset nohidden3d
  925. Xset ticslevel 0.5
  926. Xset view 60,30
  927. Xset autoscale
  928. Xset parametric
  929. Xset data style points
  930. Xset xlabel "data style point - no dgrid"
  931. Xsplot "hemisphr.dat"
  932. Xpause -1 "Hit return to continue (1)"
  933. X
  934. Xset dgrid3d 10,10,1
  935. Xset xlabel " data style lines, dgrid3d 10,10,1"
  936. Xset data style lines
  937. Xsplot "hemisphr.dat"
  938. Xpause -1 "Hit return to continue (2)"
  939. X
  940. Xset dgrid3d ,,4
  941. Xset xlabel " data style lines, dgrid3d ,,4 "
  942. Xset data style lines
  943. Xsplot "hemisphr.dat"
  944. Xpause -1 "Hit return to continue (3)"
  945. X
  946. Xset dgrid3d ,,16
  947. Xset xlabel " data style lines, dgrid3d ,,16"
  948. Xset data style lines
  949. Xsplot "hemisphr.dat"
  950. Xpause -1 "Hit return to continue (4)"
  951. X
  952. Xset contour
  953. Xset xlabel "data style lines, dgrid3d ,,16, contour"
  954. Xsplot "hemisphr.dat"
  955. Xpause -1 "Hit return to continue (5)"
  956. X
  957. Xset nodgrid3d
  958. Xset data style points
  959. Xset xlabel "data style points, nodgrid3d"
  960. Xsplot "scatter2.dat"
  961. Xpause -1 "Hit return to continue (6)"
  962. X
  963. Xset dgrid3d ,,1
  964. Xset xlabel "data style lines, dgrid3d ,,1"
  965. Xset data style lines
  966. Xsplot "scatter2.dat"
  967. Xpause -1 "Hit return to continue (7)"
  968. X
  969. Xset dgrid3d ,,4
  970. Xset xlabel "data style lines, dgrid3d ,,4"
  971. Xset data style lines
  972. Xsplot "scatter2.dat"
  973. Xpause -1 "Hit return to continue (8)"
  974. X
  975. Xset noparametric
  976. Xset nodgrid3d
  977. Xset nocontour
  978. Xset title ""
  979. Xset xlabel ""
  980. END_OF_FILE
  981.   if test 1373 -ne `wc -c <'gnuplot/demo/scatter.dem'`; then
  982.     echo shar: \"'gnuplot/demo/scatter.dem'\" unpacked with wrong size!
  983.   fi
  984.   # end of 'gnuplot/demo/scatter.dem'
  985. fi
  986. if test -f 'gnuplot/demo/scatter2.dat' -a "${1}" != "-c" ; then 
  987.   echo shar: Will not clobber existing file \"'gnuplot/demo/scatter2.dat'\"
  988. else
  989.   echo shar: Extracting \"'gnuplot/demo/scatter2.dat'\" \(1845 characters\)
  990.   sed "s/^X//" >'gnuplot/demo/scatter2.dat' <<'END_OF_FILE'
  991. X25. 1.0 .99443
  992. X25. 10.0 .9406
  993. X25. 20.0 .8749
  994. X25. 30.0 .8030
  995. X25. 40.0 .7195
  996. X25. 50.0 .6190
  997. X25. 60.0 .4844
  998. X25. 70.0 .3409
  999. X25. 80.0 .3170
  1000. X25. 90.0 .3273
  1001. X25. 100.0 .3451
  1002. X25. 110.0 .3656
  1003. X25. 120.0 .3872
  1004. X25. 130.0 .4096
  1005. X25. 140.0 .4321
  1006. X25. 150.0 .4549
  1007. X25. 160.0 .4777
  1008. X25. 170.0 .5005
  1009. X25. 180.0 .5223
  1010. X25. 190.0 .5460
  1011. X25. 200.0 .5687
  1012. X25. 250.0 .6798
  1013. X25. 300.0 .7889
  1014. X25. 350.0 .8962
  1015. X25. 400.0 1.0015
  1016. X25. 450.0 1.1046
  1017. X25. 500.0 1.2063
  1018. X25. 600.0 1.4058
  1019. X25. 700.0 1.6008
  1020. X25. 800.0 1.7920
  1021. X
  1022. X50. 1.0 .99571
  1023. X50. 10.0 .9546
  1024. X50. 20.0 .9066
  1025. X50. 30.0 .8552
  1026. X50. 40.0 .8013
  1027. X50. 50.0 .7436
  1028. X50. 60.0 .6818
  1029. X50. 70.0 .6171
  1030. X50. 80.0 .5541
  1031. X50. 90.0 .5017
  1032. X50. 100.0 .4706
  1033. X50. 110.0 .4605
  1034. X50. 120.0 .4622
  1035. X50. 130.0 .4711
  1036. X50. 140.0 .4841
  1037. X50. 150.0 .4996
  1038. X50. 160.0 .5166
  1039. X50. 170.0 .5346
  1040. X50. 180.0 .5533
  1041. X50. 190.0 .5724
  1042. X50. 200.0 .5906
  1043. X50. 250.0 .6898
  1044. X50. 300.0 .7888
  1045. X50. 350.0 .8880
  1046. X50. 400.0 .9851
  1047. X50. 450.0 1.0813
  1048. X50. 500.0 1.1758
  1049. X50. 600.0 1.3615
  1050. X50. 700.0 1.5430
  1051. X50. 800.0 1.7208
  1052. X
  1053. X75. 1.0 .99661
  1054. X75. 10.0 .9647
  1055. X75. 20.0 .9283
  1056. X75. 30.0 .8904
  1057. X75. 40.0 .8518
  1058. X75. 50.0 .8124
  1059. X75. 60.0 .7723
  1060. X75. 70.0 .7323
  1061. X75. 80.0 .6934
  1062. X75. 90.0 .6572
  1063. X75. 100.0 .6255
  1064. X75. 110.0 .6012
  1065. X75. 120.0 .5847
  1066. X75. 130.0 .5756
  1067. X75. 140.0 .5731
  1068. X75. 150.0 .5770
  1069. X75. 160.0 .5839
  1070. X75. 170.0 .5937
  1071. X75. 180.0 .6055
  1072. X75. 190.0 .6188
  1073. X75. 200.0 .6333
  1074. X75. 250.0 .7149
  1075. X75. 300.0 .8027
  1076. X75. 350.0 .8916
  1077. X75. 400.0 .9802
  1078. X75. 450.0 1.0684
  1079. X75. 500.0 1.1560
  1080. X75. 600.0 1.3293
  1081. X75. 700.0 1.4995
  1082. X
  1083. X100. 1.0 .99727
  1084. X100. 10.0 .9720
  1085. X100. 20.0 .9438
  1086. X100. 30.0 .9153
  1087. X100. 40.0 .8866
  1088. X100. 50.0 .8579
  1089. X100. 60.0 .8295
  1090. X100. 70.0 .8017
  1091. X100. 80.0 .7749
  1092. X100. 90.0 .7497
  1093. X100. 100.0 .7268
  1094. X100. 110.0 .7074
  1095. X100. 120.0 .6913
  1096. X100. 130.0 .6793
  1097. X100. 140.0 .6712
  1098. X100. 150.0 .6668
  1099. X100. 160.0 .6657
  1100. X100. 170.0 .6679
  1101. X100. 180.0 .6728
  1102. X100. 190.0 .6801
  1103. X100. 200.0 .6889
  1104. X100. 250.0 .7494
  1105. X100. 300.0 .8233
  1106. X100. 350.0 .9027
  1107. X100. 400.0 .9839
  1108. X100. 450.0 1.0653
  1109. END_OF_FILE
  1110.   if test 1845 -ne `wc -c <'gnuplot/demo/scatter2.dat'`; then
  1111.     echo shar: \"'gnuplot/demo/scatter2.dat'\" unpacked with wrong size!
  1112.   fi
  1113.   # end of 'gnuplot/demo/scatter2.dat'
  1114. fi
  1115. if test -f 'gnuplot/demo/simple.dem' -a "${1}" != "-c" ; then 
  1116.   echo shar: Will not clobber existing file \"'gnuplot/demo/simple.dem'\"
  1117. else
  1118.   echo shar: Extracting \"'gnuplot/demo/simple.dem'\" \(1229 characters\)
  1119.   sed "s/^X//" >'gnuplot/demo/simple.dem' <<'END_OF_FILE'
  1120. X#
  1121. X# $Id: simple.dem%v 3.38.2.53 1993/01/21 01:20:04 woo Exp woo $
  1122. X#
  1123. X# Requires data files "[123].dat" from this directory,
  1124. X# so change current working directory to this directory before running.
  1125. X# gnuplot> set term <term-type>
  1126. X# gnuplot> load 'simple.dem'
  1127. X#
  1128. Xset samples 50
  1129. Xplot [-10:10] sin(x),atan(x),cos(atan(x))
  1130. Xpause -1 "Hit return to continue"
  1131. X
  1132. Xset samples 100
  1133. Xplot [-pi/2:pi] cos(x),-(sin(x) > sin(x+1) ? sin(x) : sin(x+1))
  1134. Xpause -1 "Hit return to continue"
  1135. X
  1136. Xset samples 200
  1137. Xplot [-3:5] asin(x),acos(x)
  1138. Xpause -1 "Hit return to continue"
  1139. X
  1140. Xplot [-30:20] besj0(x)*0.12e1 with impulses, (x**besj0(x))-2.5 with points
  1141. Xpause -1 "Hit return to continue"
  1142. X
  1143. Xset samples 400
  1144. Xplot [-10:10] real(sin(x)**besj0(x))
  1145. Xpause -1 "Hit return to continue"
  1146. X
  1147. Xplot [-5*pi:5*pi] [-5:5] real(tan(x)/atan(x)), 1/x
  1148. Xpause -1 "Hit return to continue"
  1149. X
  1150. Xset autoscale
  1151. Xset samples 800
  1152. Xplot [-30:20] sin(x*20)*atan(x)
  1153. Xpause -1 "Hit return to continue"
  1154. X
  1155. Xplot [-19:19] '1.dat'with impulses ,'2.dat' ,'3.dat' with lines
  1156. Xpause -1 "Hit return to continue"
  1157. Xf(x) = x/100
  1158. Xplot [-19:19] '1.dat'with impulses ,'2.dat' thru f(x) ,'3.dat' with lines
  1159. Xpause -1 "Hit return to continue"
  1160. X
  1161. X# undo what we have done above
  1162. Xset samples 160
  1163. Xset xrange [-10:10]
  1164. Xset autoscale xy
  1165. END_OF_FILE
  1166.   if test 1229 -ne `wc -c <'gnuplot/demo/simple.dem'`; then
  1167.     echo shar: \"'gnuplot/demo/simple.dem'\" unpacked with wrong size!
  1168.   fi
  1169.   # end of 'gnuplot/demo/simple.dem'
  1170. fi
  1171. if test -f 'gnuplot/demo/world.dem' -a "${1}" != "-c" ; then 
  1172.   echo shar: Will not clobber existing file \"'gnuplot/demo/world.dem'\"
  1173. else
  1174.   echo shar: Extracting \"'gnuplot/demo/world.dem'\" \(1414 characters\)
  1175.   sed "s/^X//" >'gnuplot/demo/world.dem' <<'END_OF_FILE'
  1176. X#
  1177. X# $Id: world.demo 3.38.2.6 1992/11/14 02:25:21 woo Exp $
  1178. X#
  1179. X#
  1180. Xset title "Gnuplot Correspondences"
  1181. Xset nokey
  1182. Xset noborder
  1183. Xset noyzeroaxis
  1184. Xset noxtics
  1185. Xset noytics
  1186. X#
  1187. X# plot world map and correspondent locations as a +
  1188. Xplot 'world.dat' with lines 3 4, 'world.cor' with points 1 2
  1189. Xset title ""
  1190. Xset key
  1191. Xset border
  1192. Xset yzeroaxis
  1193. Xset xtics
  1194. Xset ytics
  1195. Xpause -1 "Hit return to continue"
  1196. X#
  1197. X# plot a '3D version using spherical coordinate system' of the world.
  1198. Xset angles degrees
  1199. Xset title "3D version using spherical coordinate system"
  1200. Xset view 70,40,,2.0
  1201. Xset mapping spherical
  1202. Xset parametric
  1203. Xset samples 32
  1204. Xset isosamples 9
  1205. Xset urange [-pi/2:pi/2]
  1206. Xset vrange [0:2*pi]
  1207. Xsplot cos(u)*cos(v),cos(u)*sin(v),sin(u) with lines 5 6,\
  1208. X'world.dat' with lines 3 4, 'world.cor' with points 1 2
  1209. Xpause -1 "Hit return to continue"
  1210. X#
  1211. X# plot a '3D version using cylindrical coordinate system' of the world.
  1212. Xset title "3D version using cylindrical coordinate system"
  1213. Xset view 70,40,,2.0
  1214. Xset mapping cylindrical
  1215. Xset parametric
  1216. Xset samples 32
  1217. Xset isosamples 9
  1218. Xset urange [-pi:pi]
  1219. Xset vrange [-90:90]
  1220. Xsplot cos(u),sin(u),v with lines 5 6,\
  1221. X'world.dat' with lines 3 4, 'world.cor' with points 1 2
  1222. Xpause -1 "Hit return to continue"
  1223. X
  1224. X
  1225. X#
  1226. X# Clean up:
  1227. X#
  1228. Xset noparametric
  1229. Xset mapping cartesian
  1230. Xset angles radians
  1231. Xset samples 100
  1232. Xset isosamples 10
  1233. Xset view 60,30,1,1
  1234. Xset xrange [-10:10]
  1235. Xset yrange [-10:10]
  1236. Xset zrange [-10:10]
  1237. Xset auto
  1238. Xset title "" 0,0
  1239. END_OF_FILE
  1240.   if test 1414 -ne `wc -c <'gnuplot/demo/world.dem'`; then
  1241.     echo shar: \"'gnuplot/demo/world.dem'\" unpacked with wrong size!
  1242.   fi
  1243.   # end of 'gnuplot/demo/world.dem'
  1244. fi
  1245. if test -f 'gnuplot/docs/checkdoc.c' -a "${1}" != "-c" ; then 
  1246.   echo shar: Will not clobber existing file \"'gnuplot/docs/checkdoc.c'\"
  1247. else
  1248.   echo shar: Extracting \"'gnuplot/docs/checkdoc.c'\" \(1865 characters\)
  1249.   sed "s/^X//" >'gnuplot/docs/checkdoc.c' <<'END_OF_FILE'
  1250. X#ifndef lint
  1251. Xstatic char *RCSid = "$Id: checkdoc.c%v 3.38.2.70 1993/02/08 02:19:29 woo Exp woo $";
  1252. X#endif
  1253. X
  1254. X
  1255. X/*
  1256. X * checkdoc -- check a doc file for correctness of first column. 
  1257. X *
  1258. X * Prints out lines that have an illegal first character.
  1259. X * First character must be space, digit, or ?, @, #, %, 
  1260. X * or line must be empty.
  1261. X *
  1262. X * usage: checkdoc [docfile]
  1263. X * Modified by Russell Lang from hlp2ms.c by Thomas Williams 
  1264. X *
  1265. X * Original version by David Kotz used the following one line script!
  1266. X * sed -e '/^$/d' -e '/^[ 0-9?@#%]/d' gnuplot.doc
  1267. X *
  1268. X */
  1269. X
  1270. X#include <stdio.h>
  1271. X#include <ctype.h>
  1272. X
  1273. X#define MAX_LINE_LEN    256
  1274. X#define TRUE 1
  1275. X#define FALSE 0
  1276. X
  1277. Xmain(argc,argv)
  1278. Xint argc;
  1279. Xchar **argv;
  1280. X{
  1281. XFILE * infile;
  1282. X    infile = stdin;
  1283. X    if (argc > 2) {
  1284. X        fprintf(stderr,"Usage: %s [infile]\n", argv[0]);
  1285. X        exit(1);
  1286. X    }
  1287. X    if (argc == 2) 
  1288. X        if ( (infile = fopen(argv[1],"r")) == (FILE *)NULL) {
  1289. X            fprintf(stderr,"%s: Can't open %s for reading\n",
  1290. X                argv[0], argv[1]);
  1291. X            exit(1);
  1292. X        }
  1293. X
  1294. X    convert(infile, stdout);
  1295. X    exit(0);
  1296. X}
  1297. X
  1298. Xconvert(a,b)
  1299. X    FILE *a,*b;
  1300. X{
  1301. X    static char line[MAX_LINE_LEN];
  1302. X
  1303. X    while (fgets(line,MAX_LINE_LEN,a)) {
  1304. X       process_line(line, b);
  1305. X    }
  1306. X}
  1307. X
  1308. Xprocess_line(line, b)
  1309. X    char *line;
  1310. X    FILE *b;
  1311. X{
  1312. X    static long line_no=0;
  1313. X
  1314. X    line_no++;
  1315. X
  1316. X    switch(line[0]) {        /* control character */
  1317. X       case '?': {            /* interactive help entry */
  1318. X          break;            /* ignore */
  1319. X       }
  1320. X       case '@': {            /* start/end table */
  1321. X          break;            /* ignore */
  1322. X       }
  1323. X       case '#': {            /* latex table entry */
  1324. X          break;            /* ignore */
  1325. X       }
  1326. X       case '%': {            /* troff table entry */
  1327. X          break;            /* ignore */
  1328. X       }
  1329. X       case '\n':            /* empty text line */
  1330. X       case ' ': {            /* normal text line */
  1331. X          break;
  1332. X       }
  1333. X       default: {
  1334. X          if (isdigit(line[0])) { /* start of section */
  1335. X                  /* ignore */
  1336. X          } else
  1337. X            fprintf(b, "%ld:%s", line_no, line);    /* output bad line */
  1338. X          break;
  1339. X       }
  1340. X    }
  1341. X}
  1342. X
  1343. END_OF_FILE
  1344.   if test 1865 -ne `wc -c <'gnuplot/docs/checkdoc.c'`; then
  1345.     echo shar: \"'gnuplot/docs/checkdoc.c'\" unpacked with wrong size!
  1346.   fi
  1347.   # end of 'gnuplot/docs/checkdoc.c'
  1348. fi
  1349. if test -f 'gnuplot/docs/doc2gih.c' -a "${1}" != "-c" ; then 
  1350.   echo shar: Will not clobber existing file \"'gnuplot/docs/doc2gih.c'\"
  1351. else
  1352.   echo shar: Extracting \"'gnuplot/docs/doc2gih.c'\" \(2132 characters\)
  1353.   sed "s/^X//" >'gnuplot/docs/doc2gih.c' <<'END_OF_FILE'
  1354. X#ifndef lint
  1355. Xstatic char *RCSid = "$Id: doc2gih.c%v 3.38.2.70 1993/02/08 02:19:29 woo Exp woo $";
  1356. X#endif
  1357. X
  1358. X
  1359. X/*
  1360. X * doc2gih.c  -- program to convert Gnuplot .DOC format to gnuplot
  1361. X * interactive help (.GIH) format.
  1362. X *
  1363. X * This involves stripping all lines with a leading digit or
  1364. X * a leading @, #, or %.
  1365. X * Modified by Russell Lang from hlp2ms.c by Thomas Williams 
  1366. X *
  1367. X * usage:  doc2gih [file.doc [file.gih]]
  1368. X *
  1369. X * Original version by David Kotz used the following one line script!
  1370. X * sed '/^[0-9@#%]/d' file.doc > file.gih
  1371. X */
  1372. X
  1373. X#include <stdio.h>
  1374. X#include <ctype.h>
  1375. X
  1376. X#define MAX_LINE_LEN    256
  1377. X#define TRUE 1
  1378. X#define FALSE 0
  1379. X
  1380. Xmain(argc,argv)
  1381. Xint argc;
  1382. Xchar **argv;
  1383. X{
  1384. XFILE * infile;
  1385. XFILE * outfile;
  1386. X    infile = stdin;
  1387. X    outfile = stdout;
  1388. X    if (argc > 3) {
  1389. X        fprintf(stderr,"Usage: %s [infile [outfile]]\n", argv[0]);
  1390. X        exit(1);
  1391. X    }
  1392. X    if (argc >= 2) 
  1393. X        if ( (infile = fopen(argv[1],"r")) == (FILE *)NULL) {
  1394. X            fprintf(stderr,"%s: Can't open %s for reading\n",
  1395. X                argv[0], argv[1]);
  1396. X            exit(1);
  1397. X        }
  1398. X    if (argc == 3)
  1399. X        if ( (outfile = fopen(argv[2],"w")) == (FILE *)NULL) {
  1400. X            fprintf(stderr,"%s: Can't open %s for writing\n",
  1401. X                argv[0], argv[2]);
  1402. X        }
  1403. X    
  1404. X    convert(infile,outfile);
  1405. X    exit(0);
  1406. X}
  1407. X
  1408. X
  1409. Xconvert(a,b)
  1410. X    FILE *a,*b;
  1411. X{
  1412. X    static char line[MAX_LINE_LEN];
  1413. X
  1414. X    while (fgets(line,MAX_LINE_LEN,a)) {
  1415. X       process_line(line, b);
  1416. X    }
  1417. X}
  1418. X
  1419. Xprocess_line(line, b)
  1420. X    char *line;
  1421. X    FILE *b;
  1422. X{
  1423. X    static int line_count = 0;
  1424. X
  1425. X    line_count++;
  1426. X
  1427. X    switch(line[0]) {        /* control character */
  1428. X       case '?': {            /* interactive help entry */
  1429. X          (void) fputs(line,b); 
  1430. X          break;        
  1431. X       }
  1432. X       case '@': {            /* start/end table */
  1433. X          break;            /* ignore */
  1434. X       }
  1435. X       case '#': {            /* latex table entry */
  1436. X          break;            /* ignore */
  1437. X       }
  1438. X       case '%': {            /* troff table entry */
  1439. X          break;            /* ignore */
  1440. X       }
  1441. X       case '\n':            /* empty text line */
  1442. X       case ' ': {            /* normal text line */
  1443. X          (void) fputs(line,b); 
  1444. X          break;
  1445. X       }
  1446. X       default: {
  1447. X          if (isdigit(line[0])) { /* start of section */
  1448. X                  /* ignore */
  1449. X          } else
  1450. X            fprintf(stderr, "unknown control code '%c' in column 1, line %d\n",
  1451. X                line[0], line_count);
  1452. X          break;
  1453. X       }
  1454. X    }
  1455. X}
  1456. X
  1457. END_OF_FILE
  1458.   if test 2132 -ne `wc -c <'gnuplot/docs/doc2gih.c'`; then
  1459.     echo shar: \"'gnuplot/docs/doc2gih.c'\" unpacked with wrong size!
  1460.   fi
  1461.   # end of 'gnuplot/docs/doc2gih.c'
  1462. fi
  1463. if test -f 'gnuplot/docs/doc2hlp.c' -a "${1}" != "-c" ; then 
  1464.   echo shar: Will not clobber existing file \"'gnuplot/docs/doc2hlp.c'\"
  1465. else
  1466.   echo shar: Extracting \"'gnuplot/docs/doc2hlp.c'\" \(2084 characters\)
  1467.   sed "s/^X//" >'gnuplot/docs/doc2hlp.c' <<'END_OF_FILE'
  1468. X#ifndef lint
  1469. Xstatic char *RCSid = "$Id: doc2hlp.c 3.38.2.6 1992/11/14 02:25:48 woo Exp $";
  1470. X#endif
  1471. X
  1472. X
  1473. X/*
  1474. X * doc2hlp.c  -- program to convert Gnuplot .DOC format to 
  1475. X * VMS help (.HLP) format.
  1476. X *
  1477. X * This involves stripping all lines with a leading ?,
  1478. X * @, #, or %.
  1479. X * Modified by Russell Lang from hlp2ms.c by Thomas Williams 
  1480. X *
  1481. X * usage:  doc2hlp [file.doc [file.hlp]]
  1482. X *
  1483. X * Original version by David Kotz used the following one line script!
  1484. X * sed '/^[?@#%]/d' file.doc > file.hlp
  1485. X */
  1486. X
  1487. X#include <stdio.h>
  1488. X#include <ctype.h>
  1489. X
  1490. X#define MAX_LINE_LEN    256
  1491. X#define TRUE 1
  1492. X#define FALSE 0
  1493. X
  1494. Xmain(argc,argv)
  1495. Xint argc;
  1496. Xchar **argv;
  1497. X{
  1498. XFILE * infile;
  1499. XFILE * outfile;
  1500. X    infile = stdin;
  1501. X    outfile = stdout;
  1502. X    if (argc > 3) {
  1503. X        fprintf(stderr,"Usage: %s [infile [outfile]]\n", argv[0]);
  1504. X        exit(1);
  1505. X    }
  1506. X    if (argc >= 2) 
  1507. X        if ( (infile = fopen(argv[1],"r")) == (FILE *)NULL) {
  1508. X            fprintf(stderr,"%s: Can't open %s for reading\n",
  1509. X                argv[0], argv[1]);
  1510. X            exit(1);
  1511. X        }
  1512. X    if (argc == 3)
  1513. X        if ( (outfile = fopen(argv[2],"w")) == (FILE *)NULL) {
  1514. X            fprintf(stderr,"%s: Can't open %s for writing\n",
  1515. X                argv[0], argv[2]);
  1516. X        }
  1517. X    
  1518. X    convert(infile,outfile);
  1519. X    exit(0);
  1520. X}
  1521. X
  1522. X
  1523. Xconvert(a,b)
  1524. X    FILE *a,*b;
  1525. X{
  1526. X    static char line[MAX_LINE_LEN];
  1527. X
  1528. X    while (fgets(line,MAX_LINE_LEN,a)) {
  1529. X       process_line(line, b);
  1530. X    }
  1531. X}
  1532. X
  1533. Xprocess_line(line, b)
  1534. X    char *line;
  1535. X    FILE *b;
  1536. X{
  1537. X    static int line_count = 0;
  1538. X
  1539. X    line_count++;
  1540. X
  1541. X    switch(line[0]) {        /* control character */
  1542. X       case '?': {            /* interactive help entry */
  1543. X          break;            /* ignore */
  1544. X       }
  1545. X       case '@': {            /* start/end table */
  1546. X          break;            /* ignore */
  1547. X       }
  1548. X       case '#': {            /* latex table entry */
  1549. X          break;            /* ignore */
  1550. X       }
  1551. X       case '%': {            /* troff table entry */
  1552. X          break;            /* ignore */
  1553. X       }
  1554. X       case '\n':            /* empty text line */
  1555. X       case ' ': {            /* normal text line */
  1556. X          (void) fputs(line,b); 
  1557. X          break;
  1558. X       }
  1559. X       default: {
  1560. X          if (isdigit(line[0])) { /* start of section */
  1561. X            (void) fputs(line,b); 
  1562. X          } else
  1563. X            fprintf(stderr, "unknown control code '%c' in column 1, line %d\n", 
  1564. X                  line[0], line_count);
  1565. X          break;
  1566. X       }
  1567. X    }
  1568. X}
  1569. END_OF_FILE
  1570.   if test 2084 -ne `wc -c <'gnuplot/docs/doc2hlp.c'`; then
  1571.     echo shar: \"'gnuplot/docs/doc2hlp.c'\" unpacked with wrong size!
  1572.   fi
  1573.   # end of 'gnuplot/docs/doc2hlp.c'
  1574. fi
  1575. if test -f 'gnuplot/docs/latextut/Makefile.in' -a "${1}" != "-c" ; then 
  1576.   echo shar: Will not clobber existing file \"'gnuplot/docs/latextut/Makefile.in'\"
  1577. else
  1578.   echo shar: Extracting \"'gnuplot/docs/latextut/Makefile.in'\" \(759 characters\)
  1579.   sed "s/^X//" >'gnuplot/docs/latextut/Makefile.in' <<'END_OF_FILE'
  1580. X# Makefile for gnuplot LaTeX tutorial
  1581. X# To make the manual from scratch, we run latex two times
  1582. X
  1583. X.NOEXPORT:
  1584. XSHELL = /bin/sh
  1585. X
  1586. Xsrcdir = @srcdir@
  1587. XVPATH = @srcdir@
  1588. X
  1589. Xprefix = /usr/local
  1590. Xexec_prefix = $(prefix)
  1591. Xbindir = $(exec_prefix)/bin
  1592. Xdatadir = $(prefix)/lib
  1593. Xmandir = $(prefix)/man
  1594. X
  1595. Xall: tutorial.dvi done
  1596. X
  1597. Xdone:
  1598. X    latex tutorial
  1599. X    echo > done
  1600. X
  1601. X# To touch it up after changes:
  1602. Xremake: tutorial.dvi
  1603. X
  1604. X# Always runs latex, e.g., to get labels right
  1605. Xforce:
  1606. X    latex tutorial
  1607. X
  1608. Xtutorial.dvi: eg1.tex eg2.tex eg3.tex eg4.tex eg5.tex eg6.tex linepoin.tex \
  1609. X    tutorial.tex header.tex
  1610. X    latex tutorial
  1611. X    rm -f done
  1612. X
  1613. X.SUFFIXES: .tex .plt
  1614. X
  1615. X.plt.tex:
  1616. X    gnuplot $<
  1617. X
  1618. Xclean:
  1619. X    rm -f *.log eg?.tex linepoin.tex
  1620. X
  1621. Xmostlyclean: clean
  1622. X
  1623. Xdistclean: clean
  1624. X    rm -f Makefile
  1625. X
  1626. Xrealclean: distclean
  1627. END_OF_FILE
  1628.   if test 759 -ne `wc -c <'gnuplot/docs/latextut/Makefile.in'`; then
  1629.     echo shar: \"'gnuplot/docs/latextut/Makefile.in'\" unpacked with wrong size!
  1630.   fi
  1631.   # end of 'gnuplot/docs/latextut/Makefile.in'
  1632. fi
  1633. if test -f 'gnuplot/docs/latextut/eg3.dat' -a "${1}" != "-c" ; then 
  1634.   echo shar: Will not clobber existing file \"'gnuplot/docs/latextut/eg3.dat'\"
  1635. else
  1636.   echo shar: Extracting \"'gnuplot/docs/latextut/eg3.dat'\" \(781 characters\)
  1637.   sed "s/^X//" >'gnuplot/docs/latextut/eg3.dat' <<'END_OF_FILE'
  1638. X-20.000000 -9.125028
  1639. X-19.000000 -9.109280
  1640. X-18.000000 -9.091787
  1641. X-17.000000 -9.072243
  1642. X-16.000000 -9.050265
  1643. X-15.000000 -9.025369
  1644. X-14.000000 -8.996933
  1645. X-13.000000 -8.964147
  1646. X-12.000000 -8.925931
  1647. X-11.000000 -8.880819
  1648. X-10.000000 -8.826766
  1649. X-9.000000 -8.760835
  1650. X-8.000000 -8.678648
  1651. X-7.000000 -8.573396
  1652. X-6.000000 -8.433886
  1653. X-5.000000 -8.240405
  1654. X-4.000000 -7.954906
  1655. X-3.000000 -7.494275
  1656. X-2.000000 -6.642892
  1657. X-1.000000 -4.712389
  1658. X0.000000 0.000000
  1659. X1.000000 4.712389
  1660. X2.000000 6.642892
  1661. X3.000000 7.494275
  1662. X4.000000 7.954906
  1663. X5.000000 8.240405
  1664. X6.000000 8.433886
  1665. X7.000000 8.573396
  1666. X8.000000 8.678648
  1667. X9.000000 8.760835
  1668. X10.000000 8.826766
  1669. X11.000000 8.880819
  1670. X12.000000 8.925931
  1671. X13.000000 8.964147
  1672. X14.000000 8.996933
  1673. X15.000000 9.025369
  1674. X16.000000 9.050265
  1675. X17.000000 9.072243
  1676. X18.000000 9.091787
  1677. X19.000000 9.109280
  1678. END_OF_FILE
  1679.   if test 781 -ne `wc -c <'gnuplot/docs/latextut/eg3.dat'`; then
  1680.     echo shar: \"'gnuplot/docs/latextut/eg3.dat'\" unpacked with wrong size!
  1681.   fi
  1682.   # end of 'gnuplot/docs/latextut/eg3.dat'
  1683. fi
  1684. if test -f 'gnuplot/docs/latextut/header.tex' -a "${1}" != "-c" ; then 
  1685.   echo shar: Will not clobber existing file \"'gnuplot/docs/latextut/header.tex'\"
  1686. else
  1687.   echo shar: Extracting \"'gnuplot/docs/latextut/header.tex'\" \(1677 characters\)
  1688.   sed "s/^X//" >'gnuplot/docs/latextut/header.tex' <<'END_OF_FILE'
  1689. X% 
  1690. X% Header file for tutorial.tex
  1691. X%
  1692. X
  1693. X% Spacing
  1694. X\newcommand{\singlespace}
  1695. X  {\addtolength{\baselineskip}{-.333\baselineskip}}
  1696. X\newcommand{\doublespace}
  1697. X  {\addtolength{\baselineskip}{.5\baselineskip}}
  1698. X
  1699. X% Spacing for the whole document 
  1700. X\newcommand{\currentspace}{} % use this for single space
  1701. X% \newcommand{\currentspace}{\doubleespace} % use this for double space
  1702. X
  1703. X% Common abbreviations
  1704. X% (Remember to put '\ ' after if an interword space is
  1705. X%  desired rather than end-of-sentence space. Same for '.etc)' ).
  1706. X\newcommand{\eg}{{\em e.g.}}        % e.g.
  1707. X\newcommand{\ie}{{\em i.e.}}        % i.e.
  1708. X\newcommand{\etc}{{\em etc.}}        % etc.
  1709. X\newcommand{\vs}{{\em vs.}}        % vs.
  1710. X\newcommand{\usec}{{$\mu$}sec}    % microseconds
  1711. X
  1712. X% \boxfigure{pos}{wid}{text}:  A figure with a box around it
  1713. X%
  1714. X% pos    the usual figure placement arg: eg. htbp
  1715. X% wid    the width of the figure, in some units: eg. 5in
  1716. X% text    the contents of the figure, including picture/caption/label/etc
  1717. X%
  1718. X\newlength{\boxwidth}
  1719. X\newcommand{\boxfigure}[3]{
  1720. X    \begin{figure}[#1]
  1721. X        \setlength{\boxwidth}{#2}
  1722. X        \addtolength{\boxwidth}{.1in}
  1723. X
  1724. X        \centering
  1725. X        \framebox[\boxwidth]{
  1726. X            \begin{minipage}{#2}
  1727. X            #3
  1728. X            \end{minipage}
  1729. X        }
  1730. X    \end{figure}  
  1731. X}
  1732. X
  1733. X% use \fullboxwidth for arg 2 of boxfigure to get box of size \textwidth
  1734. X
  1735. X% To show a syntax for a gnutex command
  1736. X\newenvironment{syntax}{\begin{quote}\tt}{\end{quote}}
  1737. X
  1738. X\documentstyle[titlepage,11pt]{article}
  1739. X
  1740. X% Margins
  1741. X\sloppy
  1742. X\setlength{\textwidth}{6.5in}
  1743. X\setlength{\textheight}{9in}
  1744. X\setlength{\topmargin}{-0.5in}
  1745. X\setlength{\oddsidemargin}{0pt}
  1746. X\setlength{\evensidemargin}{0pt}
  1747. X
  1748. X% see above
  1749. X\newlength{\fullboxwidth}
  1750. X\setlength{\fullboxwidth}{\textwidth}
  1751. X\addtolength{\fullboxwidth}{-0.1in}
  1752. X
  1753. END_OF_FILE
  1754.   if test 1677 -ne `wc -c <'gnuplot/docs/latextut/header.tex'`; then
  1755.     echo shar: \"'gnuplot/docs/latextut/header.tex'\" unpacked with wrong size!
  1756.   fi
  1757.   # end of 'gnuplot/docs/latextut/header.tex'
  1758. fi
  1759. if test -f 'gnuplot/docs/toc_entr.sty' -a "${1}" != "-c" ; then 
  1760.   echo shar: Will not clobber existing file \"'gnuplot/docs/toc_entr.sty'\"
  1761. else
  1762.   echo shar: Extracting \"'gnuplot/docs/toc_entr.sty'\" \(2075 characters\)
  1763.   sed "s/^X//" >'gnuplot/docs/toc_entr.sty' <<'END_OF_FILE'
  1764. X%
  1765. X% $Id: toc_entry.sty 3.38.2.6 1992/11/14 02:25:48 woo Exp $
  1766. X%
  1767. X%
  1768. X%
  1769. X% TOC_ENTRY.STY of 13 Dec 90
  1770. X% written by Stefan Timphus
  1771. X%
  1772. X% Will produce the right space for sectionnumbers in the tableofcontents
  1773. X% Necessary for entries where the number for each kind of section
  1774. X% is greater 10 (e.g. "12.14.18 Sectionname")
  1775. X% When using the original definition the first letter of the sectionname
  1776. X% overwrites the last number of the sectionnumber
  1777. X%
  1778. X% call adjustments with command \adjustSTYLENAME
  1779. X%
  1780. X\typeout{`toc_entry.sty' 1.0 of 13 Dec 90}
  1781. X%
  1782. X% HERE ARE THE ORIGINAL DEFINITIONS
  1783. X%
  1784. X% article.sty
  1785. X%
  1786. X%\def\l@subsection{\@dottedtocline{2}{1.5em}{2.3em}}
  1787. X%\def\l@subsubsection{\@dottedtocline{3}{3.8em}{3.2em}}
  1788. X%\def\l@paragraph{\@dottedtocline{4}{7.0em}{4.1em}}
  1789. X%\def\l@subparagraph{\@dottedtocline{5}{10em}{5em}}
  1790. X% report.sty and book.sty
  1791. X%
  1792. X%\def\l@section{\@dottedtocline{1}{1.5em}{2.3em}}
  1793. X%\def\l@subsection{\@dottedtocline{2}{3.8em}{3.2em}}
  1794. X%\def\l@subsubsection{\@dottedtocline{3}{7.0em}{4.1em}}
  1795. X%\def\l@paragraph{\@dottedtocline{4}{10em}{5em}}
  1796. X%\def\l@subparagraph{\@dottedtocline{5}{12em}{6em}}
  1797. X%
  1798. X% MODIFICATIONS
  1799. X%
  1800. X\newlength{\twonum}
  1801. X        \settowidth{\twonum}{99.99.}
  1802. X\newlength{\threenum}
  1803. X        \settowidth{\threenum}{99.99.99.}
  1804. X\newlength{\fournum}
  1805. X        \settowidth{\fournum}{99.99.99.99.}
  1806. X\newlength{\fivenum}
  1807. X        \settowidth{\fivenum}{99.99.99.99.99.}
  1808. X\newlength{\sixnum}
  1809. X        \settowidth{\sixnum}{99.99.99.99.99.99.}
  1810. X\newcommand{\adjustarticle}
  1811. X{\def\l@subsection{\@dottedtocline{2}{1.5em}{\twonum}}
  1812. X\def\l@subsubsection{\@dottedtocline{3}{4.0em}{\threenum}}
  1813. X\def\l@paragraph{\@dottedtocline{4}{7.8em}{\fournum}}
  1814. X\def\l@subparagraph{\@dottedtocline{5}{10.4em}{\fivenum}}}
  1815. X\newcommand{\adjustreport}
  1816. X{\def\l@section{\@dottedtocline{1}{1.5em}{\twonum}}
  1817. X\def\l@subsection{\@dottedtocline{2}{4.0em}{\threenum}}
  1818. X\def\l@subsubsection{\@dottedtocline{3}{7.8em}{\fournum}}
  1819. X\def\l@paragraph{\@dottedtocline{4}{10.4em}{\fivenum}}
  1820. X\def\l@subparagraph{\@dottedtocline{5}{12.6em}{\sixnum}}}
  1821. X\newcommand{\adjustbook}{\adjustreport}
  1822. X% end of TOC_ENTRY.STY
  1823. END_OF_FILE
  1824.   if test 2075 -ne `wc -c <'gnuplot/docs/toc_entr.sty'`; then
  1825.     echo shar: \"'gnuplot/docs/toc_entr.sty'\" unpacked with wrong size!
  1826.   fi
  1827.   # end of 'gnuplot/docs/toc_entr.sty'
  1828. fi
  1829. if test -f 'gnuplot/help.h' -a "${1}" != "-c" ; then 
  1830.   echo shar: Will not clobber existing file \"'gnuplot/help.h'\"
  1831. else
  1832.   echo shar: Extracting \"'gnuplot/help.h'\" \(2024 characters\)
  1833.   sed "s/^X//" >'gnuplot/help.h' <<'END_OF_FILE'
  1834. X/*
  1835. X * $Id: help.h%v 3.50 1993/07/09 05:35:24 woo Exp $
  1836. X *
  1837. X */
  1838. X
  1839. X/* GNUPLOT - help.h */
  1840. X/*
  1841. X * Copyright (C) 1986 - 1993   Thomas Williams, Colin Kelley
  1842. X *
  1843. X * Permission to use, copy, and distribute this software and its
  1844. X * documentation for any purpose with or without fee is hereby granted, 
  1845. X * provided that the above copyright notice appear in all copies and 
  1846. X * that both that copyright notice and this permission notice appear 
  1847. X * in supporting documentation.
  1848. X *
  1849. X * Permission to modify the software is granted, but not the right to
  1850. X * distribute the modified code.  Modifications are to be distributed 
  1851. X * as patches to released version.
  1852. X *  
  1853. X * This software is provided "as is" without express or implied warranty.
  1854. X * 
  1855. X *
  1856. X * AUTHORS
  1857. X * 
  1858. X *   Original Software:
  1859. X *     Thomas Williams,  Colin Kelley.
  1860. X * 
  1861. X *   Gnuplot 2.0 additions:
  1862. X *       Russell Lang, Dave Kotz, John Campbell.
  1863. X *
  1864. X *   Gnuplot 3.0 additions:
  1865. X *       Gershon Elber and many others.
  1866. X * 
  1867. X * There is a mailing list for gnuplot users. Note, however, that the
  1868. X * newsgroup 
  1869. X *    comp.graphics.gnuplot 
  1870. X * is identical to the mailing list (they
  1871. X * both carry the same set of messages). We prefer that you read the
  1872. X * messages through that newsgroup, to subscribing to the mailing list.
  1873. X * (If you can read that newsgroup, and are already on the mailing list,
  1874. X * please send a message info-gnuplot-request@dartmouth.edu, asking to be
  1875. X * removed from the mailing list.)
  1876. X *
  1877. X * The address for mailing to list members is
  1878. X *       info-gnuplot@dartmouth.edu
  1879. X * and for mailing administrative requests is 
  1880. X *       info-gnuplot-request@dartmouth.edu
  1881. X * The mailing list for bug reports is 
  1882. X *       bug-gnuplot@dartmouth.edu
  1883. X * The list of those interested in beta-test versions is
  1884. X *       info-gnuplot-beta@dartmouth.edu
  1885. X */
  1886. X
  1887. X/* Exit status returned by help() */
  1888. X#define    H_FOUND        0    /* found the keyword */
  1889. X#define    H_NOTFOUND    1    /* didn't find the keyword */
  1890. X#define    H_ERROR        (-1)    /* didn't find the help file */
  1891. X
  1892. Xextern void FreeHelp();        /* use this if you need memory */
  1893. END_OF_FILE
  1894.   if test 2024 -ne `wc -c <'gnuplot/help.h'`; then
  1895.     echo shar: \"'gnuplot/help.h'\" unpacked with wrong size!
  1896.   fi
  1897.   # end of 'gnuplot/help.h'
  1898. fi
  1899. if test -f 'gnuplot/lineproc.mac' -a "${1}" != "-c" ; then 
  1900.   echo shar: Will not clobber existing file \"'gnuplot/lineproc.mac'\"
  1901. else
  1902.   echo shar: Extracting \"'gnuplot/lineproc.mac'\" \(1980 characters\)
  1903.   sed "s/^X//" >'gnuplot/lineproc.mac' <<'END_OF_FILE'
  1904. X; lineproc.mac
  1905. X; MASM macro definition for Bresenham line-drawing routine
  1906. X; Colin Kelley
  1907. X; January 13, 1987
  1908. X
  1909. X
  1910. XINCAX    equ 40h            ; for Self-Modifying Code
  1911. XINCBX    equ 43h
  1912. XDECAX    equ 48h
  1913. XDECBX    equ 4bh
  1914. X
  1915. X; usage:
  1916. X;   lineproc linename, pixelname
  1917. X;
  1918. X; where linemane is the name you want for the proc, and pixelname is the
  1919. X;   name of the routine that linename is to call to set pixels
  1920. X;
  1921. X
  1922. Xlineproc macro linename, pixelname
  1923. Xbeginproc linename
  1924. X
  1925. X    push bp
  1926. X    mov bp,sp
  1927. X    push si
  1928. X    push di
  1929. X    mov ax,[bp+X]        ; x1
  1930. X    mov bx,[bp+X+2]        ; y1
  1931. X    mov cx,[bp+X+4]        ; x2
  1932. X    mov si,[bp+X+6]        ; y2
  1933. X
  1934. X    cmp ax,cx        ; x1,x2
  1935. X    jne i19
  1936. X    cmp bx,si        ; y1,y2
  1937. X    jne i19
  1938. X
  1939. X    call pixelname
  1940. X
  1941. X    jmp i28
  1942. Xi19:
  1943. X    mov dx,ax        ; dx,x1
  1944. X    sub dx,cx        ; x2
  1945. X    jnc noabsx
  1946. X    neg dx
  1947. Xnoabsx:
  1948. X    mov di,bx        ; dy,y1
  1949. X    sub di,si        ; y2
  1950. X    jnc noabsy
  1951. X    neg di            ; dy
  1952. Xnoabsy:
  1953. X    cmp dx,di        ; dx,dy
  1954. X    jb i21            ; go iterate y's
  1955. X;
  1956. X; iterate x's
  1957. X;
  1958. X    cmp bx,si        ; y1,y2
  1959. X    jb forwardy
  1960. X    mov byte ptr cs:yinc1,DECBX
  1961. X    jmp short i22
  1962. Xforwardy:
  1963. X    mov byte ptr cs:yinc1,INCBX
  1964. Xi22:
  1965. X    cmp ax,cx        ; x1,x2
  1966. X    jae l20004
  1967. X    mov byte ptr cs:xinc1,INCAX
  1968. X    jmp short l20005
  1969. Xl20004:
  1970. X    mov byte ptr cs:xinc1,DECAX
  1971. Xl20005:
  1972. X    mov bp,dx        ; sum,dx
  1973. X    shr bp,1        ; sum
  1974. Xd23:
  1975. X    cmp ax,cx        ; x1,x2
  1976. X    je i28            ; done
  1977. Xxinc1:    inc ax            ; may become inc or dec
  1978. X    add bp,di        ; sum,dy
  1979. X    cmp bp,dx
  1980. X    jb i27
  1981. X    sub bp,dx        ; sum,dx
  1982. Xyinc1:    inc bx            ; may become inc or dec
  1983. Xi27:
  1984. X    call pixelname
  1985. X    jmp short d23
  1986. X
  1987. X;
  1988. X; else iterate y's
  1989. X;
  1990. Xi21:
  1991. X    cmp ax,cx        ; x1,x2
  1992. X    jae l20006
  1993. X    mov byte ptr cs:xinc2,INCAX
  1994. X    jmp short l20007
  1995. Xl20006:
  1996. X    mov byte ptr cs:xinc2,DECAX
  1997. Xl20007:
  1998. X    cmp bx,si        ; y1,y2
  1999. X    jb forwardy2
  2000. X    mov byte ptr cs:yinc2,DECBX
  2001. X    jmp short i29
  2002. Xforwardy2:
  2003. X    mov byte ptr cs:yinc2,INCBX
  2004. Xi29:
  2005. X    mov bp,di        ; sum,dy
  2006. X    shr bp,1        ; sum,1
  2007. Xd30:
  2008. X    cmp bx,si        ; y1,y2
  2009. X    je i28
  2010. Xyinc2:    inc bx            ; may become inc or dec
  2011. X    add bp,dx        ; sum,dx
  2012. X    cmp bp,di        ; sum,dy
  2013. X    jb i34
  2014. X    sub bp,di        ; sum,dy
  2015. Xxinc2:    inc ax            ; may become inc or dec
  2016. Xi34:
  2017. X    call near ptr pixelname
  2018. X    jmp short d30
  2019. X;
  2020. X; clean up and exit
  2021. X;
  2022. Xi28:
  2023. X    pop di
  2024. X    pop si
  2025. X    pop bp
  2026. X    ret
  2027. X
  2028. Xlinename endp
  2029. X    endm
  2030. END_OF_FILE
  2031.   if test 1980 -ne `wc -c <'gnuplot/lineproc.mac'`; then
  2032.     echo shar: \"'gnuplot/lineproc.mac'\" unpacked with wrong size!
  2033.   fi
  2034.   # end of 'gnuplot/lineproc.mac'
  2035. fi
  2036. if test -f 'gnuplot/makefile.vms' -a "${1}" != "-c" ; then 
  2037.   echo shar: Will not clobber existing file \"'gnuplot/makefile.vms'\"
  2038. else
  2039.   echo shar: Extracting \"'gnuplot/makefile.vms'\" \(2094 characters\)
  2040.   sed "s/^X//" >'gnuplot/makefile.vms' <<'END_OF_FILE'
  2041. X#
  2042. X# $Id: makefile.vms%v 3.50 1993/07/09 05:35:24 woo Exp $
  2043. X#
  2044. X#
  2045. X#
  2046. X# GNUPLOT Makefile
  2047. X# for VMS
  2048. X# 
  2049. X# use with the MAKE that was posted by Tony Ivanov (tony@gvgpvd.GVG.TEK.COM)
  2050. X# in comp.os.vms on 5 December 1988
  2051. X#
  2052. X
  2053. X# NOOP  NO Optimiser
  2054. XCFLAGS = /NOOP/define=(MEMSET)
  2055. X
  2056. X# /define=(<terminal>) in TERMFLAGS iff you wish to support <terminal>
  2057. X# see other terminal defines in term.h
  2058. X
  2059. XTERMFLAGS = 
  2060. X
  2061. XOBJS =  bitmap.obj,command.obj,contour.obj,eval.obj,graphics.obj,graph3d.obj, \
  2062. X        internal.obj,misc.obj,parse.obj,plot.obj,scanner.obj,setshow.obj, \
  2063. X        specfun.obj,standard.obj,term.obj,util.obj,version.obj
  2064. X
  2065. XCSOURCE1 = command.c setshow.c 
  2066. XCSOURCE2 = help.c graphics.c graph3d.c internal.c 
  2067. XCSOURCE3 = misc.c eval.c parse.c plot.c scanner.c standard.c 
  2068. XCSOURCE4 = bitmap.c term.c util.c version.c
  2069. XCSOURCE5 = [.term]aed.trm [.term]cgi.trm [.term]dumb.trm [.term]dxf.trm [.term]dxy.trm \
  2070. X    [.term]eepic.trm [.term]epson.trm [.term]fig.trm [.term]hp26.trm \
  2071. X    [.term]hp2648.trm [.term]hpgl.trm [.term]hpljii.trm 
  2072. XCSOURCE6 = [.term]impcodes.h [.term]imagen.trm [.term]object.h \
  2073. X    [.term]iris4d.trm [.term]kyo.trm [.term]latex.trm [.term]pbm.trm  \
  2074. X    [.term]pc.trm 
  2075. XCSOURCE7 = [.term]post.trm [.term]qms.trm [.term]regis.trm [.term]sun.trm \
  2076. X    [.term]t410x.trm [.term]tek.trm [.term]unixpc.trm [.term]unixplot.trm \
  2077. X    [.term]v384.trm [.term]x11.trm gnuplot_x11.c
  2078. XCSOURCE8 = contour.c specfun.c
  2079. X
  2080. Xall :   gnuplot.exe gnuplot.hlp gnuplot.hlb
  2081. X
  2082. X
  2083. Xgnuplot.exe : $(OBJS)
  2084. X        link /exe=gnuplot $(OBJS) ,linkopt.vms/opt
  2085. X
  2086. Xgnuplot.hlp : doc2hlp.exe [.docs]gnuplot.doc [.docs]doc2hlp.com
  2087. X        $$@[.docs]doc2hlp.com
  2088. X
  2089. Xgnuplot.hlb : gnuplot.hlp
  2090. X    library/create/help gnuplot.hlb gnuplot.hlp
  2091. X
  2092. Xdoc2hlp.exe: [.docs]doc2hlp.c
  2093. X        cc [.docs]doc2hlp.c
  2094. X        link doc2hlp,linkopt.vms/opt
  2095. X
  2096. Xterm.obj: term.h term.c $(CSOURCE5) $(CSOURCE6) $(CSOURCE7)
  2097. X    $(CC) $(CFLAGS) $(TERMFLAGS) term.c
  2098. X
  2099. X$(OBJS): plot.h
  2100. X
  2101. Xcommand.obj help.obj misc.obj: help.h
  2102. X
  2103. Xcommand.obj graphics.obj graph3d.obj misc.obj plot.obj setshow.obj term.obj: setshow.h
  2104. X
  2105. Xbitmap.obj term.obj: bitmap.h
  2106. X
  2107. Xclean :
  2108. X        purge/log
  2109. X        del/log *.obj;*
  2110. END_OF_FILE
  2111.   if test 2094 -ne `wc -c <'gnuplot/makefile.vms'`; then
  2112.     echo shar: \"'gnuplot/makefile.vms'\" unpacked with wrong size!
  2113.   fi
  2114.   # end of 'gnuplot/makefile.vms'
  2115. fi
  2116. if test -f 'gnuplot/os2/dialogs.h' -a "${1}" != "-c" ; then 
  2117.   echo shar: Will not clobber existing file \"'gnuplot/os2/dialogs.h'\"
  2118. else
  2119.   echo shar: Extracting \"'gnuplot/os2/dialogs.h'\" \(2063 characters\)
  2120.   sed "s/^X//" >'gnuplot/os2/dialogs.h' <<'END_OF_FILE'
  2121. X#define DIALOGS_H
  2122. X#define IDM_HELPINDEX         10004
  2123. X#define IDM_KEYSHELP          10003
  2124. X#define IDM_EXTENDEDHELP      10002
  2125. X#define IDM_HELPFORHELP       10001
  2126. X#define IDM_FILE              100
  2127. X#define IDM_PRINTSETUP        115
  2128. X#define IDM_PRINTPIC          111
  2129. X#define IDM_PRINT             101
  2130. X#define IDM_EXIT              102
  2131. X#define IDM_ABOUT             103
  2132. X#define IDM_FONTS             104
  2133. X#define IDM_SAVE              105
  2134. X#define IDM_COMMAND           300
  2135. X#define IDM_CONTINUE          400
  2136. X#define IDM_PAUSEOPT          120
  2137. X#define IDM_PAUSEDLG          121
  2138. X#define IDM_PAUSEBTN          122
  2139. X#define IDM_PAUSEGNU          123
  2140. X#define IDM_OPTIONS           200
  2141. X#define IDM_OPTIONMAIN        201
  2142. X#define IDM_COLOURS           206
  2143. X#define IDM_LINES             207
  2144. X#define IDM_LINES_THICK       208
  2145. X#define IDM_LINES_SOLID       209
  2146. X#define ID_ABOUT              10
  2147. X#define IDD_COLOURS           20
  2148. X#define IDD_PRINTQNAME        5106
  2149. X#define IDD_PRINTSETUP        5105
  2150. X#define IDD_PRINTPIC          5101
  2151. X#define ID_PRINT              5100
  2152. X#define ID_QPRINT             5000
  2153. X#define ID_QPRINTERS          5200
  2154. X#define IDD_QPRSLIST          5201
  2155. X#define IDD_QPRSSEL           5202
  2156. X#define IDD_QPRNAME           5009
  2157. X#define IDD_QPRFRAME          5008
  2158. X#define IDD_QPRTRACK          5007
  2159. X#define IDD_QPRSETPR          5006
  2160. X#define IDD_QPRXSIZE          5001
  2161. X#define IDD_QPRYSIZE          5002
  2162. X#define IDD_QPRXFRAC          5003
  2163. X#define IDD_QPRYFRAC          5004
  2164. X#define IDD_QPRBOX            5005
  2165. X#define IDD_FONTS             6000
  2166. X#define IDD_PAUSEBOX          3000
  2167. X#define IDD_PAUSETEXT         3001
  2168. X
  2169. X#define IDD_QUERYPRINT              2000
  2170. X#define IDD_QPTEXT                  2001
  2171. X#define IDD_QPLISTBOX               2002
  2172. X#define IDD_QPJOBPROP               2005
  2173. X
  2174. X
  2175. X//#define DID_HELP     10
  2176. X//#define DID_CANCEL   2
  2177. X//#define DID_OK       1
  2178. X#define IDH_EXTENDED          905
  2179. X#define IDH_INDEX             904
  2180. X#define IDH_KEYS              903
  2181. X#define IDH_FOREXTENDED       902
  2182. X#define IDH_FORHELP           901
  2183. X
  2184. X#define IDD_PRINTNAME               5010
  2185. END_OF_FILE
  2186.   if test 2063 -ne `wc -c <'gnuplot/os2/dialogs.h'`; then
  2187.     echo shar: \"'gnuplot/os2/dialogs.h'\" unpacked with wrong size!
  2188.   fi
  2189.   # end of 'gnuplot/os2/dialogs.h'
  2190. fi
  2191. if test -f 'gnuplot/os2/makefile' -a "${1}" != "-c" ; then 
  2192.   echo shar: Will not clobber existing file \"'gnuplot/os2/makefile'\"
  2193. else
  2194.   echo shar: Extracting \"'gnuplot/os2/makefile'\" \(1166 characters\)
  2195.   sed "s/^X//" >'gnuplot/os2/makefile' <<'END_OF_FILE'
  2196. X# makefile for 32-bit version of GnuplotPM driver
  2197. X# compiled using emx 0.8e
  2198. X# -- .c files have // style comments, so require some trickery in
  2199. X# -- order to compile
  2200. X# --    -x c++         treat as c++ ...
  2201. X# --    -U__cpluplus   but don't use some defines in .h files
  2202. X# --    -E             preprocess to strip comments ...
  2203. X# --    -o temp.i      into temp file
  2204. X# --    $(C..temp.i    then compile preprocessed file (whew)
  2205. X#
  2206. X
  2207. XCFLAGS= -c -Zomf -Zsys
  2208. XCC=gcc
  2209. XINCL=/emx/include
  2210. XOBJ=gnupmdrv.obj gclient.obj print.obj dialogs.obj
  2211. X
  2212. X.c.obj:
  2213. X        $(CC) -U__cplusplus -x c++ -I $(INCL) -Ic:/toolkt20/c/os2h -E -o temp.i $*.c
  2214. X    $(CC) $(CFLAGS) -o $*.obj temp.i 
  2215. X        del temp.i
  2216. X
  2217. Xgnupmdrv.exe: gnupmdrv.hlp gnupmdrv.res $(OBJ) gnupmdrv.def
  2218. X     gcc -o gnupmdrv.exe -Zomf -Zsys $(OBJ) gnupmdrv.def -lsys -los2 
  2219. X     rc gnupmdrv.res gnupmdrv.exe
  2220. X
  2221. Xhelp: gnupmdrv.hlp
  2222. X
  2223. Xgnupmdrv.res : gnupmdrv.rc  gnuplot.ico dialogs.h
  2224. X     rc -r gnupmdrv
  2225. X
  2226. Xgnupmdrv.hlp: gnupmdrv.itl
  2227. X    ipfcprep gnupmdrv.itl gnupmdrv.ii -D GENHELP
  2228. X    gcc -E -o gnupmdrv.i -x c -DGENHELP gnupmdrv.ii
  2229. X    ipfc gnupmdrv.i
  2230. X    del gnupmdrv.ii
  2231. X    del gnupmdrv.i
  2232. X
  2233. Xgnuplot.ico: gnuicon.uue
  2234. X    uudecode gnuicon.uue
  2235. END_OF_FILE
  2236.   if test 1166 -ne `wc -c <'gnuplot/os2/makefile'`; then
  2237.     echo shar: \"'gnuplot/os2/makefile'\" unpacked with wrong size!
  2238.   fi
  2239.   # end of 'gnuplot/os2/makefile'
  2240. fi
  2241. if test -f 'gnuplot/term/dxy.trm' -a "${1}" != "-c" ; then 
  2242.   echo shar: Will not clobber existing file \"'gnuplot/term/dxy.trm'\"
  2243. else
  2244.   echo shar: Extracting \"'gnuplot/term/dxy.trm'\" \(2309 characters\)
  2245.   sed "s/^X//" >'gnuplot/term/dxy.trm' <<'END_OF_FILE'
  2246. X/*
  2247. X * $Id: dxy.trm%v 3.50 1993/07/09 05:35:24 woo Exp $
  2248. X *
  2249. X */
  2250. X
  2251. X/* GNUPLOT - dxy.trm */
  2252. X/*
  2253. X * Copyright (C) 1990 - 1993   
  2254. X *
  2255. X * Permission to use, copy, and distribute this software and its
  2256. X * documentation for any purpose with or without fee is hereby granted, 
  2257. X * provided that the above copyright notice appear in all copies and 
  2258. X * that both that copyright notice and this permission notice appear 
  2259. X * in supporting documentation.
  2260. X *
  2261. X * Permission to modify the software is granted, but not the right to
  2262. X * distribute the modified code.  Modifications are to be distributed 
  2263. X * as patches to released version.
  2264. X *  
  2265. X * This software  is provided "as is" without express or implied warranty.
  2266. X * 
  2267. X * This file is included by ../term.c.
  2268. X *
  2269. X * This terminal driver supports:
  2270. X *  Roland DXY800A plotter 
  2271. X *
  2272. X * AUTHORS
  2273. X *  Martin Yii, eln557h@monu3.OZ
  2274. X *  Further modified Jan 1990 by Russell Lang, rjl@monu1.cc.monash.oz
  2275. X * 
  2276. X * send your comments or suggestions to (info-gnuplot@dartmouth.edu).
  2277. X * 
  2278. X */
  2279. X
  2280. X#define DXY_XMAX 2470
  2281. X#define DXY_YMAX 1700
  2282. X
  2283. X#define DXY_XLAST (DXY_XMAX - 1)
  2284. X#define DXY_YLAST (DXY_XMAX - 1)
  2285. X
  2286. X#define DXY_VCHAR    (56)    /* double actual height of characters */
  2287. X#define DXY_HCHAR    (28)    /* actual width including spacing */
  2288. X#define DXY_VTIC    (28)        
  2289. X#define DXY_HTIC    (28)        
  2290. X
  2291. Xint dxy_angle = 0;
  2292. X
  2293. XDXY_init()
  2294. X{
  2295. X/*
  2296. X    No initialisation sequences for DXY 800A
  2297. X*/
  2298. X}
  2299. X
  2300. X
  2301. XDXY_graphics()
  2302. X{
  2303. X    /* HOME, Character size 3 */
  2304. X    fprintf(outfile,"H\nS3\n");
  2305. X}
  2306. X
  2307. X
  2308. XDXY_text()
  2309. X{
  2310. X/*
  2311. X    No sequences needed
  2312. X*/
  2313. X}
  2314. X
  2315. X
  2316. XDXY_linetype(linetype)
  2317. Xint linetype;
  2318. X{
  2319. X    /* select pen */
  2320. X    fprintf(outfile,"J%d\n",(linetype+2)%8+1);
  2321. X    switch(linetype) {
  2322. X       case -1 :  /* use dotted line for axis */
  2323. X               fprintf(outfile,"L1\nB50\n");
  2324. X            break;
  2325. X       default :  /* use solid line for all others */
  2326. X            fprintf(outfile,"L0\n");
  2327. X                break;
  2328. X       }
  2329. X}
  2330. X
  2331. X
  2332. XDXY_move(x,y)
  2333. Xint x,y;
  2334. X{
  2335. X    fprintf(outfile,"M%d,%d\n",x,y);
  2336. X}
  2337. X
  2338. X
  2339. XDXY_vector(x,y)
  2340. Xint x,y;
  2341. X{
  2342. X    fprintf(outfile,"D%d,%d\n",x,y);
  2343. X}
  2344. X
  2345. X
  2346. XDXY_put_text(x,y,str)
  2347. Xint x, y;
  2348. Xchar *str;
  2349. X{
  2350. X    if (dxy_angle == 1 ) 
  2351. X        /* vertical */
  2352. X        DXY_move(x + DXY_VCHAR/4,y);
  2353. X    else
  2354. X        /* horiz */
  2355. X        DXY_move(x,y - DXY_VCHAR/4);
  2356. X    fprintf(outfile,"P%s\n",str);
  2357. X}
  2358. X
  2359. X
  2360. Xint DXY_text_angle(ang)
  2361. Xint ang;
  2362. X{
  2363. X    dxy_angle = ang;
  2364. X    fprintf(outfile,"Q%d\n",ang);
  2365. X    return TRUE;
  2366. X}
  2367. X
  2368. X
  2369. XDXY_reset()
  2370. X{
  2371. X    /* Home pen */
  2372. X    fprintf(outfile,"H\n");
  2373. X}
  2374. X
  2375. END_OF_FILE
  2376.   if test 2309 -ne `wc -c <'gnuplot/term/dxy.trm'`; then
  2377.     echo shar: \"'gnuplot/term/dxy.trm'\" unpacked with wrong size!
  2378.   fi
  2379.   # end of 'gnuplot/term/dxy.trm'
  2380. fi
  2381. if test -f 'gnuplot/term/impcodes.h' -a "${1}" != "-c" ; then 
  2382.   echo shar: Will not clobber existing file \"'gnuplot/term/impcodes.h'\"
  2383. else
  2384.   echo shar: Extracting \"'gnuplot/term/impcodes.h'\" \(1357 characters\)
  2385.   sed "s/^X//" >'gnuplot/term/impcodes.h' <<'END_OF_FILE'
  2386. X/*
  2387. X * $Id: impcodes.h%v 3.50 1993/07/09 05:35:24 woo Exp $
  2388. X */
  2389. X
  2390. X/*
  2391. X * Copyright (c) 1985 Regents of the University of California.
  2392. X * All rights reserved.  The Berkeley software License Agreement
  2393. X * specifies the terms and conditions for redistribution.
  2394. X *
  2395. X *    @(#)imPcodes.h    5.1 (Berkeley) 9/21/85
  2396. X */
  2397. X
  2398. X#define    imP_SP    128
  2399. X#define    imP_SP1    129
  2400. X#define    imP_OLD_MMOVE    130
  2401. X#define    imP_MPLUS    131
  2402. X#define    imP_MMINUS    132
  2403. X#define    imP_MMOVE    133
  2404. X#define    imP_SMOVE    134
  2405. X
  2406. X#define    imP_SET_ABS_H    135
  2407. X#define    imP_SET_REL_H    136
  2408. X#define    imP_SET_ABS_V    137
  2409. X#define    imP_SET_REL_V    138
  2410. X
  2411. X#define    imP_SRULE    192
  2412. X#define    imP_BRULE    193
  2413. X
  2414. X#define    imP_SET_HPOS    195
  2415. X#define    imP_SET_VPOS    196
  2416. X#define    imP_CRLF    197
  2417. X#define    imP_SGLY    198
  2418. X#define    imP_BGLY    199
  2419. X#define    imP_DELG    200
  2420. X#define    imP_DELC    201
  2421. X#define    imP_DELF    202
  2422. X
  2423. X#define    imP_SET_HV_SYSTEM    205
  2424. X#define    imP_SET_ADV_DIRS    206
  2425. X#define    imP_SET_FAMILY    207
  2426. X#define    imP_SET_IL    208
  2427. X#define    imP_SET_BOL    209
  2428. X#define    imP_SET_SP    210
  2429. X#define    imP_PUSH    211
  2430. X#define    imP_POP    212
  2431. X#define    imP_PAGE    213
  2432. X#define    imP_SET_PUSH_MASK    214
  2433. X#define    imP_ENDPAGE    219
  2434. X
  2435. X#define    imP_CREATE_FAMILY_TABLE    221
  2436. X#define    imP_CREATE_MAP    222
  2437. X
  2438. X#define    imP_CREATE_PATH    230
  2439. X#define    imP_SET_TEXTURE    231
  2440. X#define    imP_SET_PEN    232
  2441. X#define    imP_FILL_PATH    233
  2442. X#define    imP_DRAW_PATH    234
  2443. X#define    imP_BITMAP    235
  2444. X#define    imP_SET_MAGN    236
  2445. X#define    imP_SET_DRAW_PATTERN    237
  2446. X
  2447. X#define    imP_EOF    255
  2448. X
  2449. X
  2450. END_OF_FILE
  2451.   if test 1357 -ne `wc -c <'gnuplot/term/impcodes.h'`; then
  2452.     echo shar: \"'gnuplot/term/impcodes.h'\" unpacked with wrong size!
  2453.   fi
  2454.   # end of 'gnuplot/term/impcodes.h'
  2455. fi
  2456. if test -f 'gnuplot/term/unixplot.trm' -a "${1}" != "-c" ; then 
  2457.   echo shar: Will not clobber existing file \"'gnuplot/term/unixplot.trm'\"
  2458. else
  2459.   echo shar: Extracting \"'gnuplot/term/unixplot.trm'\" \(2005 characters\)
  2460.   sed "s/^X//" >'gnuplot/term/unixplot.trm' <<'END_OF_FILE'
  2461. X/*
  2462. X * $Id: unixplot.trm%v 3.50 1993/07/09 05:35:24 woo Exp $
  2463. X *
  2464. X */
  2465. X
  2466. X/* GNUPLOT -- unixplot.trm */
  2467. X/*
  2468. X * Copyright (C) 1990 - 1993   
  2469. X *
  2470. X * Permission to use, copy, and distribute this software and its
  2471. X * documentation for any purpose with or without fee is hereby granted, 
  2472. X * provided that the above copyright notice appear in all copies and 
  2473. X * that both that copyright notice and this permission notice appear 
  2474. X * in supporting documentation.
  2475. X *
  2476. X * Permission to modify the software is granted, but not the right to
  2477. X * distribute the modified code.  Modifications are to be distributed 
  2478. X * as patches to released version.
  2479. X *  
  2480. X * This software  is provided "as is" without express or implied warranty.
  2481. X * 
  2482. X * This file is included by ../term.c.
  2483. X *
  2484. X * This terminal driver supports:
  2485. X *  Unix plot(5) graphics language
  2486. X *
  2487. X * AUTHORS
  2488. X *  Colin Kelley, Thomas Williams, Russell Lang
  2489. X * 
  2490. X * send your comments or suggestions to (info-gnuplot@dartmouth.edu).
  2491. X * 
  2492. X */
  2493. X
  2494. X/*
  2495. XUnixplot library writes to stdout.  A fix was put in place by
  2496. X..!arizona!naucse!jdc to let set term and set output redirect
  2497. Xstdout.  All other terminals write to outfile.
  2498. X*/
  2499. X
  2500. X#define UP_XMAX 4096
  2501. X#define UP_YMAX 4096
  2502. X
  2503. X#define UP_XLAST (UP_XMAX - 1)
  2504. X#define UP_YLAST (UP_YMAX - 1)
  2505. X
  2506. X#define UP_VCHAR (UP_YMAX/30)    /* just a guess--no way to know this! */
  2507. X#define UP_HCHAR (UP_XMAX/60)    /* just a guess--no way to know this! */
  2508. X#define UP_VTIC (UP_YMAX/80)
  2509. X#define UP_HTIC (UP_XMAX/80)
  2510. X
  2511. XUP_init()
  2512. X{
  2513. X    openpl();
  2514. X    space(0, 0, UP_XMAX, UP_YMAX);
  2515. X}
  2516. X
  2517. X
  2518. XUP_graphics()
  2519. X{
  2520. X    erase();
  2521. X}
  2522. X
  2523. X
  2524. XUP_text()
  2525. X{
  2526. X}
  2527. X
  2528. X
  2529. XUP_linetype(linetype)
  2530. Xint linetype;
  2531. X{
  2532. Xstatic char *lt[2+5] = {"solid", "longdashed", "solid", "dotted","shortdashed",
  2533. X    "dotdashed", "longdashed"};
  2534. X
  2535. X    if (linetype >= 5)
  2536. X        linetype %= 5;
  2537. X    linemod(lt[linetype+2]);
  2538. X}
  2539. X
  2540. X
  2541. XUP_move(x,y)
  2542. Xunsigned int x,y;
  2543. X{
  2544. X    move(x,y);
  2545. X}
  2546. X
  2547. X
  2548. XUP_vector(x,y)
  2549. Xunsigned int x,y;
  2550. X{
  2551. X    cont(x,y);
  2552. X}
  2553. X
  2554. X
  2555. XUP_put_text(x,y,str)
  2556. Xunsigned int x,y;
  2557. Xchar str[];
  2558. X{
  2559. X    UP_move(x+UP_HCHAR/2,y+UP_VCHAR/5);
  2560. X    label(str);
  2561. X}
  2562. X
  2563. XUP_reset()
  2564. X{
  2565. X    closepl();
  2566. X}
  2567. X
  2568. END_OF_FILE
  2569.   if test 2005 -ne `wc -c <'gnuplot/term/unixplot.trm'`; then
  2570.     echo shar: \"'gnuplot/term/unixplot.trm'\" unpacked with wrong size!
  2571.   fi
  2572.   # end of 'gnuplot/term/unixplot.trm'
  2573. fi
  2574. if test -f 'gnuplot/term/xlib.trm' -a "${1}" != "-c" ; then 
  2575.   echo shar: Will not clobber existing file \"'gnuplot/term/xlib.trm'\"
  2576. else
  2577.   echo shar: Extracting \"'gnuplot/term/xlib.trm'\" \(1139 characters\)
  2578.   sed "s/^X//" >'gnuplot/term/xlib.trm' <<'END_OF_FILE'
  2579. X/*
  2580. X * $Id: xlib.trm%v 3.50 1993/07/09 05:35:24 woo Exp $
  2581. X */
  2582. X
  2583. X
  2584. X/*
  2585. X * xlib.trm - inboard terminal driver for X11 (dumps gnuplot_x11 commands)
  2586. X *
  2587. X * To be used with gnulib_x11.
  2588. X */
  2589. X
  2590. X#define Xlib_XMAX 4096
  2591. X#define Xlib_YMAX 4096
  2592. X
  2593. X/* approximations for typical font/screen sizes */
  2594. X#define Xlib_VCHAR (Xlib_YMAX/25) 
  2595. X#define Xlib_HCHAR (Xlib_XMAX/100) 
  2596. X#define Xlib_VTIC (Xlib_YMAX/100)
  2597. X#define Xlib_HTIC (Xlib_XMAX/150)
  2598. X
  2599. XXlib_init() { ; }
  2600. X
  2601. XXlib_graphics() { fprintf(outfile, "G\n"); }
  2602. X
  2603. XXlib_text()
  2604. X{ 
  2605. X  fprintf(outfile, "E\n"); fflush(outfile);
  2606. X#ifdef ULTRIX_KLUDGE
  2607. X  fprintf(outfile, "E\n"); fflush(outfile);
  2608. X#endif
  2609. X}
  2610. X
  2611. XXlib_reset() { fprintf(outfile, "R\n"); fflush(outfile); }
  2612. X
  2613. XXlib_move(x,y)
  2614. X     unsigned int x,y;
  2615. X{
  2616. X  fprintf(outfile, "M%04d%04d\n", x, y);
  2617. X}
  2618. X
  2619. XXlib_vector(x,y)
  2620. X     unsigned int x,y;
  2621. X{
  2622. X  fprintf(outfile, "V%04d%04d\n", x, y);
  2623. X}
  2624. X
  2625. XXlib_linetype(lt)
  2626. X     int lt;
  2627. X{
  2628. X  fprintf(outfile, "L%04d\n", lt);
  2629. X}
  2630. X
  2631. XXlib_put_text(x,y,str)
  2632. X     unsigned int x,y;
  2633. X     char str[];
  2634. X{
  2635. X  fprintf(outfile, "T%04d%04d%s\n", x, y, str);
  2636. X}
  2637. X
  2638. XXlib_justify_text(mode)
  2639. X     enum JUSTIFY mode;
  2640. X{
  2641. X  fprintf(outfile, "J%04d\n", mode);
  2642. X  return(TRUE);
  2643. X}
  2644. END_OF_FILE
  2645.   if test 1139 -ne `wc -c <'gnuplot/term/xlib.trm'`; then
  2646.     echo shar: \"'gnuplot/term/xlib.trm'\" unpacked with wrong size!
  2647.   fi
  2648.   # end of 'gnuplot/term/xlib.trm'
  2649. fi
  2650. if test -f 'gnuplot/version.c' -a "${1}" != "-c" ; then 
  2651.   echo shar: Will not clobber existing file \"'gnuplot/version.c'\"
  2652. else
  2653.   echo shar: Extracting \"'gnuplot/version.c'\" \(2261 characters\)
  2654.   sed "s/^X//" >'gnuplot/version.c' <<'END_OF_FILE'
  2655. X/* GNUPLOT - version.c */
  2656. X/*
  2657. X * Copyright (C) 1986 - 1993   Thomas Williams, Colin Kelley
  2658. X *
  2659. X * Permission to use, copy, and distribute this software and its
  2660. X * documentation for any purpose with or without fee is hereby granted, 
  2661. X * provided that the above copyright notice appear in all copies and 
  2662. X * that both that copyright notice and this permission notice appear 
  2663. X * in supporting documentation.
  2664. X *
  2665. X * Permission to modify the software is granted, but not the right to
  2666. X * distribute the modified code.  Modifications are to be distributed 
  2667. X * as patches to released version.
  2668. X *  
  2669. X * This software is provided "as is" without express or implied warranty.
  2670. X * 
  2671. X *
  2672. X * AUTHORS
  2673. X * 
  2674. X *   Original Software:
  2675. X *     Thomas Williams,  Colin Kelley.
  2676. X * 
  2677. X *   Gnuplot 2.0 additions:
  2678. X *       Russell Lang, Dave Kotz, John Campbell.
  2679. X *
  2680. X *   Gnuplot 3.0 additions:
  2681. X *       Gershon Elber and many others.
  2682. X * 
  2683. X *   Gnuplot 3.4 additions:
  2684. X *       Alex Woo and many others.
  2685. X * 
  2686. X * There is a mailing list for gnuplot users. Note, however, that the
  2687. X * newsgroup 
  2688. X *    comp.graphics.gnuplot 
  2689. X * is identical to the mailing list (they
  2690. X * both carry the same set of messages). We prefer that you read the
  2691. X * messages through that newsgroup, to subscribing to the mailing list.
  2692. X * (If you can read that newsgroup, and are already on the mailing list,
  2693. X * please send a message info-gnuplot-request@dartmouth.edu, asking to be
  2694. X * removed from the mailing list.)
  2695. X *
  2696. X * The address for mailing to list members is
  2697. X *       info-gnuplot@dartmouth.edu
  2698. X * and for mailing administrative requests is 
  2699. X *       info-gnuplot-request@dartmouth.edu
  2700. X * The mailing list for bug reports is 
  2701. X *       bug-gnuplot@dartmouth.edu
  2702. X * The list of those interested in beta-test versions is
  2703. X *       info-gnuplot-beta@dartmouth.edu
  2704. Xstatic char *RCSid = "$Id: version.c%v 3.50.1.17 1993/08/27 05:21:33 woo Exp woo $";
  2705. X */
  2706. X
  2707. Xchar version[] = "3.5 ";
  2708. Xchar patchlevel[] = "3.50.1.17, 27 Aug 93";
  2709. Xchar date[] = "Fri Aug 27 05:21:33 GMT 1993 "; 
  2710. Xchar copyright[] = "Copyright(C) 1986 - 1993";
  2711. X
  2712. X
  2713. X/* override in Makefile */
  2714. X#ifndef CONTACT
  2715. X# define CONTACT "bug-gnuplot@dartmouth.edu"
  2716. X#endif
  2717. X#ifndef HELPMAIL
  2718. X# define HELPMAIL "info-gnuplot@dartmouth.edu"
  2719. X#endif
  2720. Xchar bug_email[] = CONTACT;
  2721. Xchar help_email[] = HELPMAIL;
  2722. END_OF_FILE
  2723.   if test 2261 -ne `wc -c <'gnuplot/version.c'`; then
  2724.     echo shar: \"'gnuplot/version.c'\" unpacked with wrong size!
  2725.   fi
  2726.   # end of 'gnuplot/version.c'
  2727. fi
  2728. if test -f 'gnuplot/win/wcommon.h' -a "${1}" != "-c" ; then 
  2729.   echo shar: Will not clobber existing file \"'gnuplot/win/wcommon.h'\"
  2730. else
  2731.   echo shar: Extracting \"'gnuplot/win/wcommon.h'\" \(2167 characters\)
  2732.   sed "s/^X//" >'gnuplot/win/wcommon.h' <<'END_OF_FILE'
  2733. X/*
  2734. X * $Id: wcommon.h%v 3.50 1993/07/09 05:35:24 woo Exp $
  2735. X */
  2736. X
  2737. X/* GNUPLOT - wcommon.h */
  2738. X/*
  2739. X * Copyright (C) 1992   Maurice Castro, Russell Lang
  2740. X *
  2741. X * Permission to use, copy, and distribute this software and its
  2742. X * documentation for any purpose with or without fee is hereby granted, 
  2743. X * provided that the above copyright notice appear in all copies and 
  2744. X * that both that copyright notice and this permission notice appear 
  2745. X * in supporting documentation.
  2746. X *
  2747. X * Permission to modify the software is granted, but not the right to
  2748. X * distribute the modified code.  Modifications are to be distributed 
  2749. X * as patches to released version.
  2750. X *  
  2751. X * This software is provided "as is" without express or implied warranty.
  2752. X * 
  2753. X *
  2754. X * AUTHORS
  2755. X * 
  2756. X *   Maurice Castro
  2757. X *   Russell Lang
  2758. X * 
  2759. X * Send your comments or suggestions to 
  2760. X *  info-gnuplot@dartmouth.edu.
  2761. X * This is a mailing list; to join it send a note to 
  2762. X *  info-gnuplot-request@dartmouth.edu.  
  2763. X * Send bug reports to
  2764. X *  bug-gnuplot@dartmouth.edu.
  2765. X */
  2766. X
  2767. X#if WINVER >= 0x030a
  2768. X#include <shellapi.h>
  2769. X#endif
  2770. X/* this file contains items that are internal to wgnuplot.dll */
  2771. X
  2772. X/* wgnuplib.c */
  2773. Xextern HINSTANCE hdllInstance;
  2774. Xextern LPSTR szParentClass;
  2775. Xextern LPSTR szTextClass;
  2776. Xextern LPSTR szPauseClass;
  2777. Xextern LPSTR szGraphClass;
  2778. Xextern LPSTR szAboutClass;
  2779. X
  2780. Xvoid NEAR * LocalAllocPtr(UINT flags, UINT size);
  2781. Xvoid LocalFreePtr(void NEAR *ptr);
  2782. XLPSTR GetInt(LPSTR str, LPINT pval);
  2783. X
  2784. X/* wtext.c */
  2785. Xvoid UpdateText(LPTW, int);
  2786. Xvoid CreateTextClass(LPTW lptw);
  2787. Xvoid NewLine(LPTW);
  2788. Xvoid TextPutStr(LPTW lptw, LPSTR str);
  2789. Xvoid WriteTextIni(LPTW lptw);
  2790. Xvoid ReadTextIni(LPTW lptw);
  2791. X#if WINVER >= 0x030a
  2792. Xvoid DragFunc(LPTW lptw, HDROP hdrop);
  2793. X#endif
  2794. X
  2795. X/* wmenu.c - Menu */
  2796. Xvoid SendMacro(LPTW lptw, UINT m);
  2797. Xvoid LoadMacros(LPTW lptw);
  2798. Xvoid CloseMacros(LPTW lptw);
  2799. X
  2800. X/* wprinter.c - Printer setup and dump */
  2801. XBOOL PrintSize(HDC printer, HWND hwnd, LPRECT lprect);
  2802. Xvoid PrintRegister(LPPRINT lpr);
  2803. Xvoid PrintUnregister(LPPRINT lpr);
  2804. X#if WINVER >= 0x030a
  2805. XBOOL CALLBACK _export PrintAbortProc(HDC hdcPrn, int code);
  2806. XBOOL CALLBACK _export PrintDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
  2807. X#endif
  2808. X
  2809. X/* wgraph.c */
  2810. X
  2811. END_OF_FILE
  2812.   if test 2167 -ne `wc -c <'gnuplot/win/wcommon.h'`; then
  2813.     echo shar: \"'gnuplot/win/wcommon.h'\" unpacked with wrong size!
  2814.   fi
  2815.   # end of 'gnuplot/win/wcommon.h'
  2816. fi
  2817. if test -f 'gnuplot/win/wresourc.h' -a "${1}" != "-c" ; then 
  2818.   echo shar: Will not clobber existing file \"'gnuplot/win/wresourc.h'\"
  2819. else
  2820.   echo shar: Extracting \"'gnuplot/win/wresourc.h'\" \(2321 characters\)
  2821.   sed "s/^X//" >'gnuplot/win/wresourc.h' <<'END_OF_FILE'
  2822. X/*
  2823. X * $Id: wresourc.h%v 3.50.1.13 1993/08/19 03:21:26 woo Exp $
  2824. X */
  2825. X
  2826. X/* GNUPLOT - win/wresourc.h */
  2827. X/*
  2828. X * Copyright (C) 1992   Maurice Castro, Russell Lang
  2829. X *
  2830. X * Permission to use, copy, and distribute this software and its
  2831. X * documentation for any purpose with or without fee is hereby granted, 
  2832. X * provided that the above copyright notice appear in all copies and 
  2833. X * that both that copyright notice and this permission notice appear 
  2834. X * in supporting documentation.
  2835. X *
  2836. X * Permission to modify the software is granted, but not the right to
  2837. X * distribute the modified code.  Modifications are to be distributed 
  2838. X * as patches to released version.
  2839. X *  
  2840. X * This software is provided "as is" without express or implied warranty.
  2841. X * 
  2842. X *
  2843. X * AUTHORS
  2844. X * 
  2845. X *   Maurice Castro
  2846. X *   Russell Lang
  2847. X * 
  2848. X * Send your comments or suggestions to 
  2849. X *  info-gnuplot@dartmouth.edu.
  2850. X * This is a mailing list; to join it send a note to 
  2851. X *  info-gnuplot-request@dartmouth.edu.  
  2852. X * Send bug reports to
  2853. X *  bug-gnuplot@dartmouth.edu.
  2854. X */
  2855. X
  2856. X/* This contains items internal to wgnuplot.dll
  2857. X   that are used by the Resource Compiler */
  2858. X
  2859. X/* wmenu.c */
  2860. X#define ID_PROMPT 300
  2861. X#define ID_ANSWER 302
  2862. X#define NUMMENU 256
  2863. X
  2864. X/* wpause.c */
  2865. X
  2866. X/* wtext.c */
  2867. X#define AB_ICON 250
  2868. X#define AB_TEXT1 251
  2869. X#define AB_TEXT2 252
  2870. X#define AB_TEXT3 253
  2871. X
  2872. X/* wgraph.c */
  2873. X#define M_GRAPH_TO_TOP NUMMENU+1
  2874. X#define M_CHOOSE_FONT  NUMMENU+2
  2875. X#define M_BACKGROUND   NUMMENU+3
  2876. X#define M_COLOR        NUMMENU+4
  2877. X#define M_COPY_CLIP    NUMMENU+5
  2878. X#define M_LINESTYLE    NUMMENU+6
  2879. X#define M_PRINT        NUMMENU+7
  2880. X#define M_WRITEINI     NUMMENU+8
  2881. X#define M_PASTE        NUMMENU+9
  2882. X#define M_ABOUT        NUMMENU+10
  2883. X#define M_REBUILDTOOLS NUMMENU+11
  2884. X/* wtext.c */
  2885. X#define M_SYSCOLORS    NUMMENU+12
  2886. X
  2887. X/* wprinter.c */
  2888. X#define PSIZE_SBOX 100
  2889. X#define PSIZE_DEF 101
  2890. X#define PSIZE_OTHER 102
  2891. X#define PSIZE_DEFX 103
  2892. X#define PSIZE_DEFY 104
  2893. X#define PSIZE_X 105
  2894. X#define PSIZE_Y 106
  2895. X#define PSIZE_OFFBOX 107
  2896. X#define PSIZE_OFFX 108
  2897. X#define PSIZE_OFFY 109
  2898. X#define CANCEL_PCDONE 120
  2899. X#define SPOOL_PORT 121
  2900. X
  2901. X/* wgraph.c */
  2902. X/* line style dialog box */
  2903. X#define LS_LINENUM 200
  2904. X#define LS_MONOBOX 201
  2905. X#define LS_COLORBOX 202
  2906. X#define LS_MONOSTYLE 203
  2907. X#define LS_MONOWIDTH 204
  2908. X#define LS_CHOOSECOLOR 205
  2909. X#define LS_COLORSAMPLE 206
  2910. X#define LS_COLORSTYLE 207
  2911. X#define LS_COLORWIDTH 208
  2912. X#define LS_DEFAULT 209
  2913. X
  2914. END_OF_FILE
  2915.   if test 2321 -ne `wc -c <'gnuplot/win/wresourc.h'`; then
  2916.     echo shar: \"'gnuplot/win/wresourc.h'\" unpacked with wrong size!
  2917.   fi
  2918.   # end of 'gnuplot/win/wresourc.h'
  2919. fi
  2920. echo shar: End of archive 32 \(of 33\).
  2921. cp /dev/null ark32isdone
  2922. MISSING=""
  2923. for I in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 ; do
  2924.     if test ! -f ark${I}isdone ; then
  2925.     MISSING="${MISSING} ${I}"
  2926.     fi
  2927. done
  2928. if test "${MISSING}" = "" ; then
  2929.     echo You have unpacked all 33 archives.
  2930.     rm -f ark[1-9]isdone ark[1-9][0-9]isdone
  2931. else
  2932.     echo You still must unpack the following archives:
  2933.     echo "        " ${MISSING}
  2934. fi
  2935. exit 0
  2936. exit 0 # Just in case...
  2937.