home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: SHell self-extracting ARchive
(archive/shar).
You can browse this item here: 2985
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| SHell self-extracting ARchive (archive/shar)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news or mail, ASCII text
| default
| |
100%
| TrID
| E-Mail message (Var. 2)
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/329 Shell Archive Format
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/rfc822
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 3a 20 64 66 | 6b 40 64 75 6b 65 2e 63 |From: df|k@duke.c|
|00000010| 73 2e 64 75 6b 65 2e 65 | 64 75 20 28 44 61 76 69 |s.duke.e|du (Davi|
|00000020| 64 20 46 2e 20 4b 6f 74 | 7a 29 0a 4e 65 77 73 67 |d F. Kot|z).Newsg|
|00000030| 72 6f 75 70 73 3a 20 63 | 6f 6d 70 2e 74 65 78 74 |roups: c|omp.text|
|00000040| 2e 74 65 78 2c 61 6c 74 | 2e 73 6f 75 72 63 65 73 |.tex,alt|.sources|
|00000050| 0a 53 75 62 6a 65 63 74 | 3a 20 47 6e 75 70 6c 6f |.Subject|: Gnuplo|
|00000060| 74 20 61 6e 64 20 4c 61 | 54 65 58 20 75 73 65 72 |t and La|TeX user|
|00000070| 73 0a 4d 65 73 73 61 67 | 65 2d 49 44 3a 20 3c 36 |s.Messag|e-ID: <6|
|00000080| 36 38 31 31 33 38 38 38 | 40 67 72 61 64 31 33 2e |68113888|@grad13.|
|00000090| 63 73 2e 64 75 6b 65 2e | 65 64 75 3e 0a 44 61 74 |cs.duke.|edu>.Dat|
|000000a0| 65 3a 20 34 20 4d 61 72 | 20 39 31 20 31 39 3a 31 |e: 4 Mar| 91 19:1|
|000000b0| 31 3a 33 30 20 47 4d 54 | 0a 0a 48 65 72 65 20 61 |1:30 GMT|..Here a|
|000000c0| 72 65 20 73 6f 6d 65 20 | 68 61 6e 64 79 20 74 68 |re some |handy th|
|000000d0| 69 6e 67 73 20 66 6f 72 | 20 67 6e 75 70 6c 6f 74 |ings for| gnuplot|
|000000e0| 20 75 73 65 72 73 20 74 | 68 61 74 20 75 73 65 20 | users t|hat use |
|000000f0| 74 68 65 20 6c 61 74 65 | 78 20 64 72 69 76 65 72 |the late|x driver|
|00000100| 2e 0a 54 68 65 73 65 20 | 61 72 65 20 61 6c 73 6f |..These |are also|
|00000110| 20 61 76 61 69 6c 61 62 | 6c 65 20 66 6f 72 20 66 | availab|le for f|
|00000120| 74 70 20 66 72 6f 6d 20 | 63 73 2e 64 75 6b 65 2e |tp from |cs.duke.|
|00000130| 65 64 75 20 61 73 0a 09 | 20 20 20 64 69 73 74 2f |edu as..| dist/|
|00000140| 73 6f 75 72 63 65 73 2f | 67 6e 75 70 6c 6f 74 2f |sources/|gnuplot/|
|00000150| 67 6e 75 70 6c 6f 74 2d | 6c 61 74 65 78 2e 73 68 |gnuplot-|latex.sh|
|00000160| 61 72 20 0a 54 68 69 73 | 20 69 73 20 61 6e 20 75 |ar .This| is an u|
|00000170| 70 64 61 74 65 20 74 6f | 20 61 6e 20 6f 6c 64 65 |pdate to| an olde|
|00000180| 72 20 76 65 72 73 69 6f | 6e 20 6f 66 20 74 68 69 |r versio|n of thi|
|00000190| 73 20 73 74 75 66 66 20 | 66 72 6f 6d 20 6c 61 73 |s stuff |from las|
|000001a0| 74 20 79 65 61 72 2e 0a | 0a 54 68 65 73 65 20 61 |t year..|.These a|
|000001b0| 72 65 20 73 6f 6d 65 20 | 6d 61 6b 65 66 69 6c 65 |re some |makefile|
|000001c0| 73 2c 20 73 68 65 6c 6c | 20 73 63 72 69 70 74 73 |s, shell| scripts|
|000001d0| 2c 20 61 6e 64 20 6c 61 | 74 65 78 20 63 6f 64 65 |, and la|tex code|
|000001e0| 20 74 68 61 74 20 49 20 | 75 73 65 0a 77 69 74 68 | that I |use.with|
|000001f0| 20 67 6e 75 70 6c 6f 74 | 20 74 6f 20 6d 61 6b 65 | gnuplot| to make|
|00000200| 20 6c 61 74 65 78 20 64 | 6f 63 75 6d 65 6e 74 73 | latex d|ocuments|
|00000210| 20 77 69 74 68 20 70 6c | 6f 74 73 2e 20 59 6f 75 | with pl|ots. You|
|00000220| 20 6d 61 79 20 74 61 69 | 6c 6f 72 20 74 6f 0a 73 | may tai|lor to.s|
|00000230| 75 69 74 20 79 6f 75 72 | 73 65 6c 66 2e 20 54 68 |uit your|self. Th|
|00000240| 65 73 65 20 61 72 65 20 | 76 65 72 79 20 73 68 6f |ese are |very sho|
|00000250| 72 74 2c 20 72 65 61 6c | 6c 79 2e 20 49 20 61 6c |rt, real|ly. I al|
|00000260| 73 6f 20 64 6f 20 6e 6f | 74 20 70 6c 61 6e 20 74 |so do no|t plan t|
|00000270| 6f 0a 72 65 61 6c 6c 79 | 20 73 75 70 70 6f 72 74 |o.really| support|
|00000280| 20 74 68 65 6d 2e 20 49 | 20 6a 75 73 74 20 66 6f | them. I| just fo|
|00000290| 75 6e 64 20 74 68 65 6d | 20 68 61 6e 64 79 2e 20 |und them| handy. |
|000002a0| 0a 0a 44 75 72 69 6e 67 | 20 72 65 76 69 73 69 6f |..During| revisio|
|000002b0| 6e 20 6f 66 20 74 68 65 | 20 64 6f 63 75 6d 65 6e |n of the| documen|
|000002c0| 74 2c 20 77 68 65 6e 20 | 49 20 61 6d 20 63 6f 6e |t, when |I am con|
|000002d0| 63 65 6e 74 72 61 74 69 | 6e 67 20 6f 6e 20 74 68 |centrati|ng on th|
|000002e0| 65 20 74 65 78 74 2c 0a | 49 20 6f 66 74 65 6e 20 |e text,.|I often |
|000002f0| 74 69 72 65 20 6f 66 20 | 77 61 69 74 69 6e 67 20 |tire of |waiting |
|00000300| 66 6f 72 20 6c 61 74 65 | 78 20 28 61 6e 64 20 74 |for late|x (and t|
|00000310| 68 65 20 70 72 69 6e 74 | 65 72 2c 20 6f 72 20 70 |he print|er, or p|
|00000320| 72 65 76 69 65 77 65 72 | 29 20 74 6f 0a 70 72 6f |reviewer|) to.pro|
|00000330| 63 65 73 73 20 70 6c 6f | 74 73 20 74 68 61 74 20 |cess plo|ts that |
|00000340| 49 20 61 6d 20 67 6f 69 | 6e 67 20 74 6f 20 69 67 |I am goi|ng to ig|
|00000350| 6e 6f 72 65 20 61 6e 79 | 77 61 79 2e 20 4f 72 2c |nore any|way. Or,|
|00000360| 20 77 68 65 6e 20 6c 61 | 74 65 78 0a 72 65 71 75 | when la|tex.requ|
|00000370| 69 72 65 73 20 6d 75 6c | 74 69 70 6c 65 20 70 61 |ires mul|tiple pa|
|00000380| 73 73 65 73 20 74 6f 20 | 67 65 74 20 63 72 6f 73 |sses to |get cros|
|00000390| 73 2d 72 65 66 65 72 65 | 6e 63 65 73 20 72 69 67 |s-refere|nces rig|
|000003a0| 68 74 2c 20 49 20 68 61 | 74 65 0a 70 72 6f 63 65 |ht, I ha|te.proce|
|000003b0| 73 73 69 6e 67 20 61 6c | 6c 20 74 68 6f 73 65 20 |ssing al|l those |
|000003c0| 70 6c 6f 74 73 20 6f 76 | 65 72 20 61 6e 64 20 6f |plots ov|er and o|
|000003d0| 76 65 72 2e 20 54 68 65 | 73 65 20 6d 61 63 72 6f |ver. The|se macro|
|000003e0| 73 20 28 31 29 20 6d 61 | 6b 65 20 69 74 0a 65 61 |s (1) ma|ke it.ea|
|000003f0| 73 69 65 72 20 74 6f 20 | 69 6e 63 6c 75 64 65 20 |sier to |include |
|00000400| 70 6c 6f 74 73 20 61 6e | 64 20 28 32 29 20 6d 61 |plots an|d (2) ma|
|00000410| 6b 65 20 74 68 65 20 69 | 6e 69 74 69 61 6c 20 6f |ke the i|nitial o|
|00000420| 72 20 64 72 61 66 74 20 | 70 61 73 73 65 73 20 6f |r draft |passes o|
|00000430| 66 0a 6c 61 74 65 78 20 | 4d 55 43 48 20 66 61 73 |f.latex |MUCH fas|
|00000440| 74 65 72 2c 20 62 79 20 | 69 67 6e 6f 72 69 6e 67 |ter, by |ignoring|
|00000450| 20 74 68 65 20 70 6c 6f | 74 20 63 6f 6e 74 65 6e | the plo|t conten|
|00000460| 74 73 2e 0a 0a 23 21 20 | 2f 62 69 6e 2f 73 68 0a |ts...#! |/bin/sh.|
|00000470| 23 20 54 68 69 73 20 69 | 73 20 61 20 73 68 65 6c |# This i|s a shel|
|00000480| 6c 20 61 72 63 68 69 76 | 65 2c 20 6d 65 61 6e 69 |l archiv|e, meani|
|00000490| 6e 67 3a 0a 23 20 31 2e | 20 52 65 6d 6f 76 65 20 |ng:.# 1.| Remove |
|000004a0| 65 76 65 72 79 74 68 69 | 6e 67 20 61 62 6f 76 65 |everythi|ng above|
|000004b0| 20 74 68 65 20 23 21 20 | 2f 62 69 6e 2f 73 68 20 | the #! |/bin/sh |
|000004c0| 6c 69 6e 65 2e 0a 23 20 | 32 2e 20 53 61 76 65 20 |line..# |2. Save |
|000004d0| 74 68 65 20 72 65 73 75 | 6c 74 69 6e 67 20 74 65 |the resu|lting te|
|000004e0| 78 74 20 69 6e 20 61 20 | 66 69 6c 65 2e 0a 23 20 |xt in a |file..# |
|000004f0| 33 2e 20 45 78 65 63 75 | 74 65 20 74 68 65 20 66 |3. Execu|te the f|
|00000500| 69 6c 65 20 77 69 74 68 | 20 2f 62 69 6e 2f 73 68 |ile with| /bin/sh|
|00000510| 20 28 6e 6f 74 20 63 73 | 68 29 20 74 6f 20 63 72 | (not cs|h) to cr|
|00000520| 65 61 74 65 20 74 68 65 | 20 66 69 6c 65 73 3a 0a |eate the| files:.|
|00000530| 23 09 52 45 41 44 4d 45 | 0a 23 09 66 69 67 73 0a |#.README|.#.figs.|
|00000540| 23 09 70 6c 6f 74 63 6f | 6d 6d 61 6e 64 2e 74 65 |#.plotco|mmand.te|
|00000550| 78 0a 23 09 70 6c 6f 74 | 73 6b 65 6c 0a 23 20 54 |x.#.plot|skel.# T|
|00000560| 68 69 73 20 61 72 63 68 | 69 76 65 20 63 72 65 61 |his arch|ive crea|
|00000570| 74 65 64 3a 20 4d 6f 6e | 20 4d 61 72 20 20 34 20 |ted: Mon| Mar 4 |
|00000580| 31 34 3a 30 36 3a 31 39 | 20 31 39 39 31 0a 23 20 |14:06:19| 1991.# |
|00000590| 42 79 3a 09 44 61 76 69 | 64 20 46 2e 20 4b 6f 74 |By:.Davi|d F. Kot|
|000005a0| 7a 20 28 64 66 6b 40 63 | 73 2e 64 75 6b 65 2e 65 |z (dfk@c|s.duke.e|
|000005b0| 64 75 29 0a 23 20 09 44 | 75 6b 65 20 55 6e 69 76 |du).# .D|uke Univ|
|000005c0| 65 72 73 69 74 79 20 43 | 53 20 44 65 70 74 2e 0a |ersity C|S Dept..|
|000005d0| 65 78 70 6f 72 74 20 50 | 41 54 48 3b 20 50 41 54 |export P|ATH; PAT|
|000005e0| 48 3d 2f 62 69 6e 3a 24 | 50 41 54 48 0a 69 66 20 |H=/bin:$|PATH.if |
|000005f0| 74 65 73 74 20 2d 66 20 | 27 52 45 41 44 4d 45 27 |test -f |'README'|
|00000600| 0a 74 68 65 6e 0a 09 65 | 63 68 6f 20 73 68 61 72 |.then..e|cho shar|
|00000610| 3a 20 77 69 6c 6c 20 6e | 6f 74 20 6f 76 65 72 2d |: will n|ot over-|
|00000620| 77 72 69 74 65 20 65 78 | 69 73 74 69 6e 67 20 66 |write ex|isting f|
|00000630| 69 6c 65 20 22 27 52 45 | 41 44 4d 45 27 22 0a 65 |ile "'RE|ADME'".e|
|00000640| 6c 73 65 0a 73 65 64 20 | 27 73 2f 5e 58 2f 2f 27 |lse.sed |'s/^X//'|
|00000650| 20 3c 3c 20 5c 53 48 41 | 52 5f 45 4f 46 20 3e 20 | << \SHA|R_EOF > |
|00000660| 27 52 45 41 44 4d 45 27 | 0a 58 47 6e 75 70 6c 6f |'README'|.XGnuplo|
|00000670| 74 2d 4c 61 54 65 58 20 | 68 61 6e 64 79 20 74 68 |t-LaTeX |handy th|
|00000680| 69 6e 67 73 20 76 32 2e | 30 20 20 4d 61 72 63 68 |ings v2.|0 March|
|00000690| 20 31 39 39 31 0a 58 0a | 58 48 65 72 65 20 61 72 | 1991.X.|XHere ar|
|000006a0| 65 20 73 6f 6d 65 20 68 | 61 6e 64 79 20 74 68 69 |e some h|andy thi|
|000006b0| 6e 67 73 20 66 6f 72 20 | 67 6e 75 70 6c 6f 74 20 |ngs for |gnuplot |
|000006c0| 75 73 65 72 73 20 74 68 | 61 74 20 75 73 65 20 74 |users th|at use t|
|000006d0| 68 65 20 6c 61 74 65 78 | 20 64 72 69 76 65 72 2e |he latex| driver.|
|000006e0| 0a 58 0a 58 54 68 65 73 | 65 20 61 72 65 20 73 6f |.X.XThes|e are so|
|000006f0| 6d 65 20 6d 61 6b 65 66 | 69 6c 65 73 2c 20 73 68 |me makef|iles, sh|
|00000700| 65 6c 6c 20 73 63 72 69 | 70 74 73 2c 20 61 6e 64 |ell scri|pts, and|
|00000710| 20 6c 61 74 65 78 20 63 | 6f 64 65 20 74 68 61 74 | latex c|ode that|
|00000720| 20 49 20 75 73 65 0a 58 | 77 69 74 68 20 67 6e 75 | I use.X|with gnu|
|00000730| 70 6c 6f 74 20 74 6f 20 | 6d 61 6b 65 20 6c 61 74 |plot to |make lat|
|00000740| 65 78 20 64 6f 63 75 6d | 65 6e 74 73 20 77 69 74 |ex docum|ents wit|
|00000750| 68 20 70 6c 6f 74 73 2e | 20 59 6f 75 20 6d 61 79 |h plots.| You may|
|00000760| 20 74 61 69 6c 6f 72 20 | 74 6f 0a 58 73 75 69 74 | tailor |to.Xsuit|
|00000770| 20 79 6f 75 72 73 65 6c | 66 2e 20 54 68 65 73 65 | yoursel|f. These|
|00000780| 20 61 72 65 20 76 65 72 | 79 20 73 68 6f 72 74 2c | are ver|y short,|
|00000790| 20 72 65 61 6c 6c 79 2e | 20 49 20 61 6c 73 6f 20 | really.| I also |
|000007a0| 64 6f 20 6e 6f 74 20 70 | 6c 61 6e 20 74 6f 0a 58 |do not p|lan to.X|
|000007b0| 72 65 61 6c 6c 79 20 73 | 75 70 70 6f 72 74 20 74 |really s|upport t|
|000007c0| 68 65 6d 2e 20 49 20 6a | 75 73 74 20 66 6f 75 6e |hem. I j|ust foun|
|000007d0| 64 20 74 68 65 6d 20 68 | 61 6e 64 79 2e 20 0a 58 |d them h|andy. .X|
|000007e0| 0a 58 44 75 72 69 6e 67 | 20 72 65 76 69 73 69 6f |.XDuring| revisio|
|000007f0| 6e 20 6f 66 20 74 68 65 | 20 64 6f 63 75 6d 65 6e |n of the| documen|
|00000800| 74 2c 20 77 68 65 6e 20 | 49 20 61 6d 20 63 6f 6e |t, when |I am con|
|00000810| 63 65 6e 74 72 61 74 69 | 6e 67 20 6f 6e 20 74 68 |centrati|ng on th|
|00000820| 65 20 74 65 78 74 2c 0a | 58 49 20 6f 66 74 65 6e |e text,.|XI often|
|00000830| 20 74 69 72 65 20 6f 66 | 20 77 61 69 74 69 6e 67 | tire of| waiting|
|00000840| 20 66 6f 72 20 6c 61 74 | 65 78 20 28 61 6e 64 20 | for lat|ex (and |
|00000850| 74 68 65 20 70 72 69 6e | 74 65 72 2c 20 6f 72 20 |the prin|ter, or |
|00000860| 70 72 65 76 69 65 77 65 | 72 29 20 74 6f 0a 58 70 |previewe|r) to.Xp|
|00000870| 72 6f 63 65 73 73 20 70 | 6c 6f 74 73 20 74 68 61 |rocess p|lots tha|
|00000880| 74 20 49 20 61 6d 20 67 | 6f 69 6e 67 20 74 6f 20 |t I am g|oing to |
|00000890| 69 67 6e 6f 72 65 20 61 | 6e 79 77 61 79 2e 20 4f |ignore a|nyway. O|
|000008a0| 72 2c 20 77 68 65 6e 20 | 6c 61 74 65 78 0a 58 72 |r, when |latex.Xr|
|000008b0| 65 71 75 69 72 65 73 20 | 6d 75 6c 74 69 70 6c 65 |equires |multiple|
|000008c0| 20 70 61 73 73 65 73 20 | 74 6f 20 67 65 74 20 63 | passes |to get c|
|000008d0| 72 6f 73 73 2d 72 65 66 | 65 72 65 6e 63 65 73 20 |ross-ref|erences |
|000008e0| 72 69 67 68 74 2c 20 49 | 20 68 61 74 65 0a 58 70 |right, I| hate.Xp|
|000008f0| 72 6f 63 65 73 73 69 6e | 67 20 61 6c 6c 20 74 68 |rocessin|g all th|
|00000900| 6f 73 65 20 70 6c 6f 74 | 73 20 6f 76 65 72 20 61 |ose plot|s over a|
|00000910| 6e 64 20 6f 76 65 72 2e | 20 54 68 65 73 65 20 6d |nd over.| These m|
|00000920| 61 63 72 6f 73 20 28 31 | 29 20 6d 61 6b 65 20 69 |acros (1|) make i|
|00000930| 74 0a 58 65 61 73 69 65 | 72 20 74 6f 20 69 6e 63 |t.Xeasie|r to inc|
|00000940| 6c 75 64 65 20 70 6c 6f | 74 73 20 61 6e 64 20 28 |lude plo|ts and (|
|00000950| 32 29 20 6d 61 6b 65 20 | 74 68 65 20 69 6e 69 74 |2) make |the init|
|00000960| 69 61 6c 20 6f 72 20 64 | 72 61 66 74 20 70 61 73 |ial or d|raft pas|
|00000970| 73 65 73 20 6f 66 0a 58 | 6c 61 74 65 78 20 4d 55 |ses of.X|latex MU|
|00000980| 43 48 20 66 61 73 74 65 | 72 2c 20 62 79 20 69 67 |CH faste|r, by ig|
|00000990| 6e 6f 72 69 6e 67 20 74 | 68 65 20 70 6c 6f 74 20 |noring t|he plot |
|000009a0| 63 6f 6e 74 65 6e 74 73 | 2e 0a 58 0a 58 54 6f 20 |contents|..X.XTo |
|000009b0| 65 66 66 65 63 74 69 76 | 65 6c 79 20 75 73 65 20 |effectiv|ely use |
|000009c0| 74 68 69 73 20 73 6f 66 | 74 77 61 72 65 2c 20 79 |this sof|tware, y|
|000009d0| 6f 75 20 6d 75 73 74 20 | 6c 61 79 20 6f 75 74 20 |ou must |lay out |
|000009e0| 79 6f 75 72 20 66 69 6c | 65 73 20 61 73 0a 58 66 |your fil|es as.Xf|
|000009f0| 6f 6c 6c 6f 77 73 3a 20 | 6d 61 6b 65 20 61 20 73 |ollows: |make a s|
|00000a00| 75 62 64 69 72 65 63 74 | 6f 72 79 20 63 61 6c 6c |ubdirect|ory call|
|00000a10| 65 64 20 22 66 69 67 73 | 22 20 69 6e 20 74 68 65 |ed "figs|" in the|
|00000a20| 20 63 75 72 72 65 6e 74 | 20 64 69 72 65 63 74 6f | current| directo|
|00000a30| 72 79 2e 0a 58 50 75 74 | 20 74 68 65 20 66 69 6c |ry..XPut| the fil|
|00000a40| 65 20 4d 61 6b 65 66 69 | 6c 65 2e 65 61 63 68 2c |e Makefi|le.each,|
|00000a50| 20 61 6e 64 20 70 69 63 | 2e 74 65 78 2c 20 69 6e | and pic|.tex, in|
|00000a60| 20 66 69 67 73 2e 20 4d | 61 6b 65 20 61 20 73 75 | figs. M|ake a su|
|00000a70| 62 64 69 72 65 63 74 6f | 72 79 0a 58 69 6e 20 66 |bdirecto|ry.Xin f|
|00000a80| 69 67 73 20 66 6f 72 20 | 65 61 63 68 20 70 6c 6f |igs for |each plo|
|00000a90| 74 2e 20 20 4d 61 6b 65 | 20 61 20 6c 69 6e 6b 20 |t. Make| a link |
|00000aa0| 74 6f 20 4d 61 6b 65 66 | 69 6c 65 2e 65 61 63 68 |to Makef|ile.each|
|00000ab0| 20 63 61 6c 6c 65 64 20 | 22 4d 61 6b 65 66 69 6c | called |"Makefil|
|00000ac0| 65 22 0a 58 69 6e 20 65 | 61 63 68 20 6f 66 20 74 |e".Xin e|ach of t|
|00000ad0| 68 65 20 70 6c 6f 74 20 | 73 75 62 64 69 72 65 63 |he plot |subdirec|
|00000ae0| 74 6f 72 69 65 73 2e 20 | 49 6e 20 65 61 63 68 20 |tories. |In each |
|00000af0| 70 6c 6f 74 20 73 75 62 | 64 69 72 65 63 74 6f 72 |plot sub|director|
|00000b00| 79 2c 20 74 68 65 72 65 | 0a 58 73 68 6f 75 6c 64 |y, there|.Xshould|
|00000b10| 20 62 65 20 61 20 66 69 | 6c 65 20 63 61 6c 6c 65 | be a fi|le calle|
|00000b20| 64 20 22 70 6c 6f 74 22 | 2c 20 77 68 69 63 68 20 |d "plot"|, which |
|00000b30| 69 73 20 74 68 65 20 67 | 6e 75 70 6c 6f 74 20 69 |is the g|nuplot i|
|00000b40| 6e 70 75 74 2e 20 54 68 | 65 72 65 0a 58 73 68 6f |nput. Th|ere.Xsho|
|00000b50| 75 6c 64 20 61 6c 73 6f | 20 62 65 20 61 6e 79 20 |uld also| be any |
|00000b60| 64 61 74 61 20 66 69 6c | 65 73 20 6e 65 65 64 65 |data fil|es neede|
|00000b70| 64 20 62 79 20 74 68 61 | 74 20 70 6c 6f 74 2e 20 |d by tha|t plot. |
|00000b80| 28 49 66 20 74 68 65 73 | 65 20 68 61 76 65 0a 58 |(If thes|e have.X|
|00000b90| 73 74 61 6e 64 61 72 64 | 20 6e 61 6d 65 73 2c 20 |standard| names, |
|00000ba0| 79 6f 75 20 6d 61 79 20 | 77 61 6e 74 20 74 6f 20 |you may |want to |
|00000bb0| 61 64 64 20 74 68 65 6d | 20 74 6f 20 74 68 65 20 |add them| to the |
|00000bc0| 64 65 70 65 6e 64 65 6e | 63 79 20 6c 69 73 74 20 |dependen|cy list |
|00000bd0| 66 6f 72 0a 58 70 6c 6f | 74 2e 74 65 78 20 61 6e |for.Xplo|t.tex an|
|00000be0| 64 20 73 6b 65 6c 2e 74 | 65 78 20 69 6e 20 74 68 |d skel.t|ex in th|
|00000bf0| 65 20 6d 61 6b 65 66 69 | 6c 65 29 2e 0a 58 0a 58 |e makefi|le)..X.X|
|00000c00| 54 68 75 73 2c 20 79 6f | 75 20 73 68 6f 75 6c 64 |Thus, yo|u should|
|00000c10| 20 68 61 76 65 3a 0a 58 | 20 74 6f 70 3a 0a 58 20 | have:.X| top:.X |
|00000c20| 20 20 20 6d 61 69 6e 2e | 74 65 78 20 70 6c 6f 74 | main.|tex plot|
|00000c30| 63 6f 6d 6d 61 6e 64 2e | 74 65 78 20 66 69 67 73 |command.|tex figs|
|00000c40| 2f 20 2e 2e 2e 0a 58 20 | 66 69 67 73 3a 0a 58 20 |/ ....X |figs:.X |
|00000c50| 20 20 4d 61 6b 65 66 69 | 6c 65 2e 65 61 63 68 20 | Makefi|le.each |
|00000c60| 6d 61 6b 65 61 6c 6c 20 | 70 69 63 2e 74 65 78 20 |makeall |pic.tex |
|00000c70| 6f 6e 65 2f 20 74 77 6f | 2f 20 74 68 72 65 65 2f |one/ two|/ three/|
|00000c80| 0a 58 20 6f 6e 65 3a 0a | 58 20 20 20 4d 61 6b 65 |.X one:.|X Make|
|00000c90| 66 69 6c 65 20 70 6c 6f | 74 20 6f 6e 65 2e 64 61 |file plo|t one.da|
|00000ca0| 74 61 66 69 6c 65 0a 58 | 20 74 77 6f 3a 0a 58 20 |tafile.X| two:.X |
|00000cb0| 20 20 4d 61 6b 65 66 69 | 6c 65 20 70 6c 6f 74 20 | Makefi|le plot |
|00000cc0| 74 77 6f 2e 64 61 74 61 | 66 69 6c 65 0a 58 20 74 |two.data|file.X t|
|00000cd0| 68 72 65 65 3a 0a 58 20 | 20 20 4d 61 6b 65 66 69 |hree:.X | Makefi|
|00000ce0| 6c 65 20 70 6c 6f 74 20 | 74 68 72 65 65 2e 64 61 |le plot |three.da|
|00000cf0| 74 61 66 69 6c 65 0a 58 | 4e 6f 74 65 20 68 65 72 |tafile.X|Note her|
|00000d00| 65 20 74 68 61 74 20 61 | 6c 6c 20 74 68 72 65 65 |e that a|ll three|
|00000d10| 20 4d 61 6b 65 66 69 6c | 65 73 20 61 72 65 20 6c | Makefil|es are l|
|00000d20| 69 6e 6b 65 64 20 74 6f | 20 4d 61 6b 65 66 69 6c |inked to| Makefil|
|00000d30| 65 2e 65 61 63 68 2e 0a | 58 0a 58 0a 58 70 6c 6f |e.each..|X.X.Xplo|
|00000d40| 74 73 6b 65 6c 3a 0a 58 | 20 20 49 20 66 69 6e 64 |tskel:.X| I find|
|00000d50| 20 74 68 69 73 20 73 68 | 65 6c 6c 20 73 63 72 69 | this sh|ell scri|
|00000d60| 70 74 20 68 61 6e 64 79 | 20 77 68 65 6e 20 49 20 |pt handy| when I |
|00000d70| 77 6f 72 6b 20 6f 6e 20 | 61 20 6c 61 72 67 65 20 |work on |a large |
|00000d80| 64 6f 63 75 6d 65 6e 74 | 20 74 68 61 74 0a 58 63 |document| that.Xc|
|00000d90| 6f 6e 74 61 69 6e 73 20 | 6d 61 6e 79 20 70 6c 6f |ontains |many plo|
|00000da0| 74 73 2e 20 54 68 69 73 | 20 73 68 65 6c 6c 20 73 |ts. This| shell s|
|00000db0| 63 72 69 70 74 20 74 61 | 6b 65 73 20 61 20 67 6e |cript ta|kes a gn|
|00000dc0| 75 70 6c 6f 74 20 28 6f | 72 20 67 6e 75 74 65 78 |uplot (o|r gnutex|
|00000dd0| 2c 20 66 6f 72 0a 58 74 | 68 6f 73 65 20 77 69 74 |, for.Xt|hose wit|
|00000de0| 68 20 6f 6c 64 20 67 6e | 75 74 65 78 20 66 69 6c |h old gn|utex fil|
|00000df0| 65 73 20 61 72 6f 75 6e | 64 29 20 6f 75 74 70 75 |es aroun|d) outpu|
|00000e00| 74 20 66 69 6c 65 20 28 | 69 6e 20 6c 61 74 65 78 |t file (|in latex|
|00000e10| 29 20 61 6e 64 0a 58 63 | 6f 6e 76 65 72 74 73 20 |) and.Xc|onverts |
|00000e20| 69 74 20 74 6f 20 61 20 | 6d 69 6e 69 6d 75 6d 20 |it to a |minimum |
|00000e30| 73 6b 65 6c 65 74 6f 6e | 20 74 68 61 74 20 68 61 |skeleton| that ha|
|00000e40| 73 20 74 68 65 20 73 61 | 6d 65 2d 73 69 7a 65 20 |s the sa|me-size |
|00000e50| 62 6f 78 2e 20 54 68 69 | 73 0a 58 74 61 6b 65 73 |box. Thi|s.Xtakes|
|00000e60| 20 6c 61 74 65 78 20 6e | 6f 20 74 69 6d 65 20 61 | latex n|o time a|
|00000e70| 74 20 61 6c 6c 20 74 6f | 20 70 72 6f 63 65 73 73 |t all to| process|
|00000e80| 2c 20 62 75 74 20 66 69 | 6c 6c 73 20 74 68 65 20 |, but fi|lls the |
|00000e90| 73 61 6d 65 20 70 6c 61 | 63 65 20 69 6e 20 74 68 |same pla|ce in th|
|00000ea0| 65 0a 58 64 6f 63 75 6d | 65 6e 74 2e 20 53 6f 20 |e.Xdocum|ent. So |
|00000eb0| 75 73 65 20 74 68 65 20 | 73 6b 65 6c 65 74 6f 6e |use the |skeleton|
|00000ec0| 20 75 6e 74 69 6c 20 79 | 6f 75 20 61 72 65 20 72 | until y|ou are r|
|00000ed0| 65 61 64 79 20 74 6f 20 | 69 6e 63 6c 75 64 65 20 |eady to |include |
|00000ee0| 74 68 65 0a 58 70 6c 6f | 74 73 2c 20 74 68 65 6e |the.Xplo|ts, then|
|00000ef0| 20 75 73 65 20 74 68 65 | 20 72 65 61 6c 20 70 6c | use the| real pl|
|00000f00| 6f 74 2e 20 54 68 65 20 | 4d 61 6b 65 66 69 6c 65 |ot. The |Makefile|
|00000f10| 20 49 20 73 75 70 70 6c | 79 20 61 75 74 6f 6d 61 | I suppl|y automa|
|00000f20| 74 69 63 61 6c 6c 79 0a | 58 63 72 65 61 74 65 73 |tically.|Xcreates|
|00000f30| 20 74 68 65 20 73 6b 65 | 6c 65 74 6f 6e 20 73 6b | the ske|leton sk|
|00000f40| 65 6c 2e 74 65 78 20 66 | 6f 72 20 74 68 65 20 70 |el.tex f|or the p|
|00000f50| 6c 6f 74 20 70 6c 6f 74 | 2e 74 65 78 2e 20 57 68 |lot plot|.tex. Wh|
|00000f60| 65 6e 20 6c 61 74 65 78 | 20 69 73 0a 58 72 75 6e |en latex| is.Xrun|
|00000f70| 2c 20 70 6c 6f 74 63 6f | 6d 6d 61 6e 64 2e 74 65 |, plotco|mmand.te|
|00000f80| 78 20 61 73 6b 73 20 74 | 68 65 20 75 73 65 72 20 |x asks t|he user |
|00000f90| 77 68 65 74 68 65 72 20 | 74 6f 20 69 6e 63 6c 75 |whether |to inclu|
|00000fa0| 64 65 20 73 6b 65 6c 65 | 74 6f 6e 73 20 6f 72 0a |de skele|tons or.|
|00000fb0| 58 70 6c 6f 74 73 2e 20 | 54 68 69 73 20 73 68 6f |Xplots. |This sho|
|00000fc0| 75 6c 64 20 62 65 20 69 | 6e 73 74 61 6c 6c 65 64 |uld be i|nstalled|
|00000fd0| 20 73 6f 6d 65 77 68 65 | 72 65 20 6f 6e 20 79 6f | somewhe|re on yo|
|00000fe0| 75 72 20 70 61 74 68 3b | 20 69 74 20 69 73 20 75 |ur path;| it is u|
|00000ff0| 73 65 64 20 62 79 0a 58 | 74 68 65 20 4d 61 6b 65 |sed by.X|the Make|
|00001000| 66 69 6c 65 73 2e 0a 58 | 0a 58 70 6c 6f 74 63 6f |files..X|.Xplotco|
|00001010| 6d 6d 61 6e 64 2e 74 65 | 78 3a 0a 58 20 20 54 68 |mmand.te|x:.X Th|
|00001020| 69 73 20 64 65 66 69 6e | 65 73 20 73 6f 6d 65 20 |is defin|es some |
|00001030| 6d 61 63 72 6f 73 20 66 | 6f 72 20 63 6f 6e 76 65 |macros f|or conve|
|00001040| 6e 69 65 6e 74 6c 79 20 | 69 6e 63 6c 75 64 69 6e |niently |includin|
|00001050| 67 20 70 6c 6f 74 73 20 | 69 6e 20 79 6f 75 72 0a |g plots |in your.|
|00001060| 58 64 6f 63 75 6d 65 6e | 74 20 69 6e 20 61 20 73 |Xdocumen|t in a s|
|00001070| 74 61 6e 64 61 72 64 20 | 77 61 79 2e 20 54 68 65 |tandard |way. The|
|00001080| 20 66 69 6c 65 73 20 6d | 75 73 74 20 62 65 20 6f | files m|ust be o|
|00001090| 72 67 61 6e 69 7a 65 64 | 20 61 73 20 64 65 73 63 |rganized| as desc|
|000010a0| 72 69 62 65 64 0a 58 61 | 62 6f 76 65 2e 20 49 6e |ribed.Xa|bove. In|
|000010b0| 70 75 74 20 74 68 69 73 | 20 61 74 20 74 68 65 20 |put this| at the |
|000010c0| 74 6f 70 20 6f 66 20 79 | 6f 75 72 20 64 6f 63 75 |top of y|our docu|
|000010d0| 6d 65 6e 74 20 62 65 66 | 6f 72 65 20 74 68 65 0a |ment bef|ore the.|
|000010e0| 58 5c 62 65 67 69 6e 7b | 64 6f 63 75 6d 65 6e 74 |X\begin{|document|
|000010f0| 7d 2e 20 54 6f 20 69 6e | 63 6c 75 64 65 20 61 20 |}. To in|clude a |
|00001100| 70 6c 6f 74 2c 20 75 73 | 65 20 0a 58 20 20 20 20 |plot, us|e .X |
|00001110| 5c 70 6c 6f 74 7b 70 6c | 6f 74 6e 61 6d 65 7d 7b |\plot{pl|otname}{|
|00001120| 6c 6f 66 2d 63 61 70 74 | 69 6f 6e 7d 7b 63 61 70 |lof-capt|ion}{cap|
|00001130| 74 69 6f 6e 7d 0a 58 54 | 68 65 20 70 6c 6f 74 6e |tion}.XT|he plotn|
|00001140| 61 6d 65 20 69 73 20 74 | 68 65 20 6e 61 6d 65 20 |ame is t|he name |
|00001150| 6f 66 20 74 68 65 20 73 | 75 62 64 69 72 65 63 74 |of the s|ubdirect|
|00001160| 6f 72 79 20 6f 66 20 22 | 66 69 67 73 22 20 74 68 |ory of "|figs" th|
|00001170| 61 74 20 63 6f 6e 74 61 | 69 6e 73 0a 58 74 68 65 |at conta|ins.Xthe|
|00001180| 20 70 6c 6f 74 2e 20 54 | 68 75 73 2c 20 69 66 20 | plot. T|hus, if |
|00001190| 74 68 65 72 65 20 69 73 | 20 61 20 64 69 72 65 63 |there is| a direc|
|000011a0| 74 6f 72 79 20 63 61 6c | 6c 65 64 20 66 69 67 73 |tory cal|led figs|
|000011b0| 2f 66 6f 6f 62 61 72 2c | 20 74 68 65 6e 0a 58 66 |/foobar,| then.Xf|
|000011c0| 6f 6f 62 61 72 20 69 73 | 20 74 68 65 20 70 6c 6f |oobar is| the plo|
|000011d0| 74 6e 61 6d 65 2e 20 54 | 68 65 20 6c 6f 66 2d 63 |tname. T|he lof-c|
|000011e0| 61 70 74 69 6f 6e 20 69 | 73 20 75 73 65 64 20 6f |aption i|s used o|
|000011f0| 6e 6c 79 20 74 6f 20 67 | 65 6e 65 72 61 74 65 20 |nly to g|enerate |
|00001200| 61 0a 58 6c 69 73 74 20 | 6f 66 20 66 69 67 75 72 |a.Xlist |of figur|
|00001210| 65 73 2e 20 49 66 20 79 | 6f 75 20 64 6f 6e 27 74 |es. If y|ou don't|
|00001220| 20 64 6f 20 74 68 69 73 | 2c 20 6c 65 61 76 65 20 | do this|, leave |
|00001230| 74 68 69 73 20 65 6d 70 | 74 79 2e 20 28 59 6f 75 |this emp|ty. (You|
|00001240| 20 6d 61 79 20 63 75 74 | 0a 58 64 6f 77 6e 20 74 | may cut|.Xdown t|
|00001250| 68 65 20 5c 70 6c 6f 74 | 20 6d 61 63 72 6f 20 74 |he \plot| macro t|
|00001260| 6f 20 72 65 6d 6f 76 65 | 20 74 68 69 73 20 6f 70 |o remove| this op|
|00001270| 74 69 6f 6e 29 2e 20 54 | 68 65 20 63 61 70 74 69 |tion). T|he capti|
|00001280| 6f 6e 20 66 6f 72 20 74 | 68 65 0a 58 66 69 67 75 |on for t|he.Xfigu|
|00001290| 72 65 20 73 68 6f 75 6c | 64 20 62 65 20 73 70 65 |re shoul|d be spe|
|000012a0| 63 69 66 69 65 64 2e 20 | 54 68 69 73 20 63 6f 6d |cified. |This com|
|000012b0| 6d 61 6e 64 20 63 72 65 | 61 74 65 73 20 61 20 5c |mand cre|ates a \|
|000012c0| 6c 61 62 65 6c 20 63 61 | 6c 6c 65 64 0a 58 22 66 |label ca|lled.X"f|
|000012d0| 3a 70 6c 6f 74 6e 61 6d | 65 22 2e 20 0a 58 20 20 |:plotnam|e". .X |
|000012e0| 54 6f 20 72 65 66 65 72 | 20 74 6f 20 74 68 65 20 |To refer| to the |
|000012f0| 66 69 67 75 72 65 20 74 | 68 61 74 20 68 61 73 20 |figure t|hat has |
|00001300| 61 20 67 69 76 65 6e 20 | 70 6c 6f 74 6e 61 6d 65 |a given |plotname|
|00001310| 2c 20 75 73 65 0a 58 5c | 70 6c 6f 74 72 65 66 7b |, use.X\|plotref{|
|00001320| 70 6c 6f 74 6e 61 6d 65 | 7d 2e 20 54 68 69 73 20 |plotname|}. This |
|00001330| 77 69 6c 6c 20 67 65 6e | 65 72 61 74 65 20 74 65 |will gen|erate te|
|00001340| 78 74 2c 20 65 67 20 22 | 46 69 67 75 72 65 20 31 |xt, eg "|Figure 1|
|00001350| 30 22 2e 20 53 6f 20 79 | 6f 75 0a 58 63 61 6e 20 |0". So y|ou.Xcan |
|00001360| 73 61 79 20 74 68 69 6e | 67 73 20 6c 69 6b 65 20 |say thin|gs like |
|00001370| 74 68 69 73 3a 0a 58 20 | 20 20 5c 70 6c 6f 74 72 |this:.X | \plotr|
|00001380| 65 66 7b 66 6f 6f 7d 20 | 73 68 6f 77 73 20 74 68 |ef{foo} |shows th|
|00001390| 69 73 20 65 66 66 65 63 | 74 20 69 6e 20 67 6f 72 |is effec|t in gor|
|000013a0| 65 79 20 64 65 74 61 69 | 6c 20 28 73 65 65 20 61 |ey detai|l (see a|
|000013b0| 6c 73 6f 20 5c 70 6c 6f | 74 72 65 66 7b 62 61 72 |lso \plo|tref{bar|
|000013c0| 7d 29 2e 20 0a 58 20 20 | 49 66 20 79 6f 75 20 64 |}). .X |If you d|
|000013d0| 6f 6e 27 74 20 6c 69 6b | 65 20 74 68 65 20 77 61 |on't lik|e the wa|
|000013e0| 79 20 69 74 20 61 73 6b | 73 20 66 6f 72 20 69 6e |y it ask|s for in|
|000013f0| 70 75 74 20 61 74 20 65 | 61 63 68 20 72 75 6e 2c |put at e|ach run,|
|00001400| 20 63 68 61 6e 67 65 20 | 74 68 65 0a 58 5c 74 79 | change |the.X\ty|
|00001410| 70 65 69 6e 20 74 6f 20 | 61 20 5c 6e 65 77 63 6f |pein to |a \newco|
|00001420| 6d 6d 61 6e 64 20 74 6f | 20 64 65 66 69 6e 65 20 |mmand to| define |
|00001430| 5c 70 6c 6f 74 73 6b 65 | 6c 20 74 6f 20 62 65 20 |\plotske|l to be |
|00001440| 65 69 74 68 65 72 20 22 | 73 6b 65 6c 22 20 6f 72 |either "|skel" or|
|00001450| 0a 58 22 70 6c 6f 74 22 | 2e 20 42 75 74 20 74 68 |.X"plot"|. But th|
|00001460| 65 6e 20 74 68 69 73 20 | 64 65 66 65 61 74 73 20 |en this |defeats |
|00001470| 74 68 65 20 70 75 72 70 | 6f 73 65 20 6f 66 20 63 |the purp|ose of c|
|00001480| 68 6f 6f 73 69 6e 67 20 | 70 6c 6f 74 20 6f 72 20 |hoosing |plot or |
|00001490| 73 6b 65 6c 20 6f 6e 0a | 58 65 61 63 68 20 72 75 |skel on.|Xeach ru|
|000014a0| 6e 2e 20 0a 58 20 20 53 | 65 65 20 74 68 65 20 61 |n. .X S|ee the a|
|000014b0| 64 76 61 6e 63 65 64 20 | 75 73 61 67 65 2c 20 61 |dvanced |usage, a|
|000014c0| 6e 64 20 22 4d 69 73 63 | 20 66 69 67 75 72 65 73 |nd "Misc| figures|
|000014d0| 22 20 62 65 6c 6f 77 2e | 0a 58 0a 58 4d 61 6b 65 |" below.|.X.XMake|
|000014e0| 66 69 6c 65 2e 65 61 63 | 68 3a 0a 58 20 20 54 68 |file.eac|h:.X Th|
|000014f0| 69 73 20 69 73 20 61 20 | 6d 61 6b 65 66 69 6c 65 |is is a |makefile|
|00001500| 20 74 6f 20 68 65 6c 70 | 20 79 6f 75 20 61 75 74 | to help| you aut|
|00001510| 6f 6d 61 74 65 20 74 68 | 65 20 70 72 6f 63 65 73 |omate th|e proces|
|00001520| 73 20 6f 66 20 75 70 64 | 61 74 69 6e 67 20 79 6f |s of upd|ating yo|
|00001530| 75 72 0a 58 67 6e 75 70 | 6c 6f 74 20 72 75 6e 73 |ur.Xgnup|lot runs|
|00001540| 2e 20 54 68 69 73 20 73 | 68 6f 75 6c 64 20 62 65 |. This s|hould be|
|00001550| 20 6c 69 6e 6b 65 64 20 | 74 6f 20 22 4d 61 6b 65 | linked |to "Make|
|00001560| 66 69 6c 65 22 20 69 6e | 20 65 61 63 68 20 70 6c |file" in| each pl|
|00001570| 6f 74 0a 58 73 75 62 64 | 69 72 65 63 74 6f 72 79 |ot.Xsubd|irectory|
|00001580| 2e 20 4a 75 73 74 20 27 | 6d 61 6b 65 27 20 77 69 |. Just '|make' wi|
|00001590| 6c 6c 20 6d 61 6b 65 20 | 70 6c 6f 74 2e 74 65 78 |ll make |plot.tex|
|000015a0| 20 61 6e 64 20 73 6b 65 | 6c 2e 74 65 78 2c 20 66 | and ske|l.tex, f|
|000015b0| 6f 72 0a 58 69 6e 63 6c | 75 73 69 6f 6e 20 69 6e |or.Xincl|usion in|
|000015c0| 74 6f 20 79 6f 75 72 20 | 64 6f 63 75 6d 65 6e 74 |to your |document|
|000015d0| 2e 20 27 6d 61 6b 65 20 | 64 76 69 27 20 77 69 6c |. 'make |dvi' wil|
|000015e0| 6c 20 6d 61 6b 65 20 61 | 20 64 76 69 20 66 69 6c |l make a| dvi fil|
|000015f0| 65 20 77 69 74 68 0a 58 | 6a 75 73 74 20 74 68 61 |e with.X|just tha|
|00001600| 74 20 70 6c 6f 74 20 28 | 73 65 65 20 70 69 63 2e |t plot (|see pic.|
|00001610| 74 65 78 29 2e 20 27 6d | 61 6b 65 20 63 6c 65 61 |tex). 'm|ake clea|
|00001620| 6e 27 20 63 6c 65 61 6e | 73 20 75 70 20 64 76 69 |n' clean|s up dvi|
|00001630| 2d 6d 61 6b 69 6e 67 20 | 6d 65 73 73 2e 0a 58 27 |-making |mess..X'|
|00001640| 6d 61 6b 65 20 73 70 6f | 74 6c 65 73 73 27 20 72 |make spo|tless' r|
|00001650| 65 64 75 63 65 73 20 74 | 68 65 20 64 69 72 65 63 |educes t|he direc|
|00001660| 74 6f 72 79 20 74 6f 20 | 6d 69 6e 69 6d 61 6c 20 |tory to |minimal |
|00001670| 73 69 7a 65 3b 20 69 65 | 20 74 68 69 73 20 72 65 |size; ie| this re|
|00001680| 6d 6f 76 65 73 0a 58 70 | 6c 6f 74 2e 74 65 78 20 |moves.Xp|lot.tex |
|00001690| 61 73 20 77 65 6c 6c 2e | 20 27 6d 61 6b 65 20 76 |as well.| 'make v|
|000016a0| 69 65 77 27 20 77 69 6c | 6c 20 6d 61 6b 65 20 61 |iew' wil|l make a|
|000016b0| 20 64 76 69 20 66 69 6c | 65 20 61 6e 64 20 76 69 | dvi fil|e and vi|
|000016c0| 65 77 20 69 74 20 28 79 | 6f 75 0a 58 63 61 6e 20 |ew it (y|ou.Xcan |
|000016d0| 63 68 61 6e 67 65 20 74 | 6f 20 79 6f 75 72 20 70 |change t|o your p|
|000016e0| 72 65 76 69 65 77 65 72 | 29 2e 20 27 6d 61 6b 65 |reviewer|). 'make|
|000016f0| 20 70 72 69 6e 74 27 20 | 77 69 6c 6c 20 6d 61 6b | print' |will mak|
|00001700| 65 20 61 20 64 76 69 20 | 66 69 6c 65 20 61 6e 64 |e a dvi |file and|
|00001710| 0a 58 70 72 69 6e 74 20 | 69 74 2e 20 4e 6f 74 65 |.Xprint |it. Note|
|00001720| 20 74 68 61 74 20 6d 61 | 6b 69 6e 67 20 61 20 64 | that ma|king a d|
|00001730| 76 69 20 66 69 6c 65 20 | 6f 66 74 65 6e 20 72 65 |vi file |often re|
|00001740| 6d 6f 76 65 73 20 73 6b | 65 6c 2e 74 65 78 3b 20 |moves sk|el.tex; |
|00001750| 73 6f 20 79 6f 75 0a 58 | 73 68 6f 75 6c 64 20 27 |so you.X|should '|
|00001760| 6d 61 6b 65 20 63 6c 65 | 61 6e 3b 20 6d 61 6b 65 |make cle|an; make|
|00001770| 27 20 61 66 74 65 72 20 | 70 6c 61 79 69 6e 67 20 |' after |playing |
|00001780| 77 69 74 68 20 64 76 69 | 20 66 69 6c 65 73 2e 0a |with dvi| files..|
|00001790| 58 0a 58 6d 61 6b 65 61 | 6c 6c 3a 0a 58 20 54 68 |X.Xmakea|ll:.X Th|
|000017a0| 69 73 20 73 63 72 69 70 | 74 20 73 68 6f 75 6c 64 |is scrip|t should|
|000017b0| 20 62 65 20 69 6e 20 66 | 69 67 73 2f 2e 20 49 74 | be in f|igs/. It|
|000017c0| 20 77 69 6c 6c 20 72 75 | 6e 20 6d 61 6b 65 20 69 | will ru|n make i|
|000017d0| 6e 20 61 6c 6c 0a 58 73 | 75 62 64 69 72 65 63 74 |n all.Xs|ubdirect|
|000017e0| 6f 72 69 65 73 2c 20 77 | 69 74 68 20 74 68 65 20 |ories, w|ith the |
|000017f0| 67 69 76 65 6e 20 61 72 | 67 75 6d 65 6e 74 73 20 |given ar|guments |
|00001800| 70 61 73 73 65 64 20 74 | 6f 20 65 61 63 68 20 6d |passed t|o each m|
|00001810| 61 6b 65 2e 20 54 68 75 | 73 2c 0a 58 79 6f 75 20 |ake. Thu|s,.Xyou |
|00001820| 63 61 6e 20 27 6d 61 6b | 65 61 6c 6c 20 63 6c 65 |can 'mak|eall cle|
|00001830| 61 6e 27 20 6f 72 20 6a | 75 73 74 20 27 6d 61 6b |an' or j|ust 'mak|
|00001840| 65 61 6c 6c 27 2e 0a 58 | 0a 58 70 69 63 2e 74 65 |eall'..X|.Xpic.te|
|00001850| 78 3a 0a 58 20 54 68 69 | 73 20 69 73 20 61 20 73 |x:.X Thi|s is a s|
|00001860| 6d 61 6c 6c 20 77 72 61 | 70 70 65 72 20 66 6f 72 |mall wra|pper for|
|00001870| 20 67 65 6e 65 72 61 74 | 69 6e 67 20 61 20 64 76 | generat|ing a dv|
|00001880| 69 20 66 69 6c 65 20 77 | 69 74 68 20 6a 75 73 74 |i file w|ith just|
|00001890| 20 6f 6e 65 20 70 6c 6f | 74 2e 0a 58 49 74 20 64 | one plo|t..XIt d|
|000018a0| 6f 65 73 20 6e 6f 74 20 | 64 72 61 77 20 74 68 65 |oes not |draw the|
|000018b0| 20 62 6f 78 20 6c 69 6b | 65 20 74 68 65 20 5c 70 | box lik|e the \p|
|000018c0| 6c 6f 74 20 63 6f 6d 6d | 61 6e 64 20 28 61 62 6f |lot comm|and (abo|
|000018d0| 76 65 29 20 64 6f 65 73 | 2e 20 54 68 65 0a 58 6d |ve) does|. The.Xm|
|000018e0| 61 6b 65 66 69 6c 65 20 | 77 69 6c 6c 20 75 73 65 |akefile |will use|
|000018f0| 20 74 68 69 73 2e 20 49 | 74 20 73 68 6f 75 6c 64 | this. I|t should|
|00001900| 20 62 65 20 61 63 63 65 | 73 73 61 62 6c 65 20 61 | be acce|ssable a|
|00001910| 73 20 2e 2e 2f 70 69 63 | 2e 74 65 78 20 74 6f 20 |s ../pic|.tex to |
|00001920| 61 6c 6c 0a 58 4d 61 6b | 65 66 69 6c 65 73 2e 0a |all.XMak|efiles..|
|00001930| 58 0a 58 4d 69 73 63 65 | 6c 6c 61 6e 65 6f 75 73 |X.XMisce|llaneous|
|00001940| 20 66 69 67 75 72 65 73 | 3a 0a 58 20 20 49 66 20 | figures|:.X If |
|00001950| 79 6f 75 20 68 61 76 65 | 20 70 6c 6f 74 73 2c 20 |you have| plots, |
|00001960| 74 68 65 6e 20 77 68 79 | 20 6e 6f 74 20 6f 74 68 |then why| not oth|
|00001970| 65 72 20 66 69 67 75 72 | 65 73 3f 20 49 20 68 61 |er figur|es? I ha|
|00001980| 76 65 20 61 20 73 69 6d | 69 6c 61 72 0a 58 6d 61 |ve a sim|ilar.Xma|
|00001990| 63 72 6f 20 74 68 61 74 | 20 49 20 75 73 65 20 66 |cro that| I use f|
|000019a0| 6f 72 20 6e 6f 72 6d 61 | 6c 20 65 76 65 72 79 64 |or norma|l everyd|
|000019b0| 61 79 20 66 69 67 75 72 | 65 73 20 28 65 67 2c 20 |ay figur|es (eg, |
|000019c0| 66 72 6f 6d 20 22 46 69 | 67 22 29 2e 20 54 68 69 |from "Fi|g"). Thi|
|000019d0| 73 0a 58 77 6f 72 6b 73 | 20 6a 75 73 74 20 6c 69 |s.Xworks| just li|
|000019e0| 6b 65 20 5c 70 6c 6f 74 | 2c 20 65 78 63 65 70 74 |ke \plot|, except|
|000019f0| 20 69 74 20 69 73 20 63 | 61 6c 6c 65 64 20 5c 66 | it is c|alled \f|
|00001a00| 69 67 2e 20 54 68 65 72 | 65 20 61 72 65 20 5c 66 |ig. Ther|e are \f|
|00001a10| 69 67 72 65 66 20 61 6e | 64 0a 58 5c 66 69 67 72 |igref an|d.X\figr|
|00001a20| 61 6e 67 65 2c 20 6c 69 | 6b 65 20 5c 70 6c 6f 74 |ange, li|ke \plot|
|00001a30| 72 65 66 20 61 6e 64 20 | 5c 70 6c 6f 74 72 61 6e |ref and |\plotran|
|00001a40| 67 65 2e 20 54 68 65 20 | 5c 66 69 67 20 6d 61 63 |ge. The |\fig mac|
|00001a50| 72 6f 20 6c 6f 61 64 73 | 20 61 20 2e 74 65 78 0a |ro loads| a .tex.|
|00001a60| 58 66 69 6c 65 20 62 79 | 20 74 68 65 20 67 69 76 |Xfile by| the giv|
|00001a70| 65 6e 20 66 69 67 20 6e | 61 6d 65 20 66 72 6f 6d |en fig n|ame from|
|00001a80| 20 74 68 65 20 66 69 67 | 73 2f 6d 69 73 63 20 64 | the fig|s/misc d|
|00001a90| 69 72 65 63 74 6f 72 79 | 2c 20 61 6e 64 20 70 75 |irectory|, and pu|
|00001aa0| 74 73 20 61 0a 58 62 6f | 78 20 61 72 6f 75 6e 64 |ts a.Xbo|x around|
|00001ab0| 20 69 74 2c 20 6c 69 6b | 65 20 66 6f 72 20 74 68 | it, lik|e for th|
|00001ac0| 65 20 70 6c 6f 74 73 2e | 20 54 68 69 73 20 63 72 |e plots.| This cr|
|00001ad0| 65 61 74 65 73 20 61 20 | 6c 61 62 65 6c 20 6c 69 |eates a |label li|
|00001ae0| 6b 65 0a 58 22 66 3a 6d | 69 73 63 2f 66 69 67 6e |ke.X"f:m|isc/fign|
|00001af0| 61 6d 65 22 2e 20 0a 58 | 0a 58 41 64 76 61 6e 63 |ame". .X|.XAdvanc|
|00001b00| 65 64 20 75 73 61 67 65 | 3a 0a 58 20 49 66 20 74 |ed usage|:.X If t|
|00001b10| 68 65 20 64 6f 63 75 6d | 65 6e 74 20 69 73 20 72 |he docum|ent is r|
|00001b20| 65 61 6c 6c 79 20 62 69 | 67 2c 20 74 68 65 6e 20 |eally bi|g, then |
|00001b30| 79 6f 75 20 63 61 6e 20 | 64 69 76 69 64 65 20 74 |you can |divide t|
|00001b40| 68 65 20 22 66 69 67 73 | 22 0a 58 64 69 72 65 63 |he "figs|".Xdirec|
|00001b50| 74 6f 72 79 20 69 6e 74 | 6f 20 73 75 62 64 69 72 |tory int|o subdir|
|00001b60| 65 63 74 6f 72 69 65 73 | 2e 20 50 75 74 20 61 6c |ectories|. Put al|
|00001b70| 6c 20 79 6f 75 72 20 70 | 6c 6f 74 73 20 69 6e 74 |l your p|lots int|
|00001b80| 6f 20 6f 6e 65 20 6f 66 | 20 74 68 65 0a 58 73 75 |o one of| the.Xsu|
|00001b90| 62 64 69 72 65 63 74 6f | 72 69 65 73 20 6f 66 20 |bdirecto|ries of |
|00001ba0| 66 69 67 73 2e 20 4e 6f | 77 2c 20 79 6f 75 20 6d |figs. No|w, you m|
|00001bb0| 69 67 68 74 20 68 61 76 | 65 3a 0a 58 20 74 6f 70 |ight hav|e:.X top|
|00001bc0| 3a 0a 58 20 20 20 20 6d | 61 69 6e 2e 74 65 78 20 |:.X m|ain.tex |
|00001bd0| 70 6c 6f 74 63 6f 6d 6d | 61 6e 64 2e 74 65 78 20 |plotcomm|and.tex |
|00001be0| 66 69 67 73 2f 20 2e 2e | 2e 0a 58 20 66 69 67 73 |figs/ ..|..X figs|
|00001bf0| 3a 0a 58 20 20 20 20 63 | 68 61 70 41 2f 20 63 68 |:.X c|hapA/ ch|
|00001c00| 61 70 42 2f 20 0a 58 20 | 66 69 67 73 2f 63 68 61 |apB/ .X |figs/cha|
|00001c10| 70 41 3a 0a 58 20 20 20 | 20 4d 61 6b 65 66 69 6c |pA:.X | Makefil|
|00001c20| 65 2e 65 61 63 68 20 6d | 61 6b 65 61 6c 6c 20 70 |e.each m|akeall p|
|00001c30| 69 63 2e 74 65 78 20 6f | 6e 65 2f 20 74 77 6f 2f |ic.tex o|ne/ two/|
|00001c40| 20 6d 69 73 63 2f 0a 58 | 20 66 69 67 73 2f 63 68 | misc/.X| figs/ch|
|00001c50| 61 70 42 3a 0a 58 20 20 | 20 20 4d 61 6b 65 66 69 |apB:.X | Makefi|
|00001c60| 6c 65 2e 65 61 63 68 20 | 6d 61 6b 65 61 6c 6c 20 |le.each |makeall |
|00001c70| 70 69 63 2e 74 65 78 20 | 6f 6e 65 2f 20 74 77 6f |pic.tex |one/ two|
|00001c80| 2f 20 6d 69 73 63 2f 0a | 58 20 66 69 67 73 2f 63 |/ misc/.|X figs/c|
|00001c90| 68 61 70 41 2f 6f 6e 65 | 3a 0a 58 20 20 20 4d 61 |hapA/one|:.X Ma|
|00001ca0| 6b 65 66 69 6c 65 20 70 | 6c 6f 74 20 6f 6e 65 2e |kefile p|lot one.|
|00001cb0| 64 61 74 61 66 69 6c 65 | 0a 58 20 66 69 67 73 2f |datafile|.X figs/|
|00001cc0| 63 68 61 70 41 2f 74 77 | 6f 3a 0a 58 20 20 20 4d |chapA/tw|o:.X M|
|00001cd0| 61 6b 65 66 69 6c 65 20 | 70 6c 6f 74 20 74 77 6f |akefile |plot two|
|00001ce0| 2e 64 61 74 61 66 69 6c | 65 0a 58 20 66 69 67 73 |.datafil|e.X figs|
|00001cf0| 2f 63 68 61 70 41 2f 6d | 69 73 63 3a 0a 58 20 20 |/chapA/m|isc:.X |
|00001d00| 20 66 6f 6f 2e 66 69 67 | 20 66 6f 6f 2e 74 65 78 | foo.fig| foo.tex|
|00001d10| 0a 58 20 66 69 67 73 2f | 63 68 61 70 42 2f 6f 6e |.X figs/|chapB/on|
|00001d20| 65 3a 0a 58 20 20 20 4d | 61 6b 65 66 69 6c 65 20 |e:.X M|akefile |
|00001d30| 70 6c 6f 74 20 6f 6e 65 | 2e 64 61 74 61 66 69 6c |plot one|.datafil|
|00001d40| 65 0a 58 20 66 69 67 73 | 2f 63 68 61 70 42 2f 74 |e.X figs|/chapB/t|
|00001d50| 77 6f 3a 0a 58 20 20 20 | 4d 61 6b 65 66 69 6c 65 |wo:.X |Makefile|
|00001d60| 20 70 6c 6f 74 20 74 77 | 6f 2e 64 61 74 61 66 69 | plot tw|o.datafi|
|00001d70| 6c 65 0a 58 20 66 69 67 | 73 2f 63 68 61 70 43 2f |le.X fig|s/chapC/|
|00001d80| 6d 69 73 63 3a 0a 58 20 | 20 20 62 61 72 2e 66 69 |misc:.X | bar.fi|
|00001d90| 67 20 62 61 72 2e 74 65 | 78 20 6a 75 6e 6b 2e 66 |g bar.te|x junk.f|
|00001da0| 69 67 20 6a 75 6e 6b 2e | 74 65 78 0a 58 54 68 65 |ig junk.|tex.XThe|
|00001db0| 6e 2c 20 69 6e 20 79 6f | 75 72 20 64 6f 63 75 6d |n, in yo|ur docum|
|00001dc0| 65 6e 74 2c 20 79 6f 75 | 20 63 61 6e 20 75 73 65 |ent, you| can use|
|00001dd0| 20 74 68 65 6d 20 6c 69 | 6b 65 20 74 68 69 73 3a | them li|ke this:|
|00001de0| 0a 58 20 20 20 20 5c 6e | 65 77 70 6c 6f 74 64 69 |.X \n|ewplotdi|
|00001df0| 72 7b 63 68 61 70 41 7d | 0a 58 20 20 20 20 5c 70 |r{chapA}|.X \p|
|00001e00| 6c 6f 74 7b 6f 6e 65 7d | 7b 7d 7b 54 68 69 73 20 |lot{one}|{}{This |
|00001e10| 69 73 20 70 6c 6f 74 20 | 63 68 61 70 41 2f 6f 6e |is plot |chapA/on|
|00001e20| 65 7d 0a 58 20 20 20 20 | 5c 70 6c 6f 74 7b 74 77 |e}.X |\plot{tw|
|00001e30| 6f 7d 7b 7d 7b 54 68 69 | 73 20 69 73 20 70 6c 6f |o}{}{Thi|s is plo|
|00001e40| 74 20 63 68 61 70 41 2f | 74 77 6f 7d 0a 58 20 20 |t chapA/|two}.X |
|00001e50| 20 20 5c 70 6c 6f 74 72 | 65 66 7b 6f 6e 65 7d 20 | \plotr|ef{one} |
|00001e60| 72 65 66 65 72 73 20 74 | 6f 20 63 68 61 70 41 2f |refers t|o chapA/|
|00001e70| 6f 6e 65 2e 0a 58 20 20 | 20 20 5c 66 69 67 7b 66 |one..X | \fig{f|
|00001e80| 6f 6f 7d 7b 7d 7b 54 68 | 69 73 20 69 73 20 66 69 |oo}{}{Th|is is fi|
|00001e90| 67 75 72 65 20 63 68 61 | 70 41 2f 6d 69 73 63 2f |gure cha|pA/misc/|
|00001ea0| 66 6f 6f 7d 0a 58 0a 58 | 20 20 20 20 5c 6e 65 77 |foo}.X.X| \new|
|00001eb0| 70 6c 6f 74 64 69 72 7b | 63 68 61 70 42 7d 0a 58 |plotdir{|chapB}.X|
|00001ec0| 20 20 20 20 5c 70 6c 6f | 74 7b 6f 6e 65 7d 7b 7d | \plo|t{one}{}|
|00001ed0| 7b 54 68 69 73 20 69 73 | 20 70 6c 6f 74 20 63 68 |{This is| plot ch|
|00001ee0| 61 70 42 2f 6f 6e 65 7d | 0a 58 20 20 20 20 5c 70 |apB/one}|.X \p|
|00001ef0| 6c 6f 74 7b 74 77 6f 7d | 7b 7d 7b 54 68 69 73 20 |lot{two}|{}{This |
|00001f00| 69 73 20 70 6c 6f 74 20 | 63 68 61 70 42 2f 74 77 |is plot |chapB/tw|
|00001f10| 6f 7d 0a 58 20 20 20 20 | 5c 70 6c 6f 74 72 65 66 |o}.X |\plotref|
|00001f20| 7b 6f 6e 65 7d 20 72 65 | 66 65 72 73 20 74 6f 20 |{one} re|fers to |
|00001f30| 63 68 61 70 42 2f 6f 6e | 65 2c 20 4e 4f 54 20 63 |chapB/on|e, NOT c|
|00001f40| 68 61 70 41 2f 6f 6e 65 | 2e 20 57 65 20 68 61 76 |hapA/one|. We hav|
|00001f50| 65 20 74 77 6f 0a 58 09 | 70 69 63 74 75 72 65 73 |e two.X.|pictures|
|00001f60| 2c 20 5c 66 69 67 72 61 | 6e 67 65 7b 62 61 72 7d |, \figra|nge{bar}|
|00001f70| 7b 6a 75 6e 6b 7d 2e 0a | 58 20 20 20 20 5c 66 69 |{junk}..|X \fi|
|00001f80| 67 7b 62 61 72 7d 7b 7d | 7b 54 68 69 73 20 69 73 |g{bar}{}|{This is|
|00001f90| 20 70 6c 6f 74 20 63 68 | 61 70 42 2f 6d 69 73 63 | plot ch|apB/misc|
|00001fa0| 2f 62 61 72 7d 0a 58 20 | 20 20 20 5c 66 69 67 7b |/bar}.X | \fig{|
|00001fb0| 6a 75 6e 6b 7d 7b 7d 7b | 54 68 69 73 20 69 73 20 |junk}{}{|This is |
|00001fc0| 70 6c 6f 74 20 63 68 61 | 70 42 2f 6d 69 73 63 2f |plot cha|pB/misc/|
|00001fd0| 6a 75 6e 6b 7d 0a 58 54 | 79 70 69 63 61 6c 6c 79 |junk}.XT|ypically|
|00001fe0| 2c 20 49 20 68 61 76 65 | 20 6f 6e 65 20 70 6c 6f |, I have| one plo|
|00001ff0| 74 64 69 72 20 66 6f 72 | 20 65 61 63 68 20 63 68 |tdir for| each ch|
|00002000| 61 70 74 65 72 20 6f 72 | 20 6f 74 68 65 72 20 6d |apter or| other m|
|00002010| 61 6a 6f 72 0a 58 73 65 | 63 74 69 6f 6e 61 6c 20 |ajor.Xse|ctional |
|00002020| 75 6e 69 74 2e 20 54 68 | 69 73 20 69 73 20 61 20 |unit. Th|is is a |
|00002030| 63 6f 6e 76 65 6e 69 65 | 6e 74 20 77 61 79 20 74 |convenie|nt way t|
|00002040| 6f 20 61 76 6f 69 64 20 | 6e 61 6d 65 20 63 6c 61 |o avoid |name cla|
|00002050| 73 68 65 73 20 69 6e 20 | 70 6c 6f 74 0a 58 6e 61 |shes in |plot.Xna|
|00002060| 6d 65 73 2e 20 46 6f 72 | 20 65 76 65 72 79 64 61 |mes. For| everyda|
|00002070| 79 20 75 73 61 67 65 2c | 20 6e 6f 20 5c 6e 65 77 |y usage,| no \new|
|00002080| 70 6c 6f 74 64 69 72 20 | 69 73 20 6e 65 65 64 65 |plotdir |is neede|
|00002090| 64 2c 20 61 6e 64 20 61 | 6c 6c 20 70 6c 6f 74 64 |d, and a|ll plotd|
|000020a0| 69 72 73 0a 58 73 68 6f | 75 6c 64 20 62 65 20 64 |irs.Xsho|uld be d|
|000020b0| 69 72 65 63 74 6c 79 20 | 69 6e 20 66 69 67 73 2f |irectly |in figs/|
|000020c0| 2e 0a 58 0a 58 0a 58 44 | 61 76 69 64 20 4b 6f 74 |..X.X.XD|avid Kot|
|000020d0| 7a 0a 58 64 66 6b 40 63 | 73 2e 64 75 6b 65 2e 65 |z.Xdfk@c|s.duke.e|
|000020e0| 64 75 0a 58 4d 61 72 63 | 68 20 31 39 39 31 0a 58 |du.XMarc|h 1991.X|
|000020f0| 0a 58 0a 53 48 41 52 5f | 45 4f 46 0a 66 69 20 23 |.X.SHAR_|EOF.fi #|
|00002100| 20 65 6e 64 20 6f 66 20 | 6f 76 65 72 77 72 69 74 | end of |overwrit|
|00002110| 69 6e 67 20 63 68 65 63 | 6b 0a 69 66 20 74 65 73 |ing chec|k.if tes|
|00002120| 74 20 21 20 2d 64 20 27 | 66 69 67 73 27 0a 74 68 |t ! -d '|figs'.th|
|00002130| 65 6e 0a 09 6d 6b 64 69 | 72 20 27 66 69 67 73 27 |en..mkdi|r 'figs'|
|00002140| 0a 66 69 0a 63 64 20 27 | 66 69 67 73 27 0a 69 66 |.fi.cd '|figs'.if|
|00002150| 20 74 65 73 74 20 2d 66 | 20 27 70 69 63 2e 74 65 | test -f| 'pic.te|
|00002160| 78 27 0a 74 68 65 6e 0a | 09 65 63 68 6f 20 73 68 |x'.then.|.echo sh|
|00002170| 61 72 3a 20 77 69 6c 6c | 20 6e 6f 74 20 6f 76 65 |ar: will| not ove|
|00002180| 72 2d 77 72 69 74 65 20 | 65 78 69 73 74 69 6e 67 |r-write |existing|
|00002190| 20 66 69 6c 65 20 22 27 | 70 69 63 2e 74 65 78 27 | file "'|pic.tex'|
|000021a0| 22 0a 65 6c 73 65 0a 73 | 65 64 20 27 73 2f 5e 58 |".else.s|ed 's/^X|
|000021b0| 2f 2f 27 20 3c 3c 20 5c | 53 48 41 52 5f 45 4f 46 |//' << \|SHAR_EOF|
|000021c0| 20 3e 20 27 70 69 63 2e | 74 65 78 27 0a 58 5c 64 | > 'pic.|tex'.X\d|
|000021d0| 6f 63 75 6d 65 6e 74 73 | 74 79 6c 65 7b 61 72 74 |ocuments|tyle{art|
|000021e0| 69 63 6c 65 7d 0a 58 5c | 70 61 67 65 73 74 79 6c |icle}.X\|pagestyl|
|000021f0| 65 7b 65 6d 70 74 79 7d | 0a 58 5c 62 65 67 69 6e |e{empty}|.X\begin|
|00002200| 7b 64 6f 63 75 6d 65 6e | 74 7d 0a 58 5c 73 6c 6f |{documen|t}.X\slo|
|00002210| 70 70 79 0a 58 5c 73 65 | 74 6c 65 6e 67 74 68 7b |ppy.X\se|tlength{|
|00002220| 5c 74 65 78 74 77 69 64 | 74 68 7d 7b 38 69 6e 7d |\textwid|th}{8in}|
|00002230| 0a 58 5c 73 65 74 6c 65 | 6e 67 74 68 7b 5c 74 65 |.X\setle|ngth{\te|
|00002240| 78 74 68 65 69 67 68 74 | 7d 7b 39 69 6e 7d 0a 58 |xtheight|}{9in}.X|
|00002250| 5c 73 65 74 6c 65 6e 67 | 74 68 7b 5c 74 6f 70 6d |\setleng|th{\topm|
|00002260| 61 72 67 69 6e 7d 7b 2d | 30 2e 35 69 6e 7d 0a 58 |argin}{-|0.5in}.X|
|00002270| 5c 73 65 74 6c 65 6e 67 | 74 68 7b 5c 6f 64 64 73 |\setleng|th{\odds|
|00002280| 69 64 65 6d 61 72 67 69 | 6e 7d 7b 30 70 74 7d 0a |idemargi|n}{0pt}.|
|00002290| 58 5c 73 65 74 6c 65 6e | 67 74 68 7b 5c 65 76 65 |X\setlen|gth{\eve|
|000022a0| 6e 73 69 64 65 6d 61 72 | 67 69 6e 7d 7b 30 70 74 |nsidemar|gin}{0pt|
|000022b0| 7d 0a 58 5c 62 65 67 69 | 6e 7b 63 65 6e 74 65 72 |}.X\begi|n{center|
|000022c0| 7d 0a 58 5c 69 6e 70 75 | 74 20 7b 70 6c 6f 74 7d |}.X\inpu|t {plot}|
|000022d0| 0a 58 5c 65 6e 64 7b 63 | 65 6e 74 65 72 7d 0a 58 |.X\end{c|enter}.X|
|000022e0| 5c 65 6e 64 7b 64 6f 63 | 75 6d 65 6e 74 7d 0a 53 |\end{doc|ument}.S|
|000022f0| 48 41 52 5f 45 4f 46 0a | 66 69 20 23 20 65 6e 64 |HAR_EOF.|fi # end|
|00002300| 20 6f 66 20 6f 76 65 72 | 77 72 69 74 69 6e 67 20 | of over|writing |
|00002310| 63 68 65 63 6b 0a 69 66 | 20 74 65 73 74 20 2d 66 |check.if| test -f|
|00002320| 20 27 6d 61 6b 65 61 6c | 6c 27 0a 74 68 65 6e 0a | 'makeal|l'.then.|
|00002330| 09 65 63 68 6f 20 73 68 | 61 72 3a 20 77 69 6c 6c |.echo sh|ar: will|
|00002340| 20 6e 6f 74 20 6f 76 65 | 72 2d 77 72 69 74 65 20 | not ove|r-write |
|00002350| 65 78 69 73 74 69 6e 67 | 20 66 69 6c 65 20 22 27 |existing| file "'|
|00002360| 6d 61 6b 65 61 6c 6c 27 | 22 0a 65 6c 73 65 0a 73 |makeall'|".else.s|
|00002370| 65 64 20 27 73 2f 5e 58 | 2f 2f 27 20 3c 3c 20 5c |ed 's/^X|//' << \|
|00002380| 53 48 41 52 5f 45 4f 46 | 20 3e 20 27 6d 61 6b 65 |SHAR_EOF| > 'make|
|00002390| 61 6c 6c 27 0a 58 23 21 | 2f 62 69 6e 2f 63 73 68 |all'.X#!|/bin/csh|
|000023a0| 20 2d 66 0a 58 23 20 4d | 61 6b 65 20 61 6c 6c 20 | -f.X# M|ake all |
|000023b0| 66 69 67 75 72 65 73 0a | 58 23 20 61 72 67 75 6d |figures.|X# argum|
|000023c0| 65 6e 74 73 20 61 72 65 | 20 70 61 73 73 65 64 20 |ents are| passed |
|000023d0| 6f 6e 20 74 6f 20 65 61 | 63 68 20 6d 61 6b 65 0a |on to ea|ch make.|
|000023e0| 58 0a 58 69 66 20 28 24 | 31 20 3d 3d 20 63 6c 65 |X.Xif ($|1 == cle|
|000023f0| 61 6e 20 7c 7c 20 24 31 | 20 3d 3d 20 73 70 6f 74 |an || $1| == spot|
|00002400| 6c 65 73 73 29 20 74 68 | 65 6e 0a 58 09 20 20 20 |less) th|en.X. |
|00002410| 66 6f 72 65 61 63 68 20 | 69 20 28 2a 2f 4d 61 6b |foreach |i (*/Mak|
|00002420| 65 66 69 6c 65 29 0a 58 | 09 20 20 20 09 20 20 20 |efile).X|. . |
|00002430| 69 66 20 28 24 69 3a 68 | 20 3d 3d 20 6d 69 73 63 |if ($i:h| == misc|
|00002440| 29 20 63 6f 6e 74 69 6e | 75 65 0a 58 09 20 20 20 |) contin|ue.X. |
|00002450| 09 20 20 20 65 63 68 6f | 20 24 69 3a 68 0a 58 09 |. echo| $i:h.X.|
|00002460| 20 20 20 09 20 20 20 28 | 63 64 20 24 69 3a 68 3b | . (|cd $i:h;|
|00002470| 20 6d 61 6b 65 20 24 2a | 29 0a 58 09 20 20 20 65 | make $*|).X. e|
|00002480| 6e 64 0a 58 09 20 20 20 | 28 63 64 20 6d 69 73 63 |nd.X. |(cd misc|
|00002490| 3b 20 6d 61 6b 65 20 63 | 6c 65 61 6e 29 0a 58 65 |; make c|lean).Xe|
|000024a0| 6c 73 65 0a 58 09 20 20 | 20 66 6f 72 65 61 63 68 |lse.X. | foreach|
|000024b0| 20 69 20 28 2a 2f 4d 61 | 6b 65 66 69 6c 65 29 0a | i (*/Ma|kefile).|
|000024c0| 58 09 20 20 20 09 20 20 | 20 65 63 68 6f 20 24 69 |X. . | echo $i|
|000024d0| 3a 68 0a 58 09 20 20 20 | 09 20 20 20 28 63 64 20 |:h.X. |. (cd |
|000024e0| 24 69 3a 68 3b 20 6d 61 | 6b 65 20 24 2a 29 0a 58 |$i:h; ma|ke $*).X|
|000024f0| 09 20 20 20 65 6e 64 0a | 58 65 6e 64 69 66 0a 53 |. end.|Xendif.S|
|00002500| 48 41 52 5f 45 4f 46 0a | 63 68 6d 6f 64 20 2b 78 |HAR_EOF.|chmod +x|
|00002510| 20 27 6d 61 6b 65 61 6c | 6c 27 0a 66 69 20 23 20 | 'makeal|l'.fi # |
|00002520| 65 6e 64 20 6f 66 20 6f | 76 65 72 77 72 69 74 69 |end of o|verwriti|
|00002530| 6e 67 20 63 68 65 63 6b | 0a 69 66 20 74 65 73 74 |ng check|.if test|
|00002540| 20 2d 66 20 27 4d 61 6b | 65 66 69 6c 65 2e 65 61 | -f 'Mak|efile.ea|
|00002550| 63 68 27 0a 74 68 65 6e | 0a 09 65 63 68 6f 20 73 |ch'.then|..echo s|
|00002560| 68 61 72 3a 20 77 69 6c | 6c 20 6e 6f 74 20 6f 76 |har: wil|l not ov|
|00002570| 65 72 2d 77 72 69 74 65 | 20 65 78 69 73 74 69 6e |er-write| existin|
|00002580| 67 20 66 69 6c 65 20 22 | 27 4d 61 6b 65 66 69 6c |g file "|'Makefil|
|00002590| 65 2e 65 61 63 68 27 22 | 0a 65 6c 73 65 0a 73 65 |e.each'"|.else.se|
|000025a0| 64 20 27 73 2f 5e 58 2f | 2f 27 20 3c 3c 20 5c 53 |d 's/^X/|/' << \S|
|000025b0| 48 41 52 5f 45 4f 46 20 | 3e 20 27 4d 61 6b 65 66 |HAR_EOF |> 'Makef|
|000025c0| 69 6c 65 2e 65 61 63 68 | 27 0a 58 23 20 54 68 69 |ile.each|'.X# Thi|
|000025d0| 73 20 69 73 20 6c 69 6e | 6b 65 64 20 69 6e 74 6f |s is lin|ked into|
|000025e0| 20 65 61 63 68 20 70 6c | 6f 74 20 64 69 72 65 63 | each pl|ot direc|
|000025f0| 74 6f 72 79 20 61 73 20 | 27 4d 61 6b 65 66 69 6c |tory as |'Makefil|
|00002600| 65 27 0a 58 0a 58 74 65 | 78 3a 20 70 6c 6f 74 2e |e'.X.Xte|x: plot.|
|00002610| 74 65 78 20 73 6b 65 6c | 2e 74 65 78 0a 58 0a 58 |tex skel|.tex.X.X|
|00002620| 23 20 6d 61 6b 65 20 61 | 20 6e 65 77 20 74 65 78 |# make a| new tex|
|00002630| 20 70 6c 6f 74 20 66 69 | 6c 65 0a 58 70 6c 6f 74 | plot fi|le.Xplot|
|00002640| 2e 74 65 78 3a 20 70 6c | 6f 74 0a 58 09 67 6e 75 |.tex: pl|ot.X.gnu|
|00002650| 70 6c 6f 74 20 70 6c 6f | 74 0a 58 09 72 6d 20 2d |plot plo|t.X.rm -|
|00002660| 66 20 73 6b 65 6c 2e 74 | 65 78 0a 58 0a 58 23 20 |f skel.t|ex.X.X# |
|00002670| 6d 61 6b 65 20 61 20 73 | 6b 65 6c 65 74 6f 6e 20 |make a s|keleton |
|00002680| 66 69 6c 65 20 66 6f 72 | 20 71 75 69 63 6b 65 72 |file for| quicker|
|00002690| 20 64 72 61 66 74 20 6c | 61 74 65 78 69 6e 67 0a | draft l|atexing.|
|000026a0| 58 73 6b 65 6c 2e 74 65 | 78 3a 20 70 6c 6f 74 2e |Xskel.te|x: plot.|
|000026b0| 74 65 78 0a 58 09 70 6c | 6f 74 73 6b 65 6c 20 70 |tex.X.pl|otskel p|
|000026c0| 6c 6f 74 2e 74 65 78 20 | 3e 20 73 6b 65 6c 2e 74 |lot.tex |> skel.t|
|000026d0| 65 78 0a 58 0a 58 23 20 | 6f 72 20 79 6f 75 20 76 |ex.X.X# |or you v|
|000026e0| 69 65 77 20 69 74 0a 58 | 76 20 76 69 65 77 3a 20 |iew it.X|v view: |
|000026f0| 70 69 63 2e 64 76 69 0a | 58 09 78 74 65 78 20 70 |pic.dvi.|X.xtex p|
|00002700| 69 63 0a 58 0a 58 23 20 | 6f 72 20 79 6f 75 20 70 |ic.X.X# |or you p|
|00002710| 72 69 6e 74 20 69 74 0a | 58 70 20 70 72 69 6e 74 |rint it.|Xp print|
|00002720| 3a 20 70 69 63 2e 64 76 | 69 0a 58 09 74 65 78 70 |: pic.dv|i.X.texp|
|00002730| 72 69 6e 74 20 70 69 63 | 0a 58 0a 58 72 65 6d 61 |rint pic|.X.Xrema|
|00002740| 6b 65 3a 0a 58 09 72 6d | 20 2d 66 20 70 6c 6f 74 |ke:.X.rm| -f plot|
|00002750| 2e 74 65 78 20 73 6b 65 | 6c 2e 74 65 78 0a 58 0a |.tex ske|l.tex.X.|
|00002760| 58 64 76 69 3a 20 70 69 | 63 2e 64 76 69 0a 58 0a |Xdvi: pi|c.dvi.X.|
|00002770| 58 70 69 63 2e 64 76 69 | 3a 20 70 6c 6f 74 2e 74 |Xpic.dvi|: plot.t|
|00002780| 65 78 0a 58 09 6c 61 74 | 65 78 20 2e 2e 2f 70 69 |ex.X.lat|ex ../pi|
|00002790| 63 0a 58 0a 58 63 6c 65 | 61 6e 3a 0a 58 09 72 6d |c.X.Xcle|an:.X.rm|
|000027a0| 20 2d 66 20 2a 7e 20 70 | 69 63 2e 64 76 69 20 70 | -f *~ p|ic.dvi p|
|000027b0| 69 63 2e 61 75 78 20 70 | 69 63 2e 6c 6f 67 0a 58 |ic.aux p|ic.log.X|
|000027c0| 0a 58 73 70 6f 74 6c 65 | 73 73 3a 20 63 6c 65 61 |.Xspotle|ss: clea|
|000027d0| 6e 0a 58 09 72 6d 20 2d | 66 20 70 6c 6f 74 2e 74 |n.X.rm -|f plot.t|
|000027e0| 65 78 20 73 6b 65 6c 2e | 74 65 78 0a 53 48 41 52 |ex skel.|tex.SHAR|
|000027f0| 5f 45 4f 46 0a 66 69 20 | 23 20 65 6e 64 20 6f 66 |_EOF.fi |# end of|
|00002800| 20 6f 76 65 72 77 72 69 | 74 69 6e 67 20 63 68 65 | overwri|ting che|
|00002810| 63 6b 0a 63 64 20 2e 2e | 0a 69 66 20 74 65 73 74 |ck.cd ..|.if test|
|00002820| 20 2d 66 20 27 70 6c 6f | 74 63 6f 6d 6d 61 6e 64 | -f 'plo|tcommand|
|00002830| 2e 74 65 78 27 0a 74 68 | 65 6e 0a 09 65 63 68 6f |.tex'.th|en..echo|
|00002840| 20 73 68 61 72 3a 20 77 | 69 6c 6c 20 6e 6f 74 20 | shar: w|ill not |
|00002850| 6f 76 65 72 2d 77 72 69 | 74 65 20 65 78 69 73 74 |over-wri|te exist|
|00002860| 69 6e 67 20 66 69 6c 65 | 20 22 27 70 6c 6f 74 63 |ing file| "'plotc|
|00002870| 6f 6d 6d 61 6e 64 2e 74 | 65 78 27 22 0a 65 6c 73 |ommand.t|ex'".els|
|00002880| 65 0a 73 65 64 20 27 73 | 2f 5e 58 2f 2f 27 20 3c |e.sed 's|/^X//' <|
|00002890| 3c 20 5c 53 48 41 52 5f | 45 4f 46 20 3e 20 27 70 |< \SHAR_|EOF > 'p|
|000028a0| 6c 6f 74 63 6f 6d 6d 61 | 6e 64 2e 74 65 78 27 0a |lotcomma|nd.tex'.|
|000028b0| 58 25 20 53 6f 6d 65 20 | 4c 61 54 65 58 20 6d 61 |X% Some |LaTeX ma|
|000028c0| 63 72 6f 73 20 66 6f 72 | 20 68 61 6e 64 6c 69 6e |cros for| handlin|
|000028d0| 67 20 67 6e 75 70 6c 6f | 74 20 70 6c 6f 74 73 0a |g gnuplo|t plots.|
|000028e0| 58 25 20 44 61 76 69 64 | 20 4b 6f 74 7a 20 64 66 |X% David| Kotz df|
|000028f0| 6b 40 63 73 2e 64 75 6b | 65 2e 65 64 75 0a 58 0a |k@cs.duk|e.edu.X.|
|00002900| 58 25 20 46 69 6e 64 20 | 6f 75 74 20 77 68 65 74 |X% Find |out whet|
|00002910| 68 65 72 20 75 73 65 72 | 20 77 61 6e 74 73 20 66 |her user| wants f|
|00002920| 75 6c 6c 20 70 6c 6f 74 | 20 6f 72 20 73 6b 65 6c |ull plot| or skel|
|00002930| 65 74 6f 6e 20 70 6c 6f | 74 73 0a 58 25 20 55 73 |eton plo|ts.X% Us|
|00002940| 65 72 20 74 79 70 65 73 | 20 65 69 74 68 65 72 20 |er types| either |
|00002950| 60 60 70 6c 6f 74 27 27 | 20 6f 72 20 60 60 73 6b |``plot''| or ``sk|
|00002960| 65 6c 27 27 20 28 6e 6f | 20 71 75 6f 74 65 73 29 |el'' (no| quotes)|
|00002970| 0a 58 5c 74 79 70 65 69 | 6e 5b 5c 70 6c 6f 74 73 |.X\typei|n[\plots|
|00002980| 6b 65 6c 5d 7b 44 6f 20 | 79 6f 75 20 77 69 73 68 |kel]{Do |you wish|
|00002990| 20 66 75 6c 6c 20 70 6c | 6f 74 73 20 5b 70 6c 6f | full pl|ots [plo|
|000029a0| 74 5d 20 6f 72 20 73 6b | 65 6c 65 74 6f 6e 20 70 |t] or sk|eleton p|
|000029b0| 6c 6f 74 73 20 5b 73 6b | 65 6c 5d 3f 7d 0a 58 0a |lots [sk|el]?}.X.|
|000029c0| 58 25 20 44 65 66 69 6e | 65 20 74 68 65 20 63 75 |X% Defin|e the cu|
|000029d0| 72 72 65 6e 74 20 70 6c | 6f 74 20 64 69 72 65 63 |rrent pl|ot direc|
|000029e0| 74 6f 72 79 0a 58 5c 6e | 65 77 63 6f 6d 6d 61 6e |tory.X\n|ewcomman|
|000029f0| 64 7b 5c 70 6c 6f 74 64 | 69 72 7d 7b 7d 0a 58 25 |d{\plotd|ir}{}.X%|
|00002a00| 20 52 65 64 65 66 69 6e | 65 20 74 68 65 20 63 75 | Redefin|e the cu|
|00002a10| 72 72 65 6e 74 20 70 6c | 6f 74 20 64 69 72 65 63 |rrent pl|ot direc|
|00002a20| 74 6f 72 79 0a 58 5c 6e | 65 77 63 6f 6d 6d 61 6e |tory.X\n|ewcomman|
|00002a30| 64 7b 5c 6e 65 77 70 6c | 6f 74 64 69 72 7d 5b 31 |d{\newpl|otdir}[1|
|00002a40| 5d 7b 5c 72 65 6e 65 77 | 63 6f 6d 6d 61 6e 64 7b |]{\renew|command{|
|00002a50| 5c 70 6c 6f 74 64 69 72 | 7d 7b 23 31 2f 7d 7d 0a |\plotdir|}{#1/}}.|
|00002a60| 58 0a 58 5c 6e 65 77 6c | 65 6e 67 74 68 7b 5c 70 |X.X\newl|ength{\p|
|00002a70| 6c 6f 74 77 69 64 74 68 | 7d 0a 58 5c 73 65 74 6c |lotwidth|}.X\setl|
|00002a80| 65 6e 67 74 68 7b 5c 70 | 6c 6f 74 77 69 64 74 68 |ength{\p|lotwidth|
|00002a90| 7d 7b 5c 74 65 78 74 77 | 69 64 74 68 7d 0a 58 5c |}{\textw|idth}.X\|
|00002aa0| 61 64 64 74 6f 6c 65 6e | 67 74 68 7b 5c 70 6c 6f |addtolen|gth{\plo|
|00002ab0| 74 77 69 64 74 68 7d 7b | 2d 30 2e 31 69 6e 7d 0a |twidth}{|-0.1in}.|
|00002ac0| 58 0a 58 25 25 25 25 25 | 25 25 25 25 25 25 25 20 |X.X%%%%%|%%%%%%% |
|00002ad0| 50 6c 6f 74 73 20 25 25 | 25 25 25 25 25 25 25 25 |Plots %%|%%%%%%%%|
|00002ae0| 25 25 25 0a 58 0a 58 25 | 20 44 65 66 69 6e 65 20 |%%%.X.X%| Define |
|00002af0| 5c 70 6c 6f 74 0a 58 25 | 20 49 6e 63 6c 75 64 65 |\plot.X%| Include|
|00002b00| 20 61 20 70 6c 6f 74 20 | 69 6e 20 74 68 65 20 73 | a plot |in the s|
|00002b10| 74 61 6e 64 61 72 64 20 | 77 61 79 0a 58 25 20 20 |tandard |way.X% |
|00002b20| 50 61 72 6d 20 31 20 69 | 73 20 74 68 65 20 70 6c |Parm 1 i|s the pl|
|00002b30| 6f 74 20 6e 61 6d 65 0a | 58 25 20 20 50 61 72 6d |ot name.|X% Parm|
|00002b40| 20 32 20 69 73 20 74 68 | 65 20 63 61 70 74 69 6f | 2 is th|e captio|
|00002b50| 6e 20 66 6f 72 20 74 68 | 65 20 6c 6f 66 0a 58 25 |n for th|e lof.X%|
|00002b60| 20 20 50 61 72 6d 20 33 | 20 69 73 20 74 68 65 20 | Parm 3| is the |
|00002b70| 72 65 61 6c 20 63 61 70 | 74 69 6f 6e 0a 58 5c 6e |real cap|tion.X\n|
|00002b80| 65 77 63 6f 6d 6d 61 6e | 64 7b 5c 70 6c 6f 74 7d |ewcomman|d{\plot}|
|00002b90| 5b 33 5d 7b 0a 58 20 5c | 62 65 67 69 6e 7b 66 69 |[3]{.X \|begin{fi|
|00002ba0| 67 75 72 65 7d 5b 68 74 | 62 70 5d 0a 58 20 20 5c |gure}[ht|bp].X \|
|00002bb0| 66 72 61 6d 65 62 6f 78 | 5b 5c 74 65 78 74 77 69 |framebox|[\textwi|
|00002bc0| 64 74 68 5d 7b 0a 58 20 | 20 20 20 5c 62 65 67 69 |dth]{.X | \begi|
|00002bd0| 6e 7b 6d 69 6e 69 70 61 | 67 65 7d 7b 5c 70 6c 6f |n{minipa|ge}{\plo|
|00002be0| 74 77 69 64 74 68 7d 0a | 58 20 20 20 20 20 20 5c |twidth}.|X \|
|00002bf0| 62 65 67 69 6e 7b 63 65 | 6e 74 65 72 7d 0a 58 20 |begin{ce|nter}.X |
|00002c00| 20 20 20 20 20 20 5c 69 | 6e 70 75 74 7b 66 69 67 | \i|nput{fig|
|00002c10| 73 2f 5c 70 6c 6f 74 64 | 69 72 23 31 2f 5c 70 6c |s/\plotd|ir#1/\pl|
|00002c20| 6f 74 73 6b 65 6c 7d 0a | 58 20 20 20 20 20 20 5c |otskel}.|X \|
|00002c30| 65 6e 64 7b 63 65 6e 74 | 65 72 7d 0a 58 20 20 20 |end{cent|er}.X |
|00002c40| 20 20 20 5c 63 61 70 74 | 69 6f 6e 5b 23 32 5d 7b | \capt|ion[#2]{|
|00002c50| 23 33 7d 0a 58 20 20 20 | 20 20 20 5c 6c 61 62 65 |#3}.X | \labe|
|00002c60| 6c 7b 66 3a 5c 70 6c 6f | 74 64 69 72 23 31 7d 0a |l{f:\plo|tdir#1}.|
|00002c70| 58 20 20 20 20 5c 65 6e | 64 7b 6d 69 6e 69 70 61 |X \en|d{minipa|
|00002c80| 67 65 7d 0a 58 20 20 7d | 0a 58 20 5c 65 6e 64 7b |ge}.X }|.X \end{|
|00002c90| 66 69 67 75 72 65 7d 20 | 20 0a 58 7d 0a 58 0a 58 |figure} | .X}.X.X|
|00002ca0| 25 20 52 65 66 65 72 65 | 6e 63 65 20 6f 6e 65 20 |% Refere|nce one |
|00002cb0| 6f 66 20 74 68 65 20 61 | 62 6f 76 65 20 70 6c 6f |of the a|bove plo|
|00002cc0| 74 73 20 28 62 65 66 6f | 72 65 20 6f 72 20 61 66 |ts (befo|re or af|
|00002cd0| 74 65 72 20 69 74 20 69 | 73 20 69 6e 70 75 74 29 |ter it i|s input)|
|00002ce0| 0a 58 5c 6e 65 77 63 6f | 6d 6d 61 6e 64 7b 5c 70 |.X\newco|mmand{\p|
|00002cf0| 6c 6f 74 72 65 66 7d 5b | 31 5d 7b 46 69 67 75 72 |lotref}[|1]{Figur|
|00002d00| 65 7e 5c 72 65 66 7b 66 | 3a 5c 70 6c 6f 74 64 69 |e~\ref{f|:\plotdi|
|00002d10| 72 23 31 7d 7d 0a 58 0a | 58 25 20 52 65 66 65 72 |r#1}}.X.|X% Refer|
|00002d20| 65 6e 63 65 20 61 20 72 | 61 6e 67 65 20 6f 66 20 |ence a r|ange of |
|00002d30| 70 6c 6f 74 73 0a 58 5c | 6e 65 77 63 6f 6d 6d 61 |plots.X\|newcomma|
|00002d40| 6e 64 7b 5c 70 6c 6f 74 | 72 61 6e 67 65 7d 5b 32 |nd{\plot|range}[2|
|00002d50| 5d 7b 46 69 67 75 72 65 | 73 7e 5c 72 65 66 7b 66 |]{Figure|s~\ref{f|
|00002d60| 3a 5c 70 6c 6f 74 64 69 | 72 23 31 7d 2d 2d 5c 72 |:\plotdi|r#1}--\r|
|00002d70| 65 66 7b 66 3a 5c 70 6c | 6f 74 64 69 72 23 32 7d |ef{f:\pl|otdir#2}|
|00002d80| 7d 0a 58 0a 58 25 25 25 | 25 25 25 25 25 25 25 25 |}.X.X%%%|%%%%%%%%|
|00002d90| 25 20 4d 69 73 63 20 66 | 69 67 75 72 65 73 20 25 |% Misc f|igures %|
|00002da0| 25 25 25 25 25 25 25 25 | 25 25 25 25 0a 58 0a 58 |%%%%%%%%|%%%%.X.X|
|00002db0| 25 20 44 65 66 69 6e 65 | 20 5c 66 69 67 0a 58 25 |% Define| \fig.X%|
|00002dc0| 20 49 6e 63 6c 75 64 65 | 20 61 20 6d 69 73 63 65 | Include| a misce|
|00002dd0| 6c 6c 61 6e 65 6f 75 73 | 20 66 69 67 75 72 65 20 |llaneous| figure |
|00002de0| 69 6e 20 74 68 65 20 73 | 74 61 6e 64 61 72 64 20 |in the s|tandard |
|00002df0| 77 61 79 0a 58 25 20 20 | 50 61 72 6d 20 31 20 69 |way.X% |Parm 1 i|
|00002e00| 73 20 74 68 65 20 66 69 | 67 20 6e 61 6d 65 0a 58 |s the fi|g name.X|
|00002e10| 25 20 20 50 61 72 6d 20 | 32 20 69 73 20 74 68 65 |% Parm |2 is the|
|00002e20| 20 63 61 70 74 69 6f 6e | 20 66 6f 72 20 74 68 65 | caption| for the|
|00002e30| 20 6c 6f 66 0a 58 25 20 | 20 50 61 72 6d 20 33 20 | lof.X% | Parm 3 |
|00002e40| 69 73 20 74 68 65 20 72 | 65 61 6c 20 63 61 70 74 |is the r|eal capt|
|00002e50| 69 6f 6e 0a 58 5c 6e 65 | 77 63 6f 6d 6d 61 6e 64 |ion.X\ne|wcommand|
|00002e60| 7b 5c 66 69 67 7d 5b 33 | 5d 7b 0a 58 20 5c 62 65 |{\fig}[3|]{.X \be|
|00002e70| 67 69 6e 7b 66 69 67 75 | 72 65 7d 5b 68 74 62 70 |gin{figu|re}[htbp|
|00002e80| 5d 0a 58 20 20 5c 66 72 | 61 6d 65 62 6f 78 5b 5c |].X \fr|amebox[\|
|00002e90| 74 65 78 74 77 69 64 74 | 68 5d 7b 0a 58 20 20 20 |textwidt|h]{.X |
|00002ea0| 20 5c 62 65 67 69 6e 7b | 6d 69 6e 69 70 61 67 65 | \begin{|minipage|
|00002eb0| 7d 7b 5c 70 6c 6f 74 77 | 69 64 74 68 7d 0a 58 20 |}{\plotw|idth}.X |
|00002ec0| 20 20 20 20 20 5c 62 65 | 67 69 6e 7b 63 65 6e 74 | \be|gin{cent|
|00002ed0| 65 72 7d 0a 58 20 20 20 | 20 20 20 20 5c 69 6e 70 |er}.X | \inp|
|00002ee0| 75 74 7b 66 69 67 73 2f | 5c 70 6c 6f 74 64 69 72 |ut{figs/|\plotdir|
|00002ef0| 20 6d 69 73 63 2f 23 31 | 7d 0a 58 20 20 20 20 20 | misc/#1|}.X |
|00002f00| 20 5c 65 6e 64 7b 63 65 | 6e 74 65 72 7d 0a 58 20 | \end{ce|nter}.X |
|00002f10| 20 20 20 20 20 5c 63 61 | 70 74 69 6f 6e 5b 23 32 | \ca|ption[#2|
|00002f20| 5d 7b 23 33 7d 0a 58 20 | 20 20 20 20 20 5c 6c 61 |]{#3}.X | \la|
|00002f30| 62 65 6c 7b 66 3a 5c 70 | 6c 6f 74 64 69 72 20 6d |bel{f:\p|lotdir m|
|00002f40| 69 73 63 2f 23 31 7d 0a | 58 20 20 20 20 5c 65 6e |isc/#1}.|X \en|
|00002f50| 64 7b 6d 69 6e 69 70 61 | 67 65 7d 0a 58 20 20 7d |d{minipa|ge}.X }|
|00002f60| 0a 58 20 5c 65 6e 64 7b | 66 69 67 75 72 65 7d 20 |.X \end{|figure} |
|00002f70| 20 0a 58 7d 0a 58 0a 58 | 25 20 52 65 66 65 72 65 | .X}.X.X|% Refere|
|00002f80| 6e 63 65 20 6f 6e 65 20 | 6f 66 20 74 68 65 20 61 |nce one |of the a|
|00002f90| 62 6f 76 65 20 66 69 67 | 73 20 28 62 65 66 6f 72 |bove fig|s (befor|
|00002fa0| 65 20 6f 72 20 61 66 74 | 65 72 20 69 74 20 69 73 |e or aft|er it is|
|00002fb0| 20 69 6e 70 75 74 29 0a | 58 5c 6e 65 77 63 6f 6d | input).|X\newcom|
|00002fc0| 6d 61 6e 64 7b 5c 66 69 | 67 72 65 66 7d 5b 31 5d |mand{\fi|gref}[1]|
|00002fd0| 7b 46 69 67 75 72 65 7e | 5c 72 65 66 7b 66 3a 5c |{Figure~|\ref{f:\|
|00002fe0| 70 6c 6f 74 64 69 72 20 | 6d 69 73 63 2f 23 31 7d |plotdir |misc/#1}|
|00002ff0| 7d 0a 58 0a 58 25 20 52 | 65 66 65 72 65 6e 63 65 |}.X.X% R|eference|
|00003000| 20 61 20 72 61 6e 67 65 | 20 6f 66 20 66 69 67 73 | a range| of figs|
|00003010| 0a 58 5c 6e 65 77 63 6f | 6d 6d 61 6e 64 7b 5c 66 |.X\newco|mmand{\f|
|00003020| 69 67 72 61 6e 67 65 7d | 5b 32 5d 7b 25 0a 58 46 |igrange}|[2]{%.XF|
|00003030| 69 67 75 72 65 73 7e 5c | 72 65 66 7b 66 3a 5c 70 |igures~\|ref{f:\p|
|00003040| 6c 6f 74 64 69 72 20 6d | 69 73 63 2f 23 31 7d 2d |lotdir m|isc/#1}-|
|00003050| 2d 5c 72 65 66 7b 66 3a | 5c 70 6c 6f 74 64 69 72 |-\ref{f:|\plotdir|
|00003060| 20 6d 69 73 63 2f 23 32 | 7d 7d 0a 53 48 41 52 5f | misc/#2|}}.SHAR_|
|00003070| 45 4f 46 0a 66 69 20 23 | 20 65 6e 64 20 6f 66 20 |EOF.fi #| end of |
|00003080| 6f 76 65 72 77 72 69 74 | 69 6e 67 20 63 68 65 63 |overwrit|ing chec|
|00003090| 6b 0a 69 66 20 74 65 73 | 74 20 2d 66 20 27 70 6c |k.if tes|t -f 'pl|
|000030a0| 6f 74 73 6b 65 6c 27 0a | 74 68 65 6e 0a 09 65 63 |otskel'.|then..ec|
|000030b0| 68 6f 20 73 68 61 72 3a | 20 77 69 6c 6c 20 6e 6f |ho shar:| will no|
|000030c0| 74 20 6f 76 65 72 2d 77 | 72 69 74 65 20 65 78 69 |t over-w|rite exi|
|000030d0| 73 74 69 6e 67 20 66 69 | 6c 65 20 22 27 70 6c 6f |sting fi|le "'plo|
|000030e0| 74 73 6b 65 6c 27 22 0a | 65 6c 73 65 0a 73 65 64 |tskel'".|else.sed|
|000030f0| 20 27 73 2f 5e 58 2f 2f | 27 20 3c 3c 20 5c 53 48 | 's/^X//|' << \SH|
|00003100| 41 52 5f 45 4f 46 20 3e | 20 27 70 6c 6f 74 73 6b |AR_EOF >| 'plotsk|
|00003110| 65 6c 27 0a 58 23 21 2f | 62 69 6e 2f 63 73 68 20 |el'.X#!/|bin/csh |
|00003120| 2d 66 20 0a 58 23 0a 58 | 23 20 4d 61 6b 65 20 61 |-f .X#.X|# Make a|
|00003130| 20 73 6b 65 6c 65 74 6f | 6e 20 76 65 72 73 69 6f | skeleto|n versio|
|00003140| 6e 20 6f 66 20 61 20 67 | 6e 75 70 6c 6f 74 20 6f |n of a g|nuplot o|
|00003150| 72 20 67 6e 75 74 65 78 | 20 70 6c 6f 74 2e 74 65 |r gnutex| plot.te|
|00003160| 78 20 66 69 6c 65 0a 58 | 23 20 54 68 69 73 20 63 |x file.X|# This c|
|00003170| 61 6e 20 62 65 20 75 73 | 65 64 20 69 6e 20 74 68 |an be us|ed in th|
|00003180| 65 20 73 61 6d 65 20 77 | 61 79 2c 20 61 6e 64 20 |e same w|ay, and |
|00003190| 74 61 6b 65 73 20 75 70 | 20 74 68 65 20 73 61 6d |takes up| the sam|
|000031a0| 65 20 61 6d 6f 75 6e 74 | 20 6f 66 0a 58 23 20 73 |e amount| of.X# s|
|000031b0| 70 61 63 65 20 6f 6e 20 | 74 68 65 20 70 61 67 65 |pace on |the page|
|000031c0| 2c 20 62 75 74 20 77 69 | 6c 6c 20 72 75 6e 20 74 |, but wi|ll run t|
|000031d0| 68 72 6f 75 67 68 20 6c | 61 74 65 78 20 4d 55 43 |hrough l|atex MUC|
|000031e0| 48 20 66 61 73 74 65 72 | 2e 20 47 6f 6f 64 0a 58 |H faster|. Good.X|
|000031f0| 23 20 66 6f 72 20 71 75 | 69 63 6b 20 64 72 61 66 |# for qu|ick draf|
|00003200| 74 73 2e 0a 58 23 0a 58 | 23 20 55 73 61 67 65 3a |ts..X#.X|# Usage:|
|00003210| 0a 58 23 20 20 20 70 6c | 6f 74 73 6b 65 6c 20 70 |.X# pl|otskel p|
|00003220| 6c 6f 74 2e 74 65 78 20 | 0a 58 23 20 53 74 61 6e |lot.tex |.X# Stan|
|00003230| 64 61 72 64 20 6f 75 74 | 70 75 74 20 69 73 20 73 |dard out|put is s|
|00003240| 6b 65 6c 65 74 6f 6e 20 | 66 69 6c 65 0a 58 0a 58 |keleton |file.X.X|
|00003250| 69 66 20 28 24 23 61 72 | 67 76 20 21 3d 20 31 29 |if ($#ar|gv != 1)|
|00003260| 20 74 68 65 6e 0a 58 09 | 20 20 20 65 63 68 6f 20 | then.X.| echo |
|00003270| 75 73 61 67 65 3a 20 70 | 6c 6f 74 73 6b 65 6c 20 |usage: p|lotskel |
|00003280| 70 6c 6f 74 2e 74 65 78 | 0a 58 09 20 20 20 65 78 |plot.tex|.X. ex|
|00003290| 69 74 20 31 0a 58 65 6e | 64 69 66 0a 58 0a 58 73 |it 1.Xen|dif.X.Xs|
|000032a0| 65 64 20 2d 6e 20 2d 65 | 20 27 31 2c 2f 62 65 67 |ed -n -e| '1,/beg|
|000032b0| 69 6e 7b 70 69 63 74 75 | 72 65 7d 2f 70 27 20 2d |in{pictu|re}/p' -|
|000032c0| 65 20 27 2f 65 6e 64 7b | 70 69 63 74 75 72 65 7d |e '/end{|picture}|
|000032d0| 2f 2c 24 70 27 20 24 31 | 0a 53 48 41 52 5f 45 4f |/,$p' $1|.SHAR_EO|
|000032e0| 46 0a 63 68 6d 6f 64 20 | 2b 78 20 27 70 6c 6f 74 |F.chmod |+x 'plot|
|000032f0| 73 6b 65 6c 27 0a 66 69 | 20 23 20 65 6e 64 20 6f |skel'.fi| # end o|
|00003300| 66 20 6f 76 65 72 77 72 | 69 74 69 6e 67 20 63 68 |f overwr|iting ch|
|00003310| 65 63 6b 0a 23 09 45 6e | 64 20 6f 66 20 73 68 65 |eck.#.En|d of she|
|00003320| 6c 6c 20 61 72 63 68 69 | 76 65 0a 65 78 69 74 20 |ll archi|ve.exit |
|00003330| 30 0a 2d 2d 20 0a 44 65 | 70 61 72 74 6d 65 6e 74 |0.-- .De|partment|
|00003340| 20 6f 66 20 43 6f 6d 70 | 75 74 65 72 20 53 63 69 | of Comp|uter Sci|
|00003350| 65 6e 63 65 2c 20 44 75 | 6b 65 20 55 6e 69 76 65 |ence, Du|ke Unive|
|00003360| 72 73 69 74 79 2c 20 44 | 75 72 68 61 6d 2c 20 4e |rsity, D|urham, N|
|00003370| 43 20 32 37 37 30 36 20 | 55 53 41 0a 41 52 50 41 |C 27706 |USA.ARPA|
|00003380| 3a 09 64 66 6b 40 63 73 | 2e 64 75 6b 65 2e 65 64 |:.dfk@cs|.duke.ed|
|00003390| 75 0a 43 53 4e 45 54 3a | 09 64 66 6b 40 64 75 6b |u.CSNET:|.dfk@duk|
|000033a0| 65 20 20 20 20 20 20 20 | 20 0a 55 55 43 50 3a 09 |e | .UUCP:.|
|000033b0| 64 65 63 76 61 78 21 64 | 75 6b 65 21 64 66 6b 0a |decvax!d|uke!dfk.|
+--------+-------------------------+-------------------------+--------+--------+