home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
100%
| dexvert
| Texinfo Document (document/texInfo)
| magic
| Supported |
1%
| dexvert
| Corel 10 Texture (image/corel10Texture)
| ext
| Unsupported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| LaTeX document text
| default
| |
99%
| file
| TeX document text
| default
| |
98%
| file
| LaTeX document, ASCII text, with CRLF line terminators
| default
| |
100%
| TrID
| LaTeX 2e document (with rem)
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/281 LaTeX (Subdocument)
| default
| |
100%
| detectItEasy
| Format: Plain text[CRLF]
| default
| |
100%
| xdgMime
| text/x-matlab
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 0d 0a 25 20 54 75 74 | 6f 72 69 61 6c 20 66 6f |%..% Tut|orial fo|
|00000010| 72 20 47 4e 55 50 4c 4f | 54 20 70 6c 6f 74 74 69 |r GNUPLO|T plotti|
|00000020| 6e 67 20 70 72 6f 67 72 | 61 6d 2c 20 66 6f 72 20 |ng progr|am, for |
|00000030| 4c 61 54 65 58 20 75 73 | 65 72 73 0d 0a 25 20 44 |LaTeX us|ers..% D|
|00000040| 61 76 69 64 20 4b 6f 74 | 7a 20 28 44 61 76 69 64 |avid Kot|z (David|
|00000050| 2e 4b 6f 74 7a 40 44 61 | 72 74 6d 6f 75 74 68 2e |.Kotz@Da|rtmouth.|
|00000060| 65 64 75 29 0d 0a 25 20 | 44 75 6b 65 20 55 6e 69 |edu)..% |Duke Uni|
|00000070| 76 65 72 73 69 74 79 20 | 43 6f 6d 70 75 74 65 72 |versity |Computer|
|00000080| 20 53 63 69 65 6e 63 65 | 20 44 65 70 61 72 74 6d | Science| Departm|
|00000090| 65 6e 74 0d 0a 25 0d 0a | 25 20 4e 4f 54 45 3a 20 |ent..%..|% NOTE: |
|000000a0| 49 66 20 4c 61 54 65 58 | 20 72 75 6e 73 20 6f 75 |If LaTeX| runs ou|
|000000b0| 74 20 6f 66 20 6d 65 6d | 6f 72 79 20 70 72 6f 63 |t of mem|ory proc|
|000000c0| 65 73 73 69 6e 67 20 70 | 6c 6f 74 73 2c 0d 0a 25 |essing p|lots,..%|
|000000d0| 20 61 64 64 20 60 60 77 | 69 74 68 20 6c 69 6e 65 | add ``w|ith line|
|000000e0| 73 20 34 27 27 20 74 6f | 20 65 61 63 68 20 63 75 |s 4'' to| each cu|
|000000f0| 72 76 65 20 69 6e 20 65 | 67 2a 2e 70 6c 74 20 61 |rve in e|g*.plt a|
|00000100| 6e 64 20 72 65 72 75 6e | 20 6d 61 6b 65 2e 0d 0a |nd rerun| make...|
|00000110| 25 0d 0a 0d 0a 25 20 73 | 6f 6d 65 20 68 65 61 64 |%....% s|ome head|
|00000120| 65 72 20 69 6e 66 6f 0d | 0a 5c 69 6e 70 75 74 7b |er info.|.\input{|
|00000130| 68 65 61 64 65 72 7d 0d | 0a 0d 0a 5c 62 65 67 69 |header}.|...\begi|
|00000140| 6e 7b 64 6f 63 75 6d 65 | 6e 74 7d 0d 0a 0d 0a 5c |n{docume|nt}....\|
|00000150| 74 69 74 6c 65 7b 5c 4c | 61 54 65 58 5c 20 61 6e |title{\L|aTeX\ an|
|00000160| 64 20 74 68 65 20 47 4e | 55 50 4c 4f 54 20 50 6c |d the GN|UPLOT Pl|
|00000170| 6f 74 74 69 6e 67 0d 0a | 50 72 6f 67 72 61 6d 5c |otting..|Program\|
|00000180| 74 68 61 6e 6b 73 7b 54 | 68 69 73 20 64 6f 63 75 |thanks{T|his docu|
|00000190| 6d 65 6e 74 20 64 65 73 | 63 72 69 62 65 73 20 47 |ment des|cribes G|
|000001a0| 4e 55 50 4c 4f 54 20 76 | 65 72 73 69 6f 6e 20 33 |NUPLOT v|ersion 3|
|000001b0| 2e 30 2e 20 41 6c 6c 20 | 70 6c 6f 74 73 0d 0a 69 |.0. All |plots..i|
|000001c0| 6e 20 74 68 69 73 20 64 | 6f 63 75 6d 65 6e 74 20 |n this d|ocument |
|000001d0| 77 65 72 65 20 6d 61 64 | 65 20 77 69 74 68 20 74 |were mad|e with t|
|000001e0| 68 61 74 20 76 65 72 73 | 69 6f 6e 20 6f 66 20 47 |hat vers|ion of G|
|000001f0| 4e 55 50 4c 4f 54 2e 7d | 20 7d 0d 0a 5c 61 75 74 |NUPLOT.}| }..\aut|
|00000200| 68 6f 72 7b 44 61 76 69 | 64 20 4b 6f 74 7a 20 5c |hor{Davi|d Kotz \|
|00000210| 5c 20 5c 76 65 72 62 2b | 44 61 76 69 64 2e 4b 6f |\ \verb+|David.Ko|
|00000220| 74 7a 40 44 61 72 74 6d | 6f 75 74 68 2e 65 64 75 |tz@Dartm|outh.edu|
|00000230| 2b 7d 0d 0a 5c 64 61 74 | 65 7b 4a 75 6c 79 20 33 |+}..\dat|e{July 3|
|00000240| 2c 20 31 39 39 31 7d 0d | 0a 0d 0a 5c 6d 61 6b 65 |, 1991}.|...\make|
|00000250| 74 69 74 6c 65 0d 0a 0d | 0a 5c 70 61 67 65 73 74 |title...|.\pagest|
|00000260| 79 6c 65 7b 6d 79 68 65 | 61 64 69 6e 67 73 7d 0d |yle{myhe|adings}.|
|00000270| 0a 5c 6d 61 72 6b 72 69 | 67 68 74 7b 47 4e 55 50 |.\markri|ght{GNUP|
|00000280| 4c 4f 54 20 5c 4c 61 54 | 65 58 5c 20 54 75 74 6f |LOT \LaT|eX\ Tuto|
|00000290| 72 69 61 6c 20 56 65 72 | 73 69 6f 6e 20 33 2e 30 |rial Ver|sion 3.0|
|000002a0| 7d 0d 0a 0d 0a 5c 63 75 | 72 72 65 6e 74 73 70 61 |}....\cu|rrentspa|
|000002b0| 63 65 20 25 20 64 65 66 | 69 6e 65 64 20 69 6e 20 |ce % def|ined in |
|000002c0| 68 65 61 64 65 72 2e 74 | 65 78 0d 0a 0d 0a 5c 73 |header.t|ex....\s|
|000002d0| 65 63 74 69 6f 6e 7b 49 | 6e 74 72 6f 64 75 63 74 |ection{I|ntroduct|
|000002e0| 69 6f 6e 20 61 6e 64 20 | 48 69 73 74 6f 72 79 7d |ion and |History}|
|000002f0| 0d 0a 0d 0a 47 4e 55 50 | 4c 4f 54 20 77 61 73 20 |....GNUP|LOT was |
|00000300| 6f 72 69 67 69 6e 61 6c | 6c 79 20 64 65 76 65 6c |original|ly devel|
|00000310| 6f 70 65 64 20 62 79 20 | 43 6f 6c 69 6e 20 4b 65 |oped by |Colin Ke|
|00000320| 6c 6c 65 79 20 61 6e 64 | 20 54 68 6f 6d 61 73 20 |lley and| Thomas |
|00000330| 57 69 6c 6c 69 61 6d 73 | 0d 0a 69 6e 20 31 39 38 |Williams|..in 198|
|00000340| 36 20 74 6f 20 70 6c 6f | 74 20 66 75 6e 63 74 69 |6 to plo|t functi|
|00000350| 6f 6e 73 20 61 6e 64 20 | 64 61 74 61 20 66 69 6c |ons and |data fil|
|00000360| 65 73 20 6f 6e 20 61 20 | 76 61 72 69 65 74 79 20 |es on a |variety |
|00000370| 6f 66 20 74 65 72 6d 69 | 6e 61 6c 73 2e 0d 0a 49 |of termi|nals...I|
|00000380| 6e 20 31 39 38 38 20 61 | 6e 64 20 31 39 38 39 20 |n 1988 a|nd 1989 |
|00000390| 49 20 63 72 65 61 74 65 | 64 20 61 6e 20 61 6c 74 |I create|d an alt|
|000003a0| 65 72 6e 61 74 65 20 76 | 65 72 73 69 6f 6e 2c 20 |ernate v|ersion, |
|000003b0| 6b 6e 6f 77 6e 20 61 73 | 20 47 6e 75 5c 54 65 58 |known as| Gnu\TeX|
|000003c0| 2c 0d 0a 74 68 61 74 20 | 73 75 70 70 6f 72 74 65 |,..that |supporte|
|000003d0| 64 20 61 20 6e 65 77 20 | 60 60 74 65 72 6d 69 6e |d a new |``termin|
|000003e0| 61 6c 20 74 79 70 65 27 | 27 20 63 61 6c 6c 65 64 |al type'|' called|
|000003f0| 20 7b 5c 74 74 20 6c 61 | 74 65 78 7d 2c 20 73 6f | {\tt la|tex}, so|
|00000400| 20 67 6e 75 70 6c 6f 74 | 0d 0a 77 6f 75 6c 64 20 | gnuplot|..would |
|00000410| 6f 75 74 70 75 74 20 5c | 4c 61 54 65 58 5c 20 63 |output \|LaTeX\ c|
|00000420| 6f 64 65 2e 20 54 68 65 | 20 70 6c 6f 74 20 63 6f |ode. The| plot co|
|00000430| 75 6c 64 20 74 68 65 6e | 20 62 65 20 69 6e 63 6c |uld then| be incl|
|00000440| 75 64 65 64 20 69 6e 20 | 61 0d 0a 5c 4c 61 54 65 |uded in |a..\LaTe|
|00000450| 58 5c 20 64 6f 63 75 6d | 65 6e 74 2e 20 49 20 61 |X\ docum|ent. I a|
|00000460| 64 64 65 64 20 61 20 6e | 75 6d 62 65 72 20 6f 66 |dded a n|umber of|
|00000470| 20 65 6d 62 65 6c 6c 69 | 73 68 6d 65 6e 74 73 2c | embelli|shments,|
|00000480| 20 73 75 70 70 6f 72 74 | 65 64 20 6f 6e 6c 79 0d | support|ed only.|
|00000490| 0a 62 79 20 74 68 65 20 | 7b 5c 74 74 20 6c 61 74 |.by the |{\tt lat|
|000004a0| 65 78 7d 20 74 65 72 6d | 69 6e 61 6c 2c 20 61 6c |ex} term|inal, al|
|000004b0| 6c 6f 77 69 6e 67 20 74 | 68 65 20 75 73 65 72 20 |lowing t|he user |
|000004c0| 74 6f 20 70 72 6f 64 75 | 63 65 0d 0a 70 75 62 6c |to produ|ce..publ|
|000004d0| 69 63 61 74 69 6f 6e 2d | 71 75 61 6c 69 74 79 20 |ication-|quality |
|000004e0| 70 6c 6f 74 73 2e 0d 0a | 0d 0a 49 6e 20 6c 61 74 |plots...|..In lat|
|000004f0| 65 20 31 39 38 39 20 61 | 6e 64 20 65 61 72 6c 79 |e 1989 a|nd early|
|00000500| 20 31 39 39 30 20 47 6e | 75 5c 54 65 58 5c 20 61 | 1990 Gn|u\TeX\ a|
|00000510| 6e 64 20 61 20 6e 75 6d | 62 65 72 20 6f 66 20 6f |nd a num|ber of o|
|00000520| 74 68 65 72 20 47 4e 55 | 50 4c 4f 54 0d 0a 76 61 |ther GNU|PLOT..va|
|00000530| 72 69 61 6e 74 73 20 77 | 65 72 65 20 6d 65 72 67 |riants w|ere merg|
|00000540| 65 64 20 74 6f 67 65 74 | 68 65 72 20 69 6e 74 6f |ed toget|her into|
|00000550| 20 61 20 6e 65 77 20 72 | 65 6c 65 61 73 65 20 6f | a new r|elease o|
|00000560| 66 20 47 4e 55 50 4c 4f | 54 2c 20 32 2e 30 2e 20 |f GNUPLO|T, 2.0. |
|00000570| 54 68 69 73 0d 0a 69 6e | 63 6c 75 64 65 73 2c 20 |This..in|cludes, |
|00000580| 61 6d 6f 6e 67 20 6d 61 | 6e 79 20 6f 74 68 65 72 |among ma|ny other|
|00000590| 20 69 6d 70 72 6f 76 65 | 6d 65 6e 74 73 2c 20 61 | improve|ments, a|
|000005a0| 20 5c 4c 61 54 65 58 5c | 20 64 72 69 76 65 72 20 | \LaTeX\| driver |
|000005b0| 64 65 72 69 76 65 64 20 | 66 72 6f 6d 0d 0a 74 68 |derived |from..th|
|000005c0| 65 20 6f 6e 65 20 69 6e | 20 47 6e 75 5c 54 65 58 |e one in| Gnu\TeX|
|000005d0| 2e 20 46 6f 72 6d 65 72 | 20 47 6e 75 5c 54 65 58 |. Former| Gnu\TeX|
|000005e0| 5c 20 75 73 65 72 73 20 | 61 72 65 20 72 65 66 65 |\ users |are refe|
|000005f0| 72 72 65 64 20 74 6f 0d | 0a 53 65 63 74 69 6f 6e |rred to.|.Section|
|00000600| 7e 5c 72 65 66 7b 6f 6c | 64 75 73 65 72 73 7d 20 |~\ref{ol|dusers} |
|00000610| 66 6f 72 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |for info|rmation |
|00000620| 61 62 6f 75 74 20 61 64 | 61 70 74 69 6e 67 20 74 |about ad|apting t|
|00000630| 6f 20 47 4e 55 50 4c 4f | 54 2e 0d 0a 41 6e 79 6f |o GNUPLO|T...Anyo|
|00000640| 6e 65 20 69 6e 74 65 72 | 65 73 74 65 64 20 69 6e |ne inter|ested in|
|00000650| 20 75 73 69 6e 67 20 47 | 4e 55 50 4c 4f 54 20 77 | using G|NUPLOT w|
|00000660| 69 74 68 20 5c 4c 61 54 | 65 58 5c 20 73 68 6f 75 |ith \LaT|eX\ shou|
|00000670| 6c 64 20 72 65 61 64 20 | 74 68 65 20 6e 65 78 74 |ld read |the next|
|00000680| 0d 0a 73 65 63 74 69 6f | 6e 2c 20 61 20 74 75 74 |..sectio|n, a tut|
|00000690| 6f 72 69 61 6c 2c 20 61 | 6e 64 20 74 68 65 20 70 |orial, a|nd the p|
|000006a0| 72 69 6d 61 72 79 20 47 | 4e 55 50 4c 4f 54 20 6d |rimary G|NUPLOT m|
|000006b0| 61 6e 75 61 6c 2e 0d 0a | 0d 0a 54 68 65 20 72 65 |anual...|..The re|
|000006c0| 61 64 65 72 20 73 68 6f | 75 6c 64 20 6e 6f 74 65 |ader sho|uld note|
|000006d0| 20 74 68 61 74 20 74 68 | 65 20 5c 4c 61 54 65 58 | that th|e \LaTeX|
|000006e0| 5c 20 70 69 63 74 75 72 | 65 20 65 6e 76 69 72 6f |\ pictur|e enviro|
|000006f0| 6e 6d 65 6e 74 73 20 6f | 75 74 70 75 74 20 62 79 |nments o|utput by|
|00000700| 0d 0a 47 4e 55 50 4c 4f | 54 20 63 61 6e 20 62 65 |..GNUPLO|T can be|
|00000710| 20 71 75 69 74 65 20 6c | 61 72 67 65 20 61 6e 64 | quite l|arge and|
|00000720| 20 63 6f 6d 70 6c 69 63 | 61 74 65 64 2c 20 61 6e | complic|ated, an|
|00000730| 64 20 63 61 6e 20 65 61 | 73 69 6c 79 20 65 78 63 |d can ea|sily exc|
|00000740| 65 65 64 20 74 68 65 0d | 0a 6d 65 6d 6f 72 79 20 |eed the.|.memory |
|00000750| 63 61 70 61 63 69 74 79 | 20 6f 66 20 5c 54 65 58 |capacity| of \TeX|
|00000760| 2e 20 49 66 20 61 6e 20 | 65 6e 6c 61 72 67 65 64 |. If an |enlarged|
|00000770| 20 76 65 72 73 69 6f 6e | 20 6f 66 20 5c 54 65 58 | version| of \TeX|
|00000780| 5c 20 69 73 20 61 76 61 | 69 6c 61 62 6c 65 2c 0d |\ is ava|ilable,.|
|00000790| 0a 69 74 20 69 73 20 77 | 69 73 65 20 74 6f 20 75 |.it is w|ise to u|
|000007a0| 73 65 20 69 74 2e 20 4f | 74 68 65 72 77 69 73 65 |se it. O|therwise|
|000007b0| 2c 20 6b 65 65 70 20 79 | 6f 75 72 20 70 6c 6f 74 |, keep y|our plot|
|000007c0| 73 20 73 69 6d 70 6c 65 | 20 61 6e 64 20 61 64 64 |s simple| and add|
|000007d0| 0d 0a 5c 76 65 72 62 2b | 5c 63 6c 65 61 72 70 61 |..\verb+|\clearpa|
|000007e0| 67 65 2b 20 74 6f 20 79 | 6f 75 72 20 64 6f 63 75 |ge+ to y|our docu|
|000007f0| 6d 65 6e 74 20 77 68 65 | 72 65 20 6e 65 63 65 73 |ment whe|re neces|
|00000800| 73 61 72 79 2e 0d 0a 0d | 0a 54 68 65 72 65 20 69 |sary....|.There i|
|00000810| 73 20 61 6c 73 6f 20 61 | 20 6e 65 77 20 45 45 50 |s also a| new EEP|
|00000820| 49 43 20 64 72 69 76 65 | 72 20 28 7b 5c 74 74 20 |IC drive|r ({\tt |
|00000830| 65 65 70 69 63 7d 29 2c | 20 69 6e 74 65 6e 64 65 |eepic}),| intende|
|00000840| 64 20 66 6f 72 20 75 73 | 65 20 77 69 74 68 0d 0a |d for us|e with..|
|00000850| 74 68 65 20 45 45 50 49 | 43 20 6d 61 63 72 6f 20 |the EEPI|C macro |
|00000860| 70 61 63 6b 61 67 65 20 | 66 6f 72 20 5c 4c 61 54 |package |for \LaT|
|00000870| 65 58 2e 20 45 45 50 49 | 43 20 61 6c 6c 6f 77 73 |eX. EEPI|C allows|
|00000880| 20 66 6f 72 20 6d 75 63 | 68 20 6d 6f 72 65 0d 0a | for muc|h more..|
|00000890| 65 66 66 69 63 69 65 6e | 74 20 6c 69 6e 65 2d 64 |efficien|t line-d|
|000008a0| 72 61 77 69 6e 67 2c 20 | 72 75 6e 73 20 74 68 72 |rawing, |runs thr|
|000008b0| 6f 75 67 68 20 5c 4c 61 | 54 65 58 5c 20 66 61 73 |ough \La|TeX\ fas|
|000008c0| 74 65 72 2c 20 61 6e 64 | 20 75 73 65 73 20 6c 65 |ter, and| uses le|
|000008d0| 73 73 0d 0a 6d 65 6d 6f | 72 79 2e 20 20 53 65 65 |ss..memo|ry. See|
|000008e0| 20 53 65 63 74 69 6f 6e | 7e 5c 72 65 66 7b 73 3a | Section|~\ref{s:|
|000008f0| 65 65 70 69 63 7d 20 66 | 6f 72 20 6d 6f 72 65 20 |eepic} f|or more |
|00000900| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 2e 0d 0a 0d 0a |informat|ion.....|
|00000910| 54 68 65 72 65 20 69 73 | 20 61 20 73 6d 61 6c 6c |There is| a small|
|00000920| 20 70 61 63 6b 61 67 65 | 20 6f 66 20 61 75 78 69 | package| of auxi|
|00000930| 6c 69 61 72 79 20 66 69 | 6c 65 73 20 28 6d 61 6b |liary fi|les (mak|
|00000940| 65 66 69 6c 65 73 20 61 | 6e 64 20 73 63 72 69 70 |efiles a|nd scrip|
|00000950| 74 73 29 0d 0a 74 68 61 | 74 20 49 20 66 69 6e 64 |ts)..tha|t I find|
|00000960| 20 75 73 65 66 75 6c 20 | 66 6f 72 20 6d 61 6b 69 | useful |for maki|
|00000970| 6e 67 20 5c 4c 61 54 65 | 58 5c 20 70 6c 6f 74 73 |ng \LaTe|X\ plots|
|00000980| 20 77 69 74 68 20 47 4e | 55 50 4c 4f 54 2e 20 54 | with GN|UPLOT. T|
|00000990| 68 69 73 20 69 73 0d 0a | 61 76 61 69 6c 61 62 6c |his is..|availabl|
|000009a0| 65 20 66 6f 72 20 5c 76 | 65 72 62 2b 66 74 70 2b |e for \v|erb+ftp+|
|000009b0| 20 61 73 20 5c 76 65 72 | 62 2b 70 75 62 2f 67 6e | as \ver|b+pub/gn|
|000009c0| 75 70 6c 6f 74 2d 6c 61 | 74 65 78 2e 73 68 61 72 |uplot-la|tex.shar|
|000009d0| 2b 20 66 72 6f 6d 0d 0a | 5c 76 65 72 62 2b 63 73 |+ from..|\verb+cs|
|000009e0| 2e 64 75 6b 65 2e 65 64 | 75 2b 2e 20 49 20 63 61 |.duke.ed|u+. I ca|
|000009f0| 6e 20 6d 61 69 6c 20 63 | 6f 70 69 65 73 20 28 73 |n mail c|opies (s|
|00000a00| 65 65 20 74 68 65 20 65 | 6e 64 20 6f 66 20 74 68 |ee the e|nd of th|
|00000a10| 69 73 20 70 61 70 65 72 | 20 66 6f 72 0d 0a 69 6e |is paper| for..in|
|00000a20| 66 6f 72 6d 61 74 69 6f | 6e 29 2e 0d 0a 0d 0a 5c |formatio|n).....\|
|00000a30| 73 65 63 74 69 6f 6e 7b | 55 73 69 6e 67 20 47 4e |section{|Using GN|
|00000a40| 55 50 4c 4f 54 20 66 6f | 72 20 5c 4c 61 54 65 58 |UPLOT fo|r \LaTeX|
|00000a50| 3a 20 61 20 54 75 74 6f | 72 69 61 6c 7d 0d 0a 0d |: a Tuto|rial}...|
|00000a60| 0a 47 4e 55 50 4c 4f 54 | 20 69 73 20 62 79 20 6e |.GNUPLOT| is by n|
|00000a70| 61 74 75 72 65 20 61 6e | 20 69 6e 74 65 72 61 63 |ature an| interac|
|00000a80| 74 69 76 65 20 70 72 6f | 67 72 61 6d 2e 20 55 73 |tive pro|gram. Us|
|00000a90| 65 72 73 20 6d 61 6b 69 | 6e 67 20 70 6c 6f 74 73 |ers maki|ng plots|
|00000aa0| 20 66 6f 72 0d 0a 5c 4c | 61 54 65 58 5c 20 77 69 | for..\L|aTeX\ wi|
|00000ab0| 6c 6c 20 67 65 6e 65 72 | 61 6c 6c 79 20 6e 6f 74 |ll gener|ally not|
|00000ac0| 20 75 73 65 20 47 4e 55 | 50 4c 4f 54 20 69 6e 74 | use GNU|PLOT int|
|00000ad0| 65 72 61 63 74 69 76 65 | 6c 79 2e 20 20 57 68 65 |eractive|ly. Whe|
|00000ae0| 6e 65 76 65 72 20 68 61 | 72 64 0d 0a 63 6f 70 79 |never ha|rd..copy|
|00000af0| 20 69 73 20 64 65 73 69 | 72 65 64 20 66 72 6f 6d | is desi|red from|
|00000b00| 20 47 4e 55 50 4c 4f 54 | 2c 20 74 68 65 20 70 72 | GNUPLOT|, the pr|
|00000b10| 6f 67 72 61 6d 20 6e 65 | 65 64 20 6e 6f 74 20 62 |ogram ne|ed not b|
|00000b20| 65 20 72 75 6e 20 6f 6e | 20 61 0d 0a 67 72 61 70 |e run on| a..grap|
|00000b30| 68 69 63 73 20 74 65 72 | 6d 69 6e 61 6c 2e 20 49 |hics ter|minal. I|
|00000b40| 6e 20 74 68 69 73 20 63 | 61 73 65 20 74 68 65 20 |n this c|ase the |
|00000b50| 6f 75 74 70 75 74 20 69 | 73 20 64 69 72 65 63 74 |output i|s direct|
|00000b60| 65 64 20 74 6f 20 61 20 | 66 69 6c 65 20 6f 72 0d |ed to a |file or.|
|00000b70| 0a 70 69 70 65 2c 20 74 | 68 65 6e 20 73 65 6e 74 |.pipe, t|hen sent|
|00000b80| 20 74 6f 20 74 68 65 20 | 61 70 70 72 6f 70 72 69 | to the |appropri|
|00000b90| 61 74 65 20 6f 75 74 70 | 75 74 20 64 65 76 69 63 |ate outp|ut devic|
|00000ba0| 65 2e 20 46 6f 72 20 65 | 78 61 6d 70 6c 65 2c 20 |e. For e|xample, |
|00000bb0| 6f 75 74 70 75 74 0d 0a | 66 72 6f 6d 20 74 68 65 |output..|from the|
|00000bc0| 20 74 65 72 6d 69 6e 61 | 6c 20 74 79 70 65 20 7b | termina|l type {|
|00000bd0| 5c 74 74 20 75 6e 69 78 | 70 6c 6f 74 7d 20 6d 61 |\tt unix|plot} ma|
|00000be0| 79 20 62 65 20 73 65 6e | 74 20 74 6f 20 61 20 70 |y be sen|t to a p|
|00000bf0| 72 6f 67 72 61 6d 0d 0a | 69 6e 74 65 72 70 72 65 |rogram..|interpre|
|00000c00| 74 69 6e 67 20 74 68 65 | 20 55 6e 69 78 20 70 6c |ting the| Unix pl|
|00000c10| 6f 74 74 69 6e 67 20 73 | 74 61 6e 64 61 72 64 2e |otting s|tandard.|
|00000c20| 20 54 68 65 20 74 65 72 | 6d 69 6e 61 6c 20 74 79 | The ter|minal ty|
|00000c30| 70 65 73 20 7b 5c 74 74 | 0d 0a 69 6d 61 67 65 6e |pes {\tt|..imagen|
|00000c40| 7d 20 61 6e 64 20 7b 5c | 74 74 20 70 6f 73 74 73 |} and {\|tt posts|
|00000c50| 63 72 69 70 74 7d 20 6d | 61 79 20 62 65 20 75 73 |cript} m|ay be us|
|00000c60| 65 64 20 66 6f 72 20 6f | 75 74 70 75 74 20 74 6f |ed for o|utput to|
|00000c70| 20 70 72 69 6e 74 65 72 | 73 0d 0a 75 6e 64 65 72 | printer|s..under|
|00000c80| 73 74 61 6e 64 69 6e 67 | 20 74 68 6f 73 65 20 6c |standing| those l|
|00000c90| 61 6e 67 75 61 67 65 73 | 2e 20 28 41 20 73 68 65 |anguages|. (A she|
|00000ca0| 6c 6c 20 73 63 72 69 70 | 74 20 28 7b 5c 74 74 20 |ll scrip|t ({\tt |
|00000cb0| 6c 61 73 65 72 67 6e 75 | 7d 29 20 69 73 0d 0a 73 |lasergnu|}) is..s|
|00000cc0| 75 70 70 6c 69 65 64 20 | 77 69 74 68 20 74 68 65 |upplied |with the|
|00000cd0| 20 64 69 73 74 72 69 62 | 75 74 69 6f 6e 20 74 68 | distrib|ution th|
|00000ce0| 61 74 20 77 69 6c 6c 20 | 61 63 63 65 70 74 20 61 |at will |accept a|
|00000cf0| 20 47 4e 55 50 4c 4f 54 | 20 63 6f 6d 6d 61 6e 64 | GNUPLOT| command|
|00000d00| 20 6f 72 0d 0a 69 6e 70 | 75 74 20 66 69 6c 65 20 | or..inp|ut file |
|00000d10| 61 6e 64 20 73 65 6e 64 | 20 74 68 65 20 6f 75 74 |and send| the out|
|00000d20| 70 75 74 20 74 6f 20 61 | 6e 20 49 6d 61 67 65 6e |put to a|n Imagen|
|00000d30| 20 6f 72 20 50 6f 73 74 | 73 63 72 69 70 74 20 6c | or Post|script l|
|00000d40| 61 73 65 72 0d 0a 70 72 | 69 6e 74 65 72 2e 20 54 |aser..pr|inter. T|
|00000d50| 68 69 73 20 73 63 72 69 | 70 74 20 6d 61 79 20 68 |his scri|pt may h|
|00000d60| 61 76 65 20 62 65 65 6e | 20 61 64 61 70 74 65 64 |ave been| adapted|
|00000d70| 20 74 6f 20 79 6f 75 72 | 20 73 69 74 65 2e 29 20 | to your| site.) |
|00000d80| 54 68 65 20 74 65 72 6d | 69 6e 61 6c 0d 0a 74 79 |The term|inal..ty|
|00000d90| 70 65 20 7b 5c 74 74 20 | 66 69 67 7d 20 6f 75 74 |pe {\tt |fig} out|
|00000da0| 70 75 74 73 20 46 49 47 | 20 63 6f 64 65 20 74 68 |puts FIG| code th|
|00000db0| 61 74 20 63 61 6e 20 62 | 65 20 72 65 61 64 20 62 |at can b|e read b|
|00000dc0| 79 20 74 68 65 20 46 69 | 67 20 67 72 61 70 68 69 |y the Fi|g graphi|
|00000dd0| 63 73 0d 0a 70 72 6f 67 | 72 61 6d 20 61 6e 64 20 |cs..prog|ram and |
|00000de0| 74 72 61 6e 73 6c 61 74 | 65 64 20 69 6e 74 6f 20 |translat|ed into |
|00000df0| 66 6f 72 6d 73 20 75 73 | 61 62 6c 65 20 69 6e 20 |forms us|able in |
|00000e00| 62 6f 74 68 20 5c 54 65 | 58 5c 20 61 6e 64 0d 0a |both \Te|X\ and..|
|00000e10| 5c 4c 61 54 65 58 5c 20 | 64 6f 63 75 6d 65 6e 74 |\LaTeX\ |document|
|00000e20| 73 2e 0d 0a 0d 0a 57 65 | 20 6e 6f 77 20 69 67 6e |s.....We| now ign|
|00000e30| 6f 72 65 20 74 68 65 20 | 69 6e 74 65 72 61 63 74 |ore the |interact|
|00000e40| 69 76 65 20 6e 61 74 75 | 72 65 20 6f 66 20 47 4e |ive natu|re of GN|
|00000e50| 55 50 4c 4f 54 20 61 6e | 64 20 70 72 6f 76 69 64 |UPLOT an|d provid|
|00000e60| 65 20 74 68 65 20 69 6e | 70 75 74 0d 0a 74 6f 20 |e the in|put..to |
|00000e70| 47 4e 55 50 4c 4f 54 20 | 66 72 6f 6d 20 61 20 66 |GNUPLOT |from a f|
|00000e80| 69 6c 65 2c 20 5c 69 65 | 2c 0d 0a 5c 62 65 67 69 |ile, \ie|,..\begi|
|00000e90| 6e 7b 76 65 72 62 61 74 | 69 6d 7d 0d 0a 20 20 20 |n{verbat|im}.. |
|00000ea0| 20 20 20 67 6e 75 70 6c | 6f 74 20 67 6e 75 2e 69 | gnupl|ot gnu.i|
|00000eb0| 6e 70 75 74 0d 0a 5c 65 | 6e 64 7b 76 65 72 62 61 |nput..\e|nd{verba|
|00000ec0| 74 69 6d 7d 0d 0a 49 6e | 20 74 68 69 73 20 65 78 |tim}..In| this ex|
|00000ed0| 61 6d 70 6c 65 2c 20 61 | 6c 6c 20 6f 66 20 74 68 |ample, a|ll of th|
|00000ee0| 65 20 63 6f 6d 6d 61 6e | 64 73 20 74 6f 20 47 4e |e comman|ds to GN|
|00000ef0| 55 50 4c 4f 54 20 61 72 | 65 20 63 6f 6e 74 61 69 |UPLOT ar|e contai|
|00000f00| 6e 65 64 20 69 6e 20 74 | 68 65 0d 0a 66 69 6c 65 |ned in t|he..file|
|00000f10| 20 7b 5c 74 74 20 67 6e | 75 2e 69 6e 70 75 74 7d | {\tt gn|u.input}|
|00000f20| 2e 20 4d 75 6c 74 69 70 | 6c 65 20 66 69 6c 65 6e |. Multip|le filen|
|00000f30| 61 6d 65 73 20 6d 61 79 | 20 62 65 20 73 75 70 70 |ames may| be supp|
|00000f40| 6c 69 65 64 20 74 6f 20 | 47 4e 55 50 4c 4f 54 0d |lied to |GNUPLOT.|
|00000f50| 0a 74 68 69 73 20 77 61 | 79 2c 20 72 65 61 64 20 |.this wa|y, read |
|00000f60| 69 6e 20 74 68 65 20 6f | 72 64 65 72 20 74 68 65 |in the o|rder the|
|00000f70| 79 20 61 72 65 20 67 69 | 76 65 6e 2e 20 20 54 68 |y are gi|ven. Th|
|00000f80| 65 20 6f 75 74 70 75 74 | 20 28 6f 6e 65 20 6f 72 |e output| (one or|
|00000f90| 20 6d 6f 72 65 0d 0a 70 | 6c 6f 74 73 29 20 6d 61 | more..p|lots) ma|
|00000fa0| 79 20 62 65 20 70 69 70 | 65 64 20 74 6f 20 61 6e |y be pip|ed to an|
|00000fb0| 6f 74 68 65 72 20 70 72 | 6f 67 72 61 6d 20 6f 72 |other pr|ogram or|
|00000fc0| 20 72 65 64 69 72 65 63 | 74 65 64 20 74 6f 20 61 | redirec|ted to a|
|00000fd0| 20 66 69 6c 65 2e 0d 0a | 55 73 75 61 6c 6c 79 2c | file...|Usually,|
|00000fe0| 20 68 6f 77 65 76 65 72 | 2c 20 77 65 20 64 69 72 | however|, we dir|
|00000ff0| 65 63 74 20 74 68 65 20 | 6f 75 74 70 75 74 20 65 |ect the |output e|
|00001000| 78 70 6c 69 63 69 74 6c | 79 20 77 69 74 68 20 61 |xplicitl|y with a|
|00001010| 6e 20 69 6e 73 74 72 75 | 63 74 69 6f 6e 0d 0a 74 |n instru|ction..t|
|00001020| 6f 20 47 4e 55 50 4c 4f | 54 20 28 74 68 65 20 7b |o GNUPLO|T (the {|
|00001030| 5c 74 74 20 73 65 74 20 | 6f 75 74 70 75 74 7d 20 |\tt set |output} |
|00001040| 63 6f 6d 6d 61 6e 64 29 | 2e 20 47 4e 55 50 4c 4f |command)|. GNUPLO|
|00001050| 54 20 63 6f 6e 74 69 6e | 75 65 73 20 74 6f 20 70 |T contin|ues to p|
|00001060| 72 69 6e 74 0d 0a 65 72 | 72 6f 72 20 6d 65 73 73 |rint..er|ror mess|
|00001070| 61 67 65 73 20 74 6f 20 | 74 68 65 20 74 65 72 6d |ages to |the term|
|00001080| 69 6e 61 6c 20 28 73 74 | 64 65 72 72 29 2e 0d 0a |inal (st|derr)...|
|00001090| 0d 0a 5c 70 61 72 61 67 | 72 61 70 68 7b 45 78 61 |..\parag|raph{Exa|
|000010a0| 6d 70 6c 65 20 31 3a 7d | 20 48 65 72 65 20 69 73 |mple 1:}| Here is|
|000010b0| 20 61 20 66 69 72 73 74 | 20 65 78 61 6d 70 6c 65 | a first| example|
|000010c0| 2c 20 70 72 6f 64 75 63 | 69 6e 67 20 61 20 70 6c |, produc|ing a pl|
|000010d0| 6f 74 20 66 6f 72 0d 0a | 74 68 69 73 20 64 6f 63 |ot for..|this doc|
|000010e0| 75 6d 65 6e 74 2e 20 54 | 68 65 20 47 4e 55 50 4c |ument. T|he GNUPL|
|000010f0| 4f 54 20 69 6e 70 75 74 | 20 66 69 6c 65 20 69 73 |OT input| file is|
|00001100| 20 67 69 76 65 6e 20 62 | 65 6c 6f 77 2c 20 61 6e | given b|elow, an|
|00001110| 64 20 74 68 65 20 6f 75 | 74 70 75 74 0d 0a 61 70 |d the ou|tput..ap|
|00001120| 70 65 61 72 73 20 61 73 | 20 46 69 67 75 72 65 7e |pears as| Figure~|
|00001130| 5c 72 65 66 7b 65 67 31 | 7d 2e 20 54 68 65 20 69 |\ref{eg1|}. The i|
|00001140| 6e 70 75 74 20 66 69 6c | 65 20 64 65 66 69 6e 65 |nput fil|e define|
|00001150| 73 20 74 68 65 20 6f 75 | 74 70 75 74 20 74 6f 20 |s the ou|tput to |
|00001160| 62 65 0d 0a 69 6e 20 5c | 4c 61 54 65 58 2c 20 67 |be..in \|LaTeX, g|
|00001170| 69 76 65 73 20 61 20 66 | 69 6c 65 20 6e 61 6d 65 |ives a f|ile name|
|00001180| 20 66 6f 72 20 74 68 65 | 20 6f 75 74 70 75 74 2c | for the| output,|
|00001190| 20 61 6e 64 20 70 6c 6f | 74 73 20 24 79 3d 73 69 | and plo|ts $y=si|
|000011a0| 6e 28 78 29 24 20 66 6f | 72 0d 0a 24 78 24 20 6f |n(x)$ fo|r..$x$ o|
|000011b0| 6e 20 24 5b 2d 5c 70 69 | 2c 5c 70 69 5d 24 2e 20 |n $[-\pi|,\pi]$. |
|000011c0| 54 6f 20 70 72 6f 64 75 | 63 65 20 74 68 65 20 66 |To produ|ce the f|
|000011d0| 69 67 75 72 65 2c 20 49 | 20 73 69 6d 70 6c 79 0d |igure, I| simply.|
|000011e0| 0a 5c 76 65 72 62 2b 5c | 69 6e 70 75 74 7b 65 67 |.\verb+\|input{eg|
|000011f0| 31 7d 2b 20 69 6e 20 61 | 20 7b 5c 74 74 20 63 65 |1}+ in a| {\tt ce|
|00001200| 6e 74 65 72 7d 20 65 6e | 76 69 72 6f 6e 6d 65 6e |nter} en|vironmen|
|00001210| 74 20 69 6e 20 61 20 7b | 5c 74 74 20 66 69 67 75 |t in a {|\tt figu|
|00001220| 72 65 7d 0d 0a 65 6e 76 | 69 72 6f 6e 6d 65 6e 74 |re}..env|ironment|
|00001230| 2e 20 49 6e 20 66 6f 6c | 6c 6f 77 69 6e 67 20 65 |. In fol|lowing e|
|00001240| 78 61 6d 70 6c 65 73 2c | 20 49 20 77 69 6c 6c 20 |xamples,| I will |
|00001250| 65 6e 63 6c 6f 73 65 20 | 74 68 65 20 66 69 67 75 |enclose |the figu|
|00001260| 72 65 20 69 6e 20 61 20 | 62 6f 78 0d 0a 74 6f 20 |re in a |box..to |
|00001270| 6d 61 6b 65 20 69 74 20 | 6c 6f 6f 6b 20 61 20 6c |make it |look a l|
|00001280| 69 74 74 6c 65 20 62 65 | 74 74 65 72 2e 0d 0a 0d |ittle be|tter....|
|00001290| 0a 5c 73 69 6e 67 6c 65 | 73 70 61 63 65 0d 0a 5c |.\single|space..\|
|000012a0| 62 65 67 69 6e 7b 76 65 | 72 62 61 74 69 6d 7d 0d |begin{ve|rbatim}.|
|000012b0| 0a 20 20 20 20 73 65 74 | 20 74 65 72 6d 69 6e 61 |. set| termina|
|000012c0| 6c 20 6c 61 74 65 78 0d | 0a 20 20 20 20 73 65 74 |l latex.|. set|
|000012d0| 20 6f 75 74 70 75 74 20 | 22 65 67 31 2e 74 65 78 | output |"eg1.tex|
|000012e0| 22 0d 0a 20 20 20 20 70 | 6c 6f 74 20 5b 2d 33 2e |".. p|lot [-3.|
|000012f0| 31 34 3a 33 2e 31 34 5d | 20 73 69 6e 28 78 29 0d |14:3.14]| sin(x).|
|00001300| 0a 5c 65 6e 64 7b 76 65 | 72 62 61 74 69 6d 7d 0d |.\end{ve|rbatim}.|
|00001310| 0a 5c 63 75 72 72 65 6e | 74 73 70 61 63 65 0d 0a |.\curren|tspace..|
|00001320| 0d 0a 5c 62 65 67 69 6e | 7b 66 69 67 75 72 65 7d |..\begin|{figure}|
|00001330| 5b 68 74 62 70 5d 0d 0a | 20 20 5c 62 65 67 69 6e |[htbp]..| \begin|
|00001340| 7b 63 65 6e 74 65 72 7d | 0d 0a 20 20 20 20 5c 69 |{center}|.. \i|
|00001350| 6e 70 75 74 7b 65 67 31 | 7d 0d 0a 20 20 5c 65 6e |nput{eg1|}.. \en|
|00001360| 64 7b 63 65 6e 74 65 72 | 7d 0d 0a 20 20 5c 63 61 |d{center|}.. \ca|
|00001370| 70 74 69 6f 6e 7b 41 20 | 66 69 72 73 74 20 65 78 |ption{A |first ex|
|00001380| 61 6d 70 6c 65 3a 20 24 | 79 3d 73 69 6e 28 78 29 |ample: $|y=sin(x)|
|00001390| 24 7d 0d 0a 20 20 5c 6c | 61 62 65 6c 7b 65 67 31 |$}.. \l|abel{eg1|
|000013a0| 7d 0d 0a 5c 65 6e 64 7b | 66 69 67 75 72 65 7d 0d |}..\end{|figure}.|
|000013b0| 0a 0d 0a 4e 6f 74 65 20 | 74 68 61 74 20 47 4e 55 |...Note |that GNU|
|000013c0| 50 4c 4f 54 20 68 61 73 | 20 64 72 61 77 6e 20 69 |PLOT has| drawn i|
|000013d0| 6e 20 74 68 65 20 61 78 | 65 73 2c 20 6c 61 62 65 |n the ax|es, labe|
|000013e0| 6c 65 64 20 74 68 65 20 | 74 69 63 20 6d 61 72 6b |led the |tic mark|
|000013f0| 73 20 66 6f 72 20 75 73 | 2c 0d 0a 73 63 61 6c 65 |s for us|,..scale|
|00001400| 64 20 74 68 65 20 24 79 | 24 20 61 78 69 73 20 61 |d the $y|$ axis a|
|00001410| 75 74 6f 6d 61 74 69 63 | 61 6c 6c 79 2c 20 61 6e |utomatic|ally, an|
|00001420| 64 20 61 64 64 65 64 20 | 61 20 6b 65 79 20 69 6e |d added |a key in|
|00001430| 20 74 68 65 0d 0a 75 70 | 70 65 72 2d 72 69 67 68 | the..up|per-righ|
|00001440| 74 2d 68 61 6e 64 20 63 | 6f 72 6e 65 72 20 28 74 |t-hand c|orner (t|
|00001450| 68 69 73 20 6d 61 79 20 | 62 65 20 6d 6f 76 65 64 |his may |be moved|
|00001460| 20 77 69 74 68 20 74 68 | 65 20 7b 5c 74 74 20 73 | with th|e {\tt s|
|00001470| 65 74 20 6b 65 79 7d 0d | 0a 63 6f 6d 6d 61 6e 64 |et key}.|.command|
|00001480| 2c 20 61 6e 64 20 72 65 | 6d 6f 76 65 64 20 77 69 |, and re|moved wi|
|00001490| 74 68 20 7b 5c 74 74 20 | 73 65 74 20 6e 6f 6b 65 |th {\tt |set noke|
|000014a0| 79 7d 29 2e 0d 0a 0d 0a | 54 68 69 73 20 69 73 20 |y}).....|This is |
|000014b0| 74 68 65 20 64 65 66 61 | 75 6c 74 20 6c 69 6e 65 |the defa|ult line|
|000014c0| 20 73 74 79 6c 65 20 66 | 6f 72 20 74 68 65 20 5c | style f|or the \|
|000014d0| 4c 61 54 65 58 5c 20 64 | 72 69 76 65 72 2e 20 20 |LaTeX\ d|river. |
|000014e0| 42 65 63 61 75 73 65 20 | 6f 66 20 74 68 65 0d 0a |Because |of the..|
|000014f0| 6c 69 6d 69 74 65 64 20 | 70 69 63 74 75 72 65 20 |limited |picture |
|00001500| 63 61 70 61 62 69 6c 69 | 74 69 65 73 20 6f 66 20 |capabili|ties of |
|00001510| 5c 4c 61 54 65 58 2c 20 | 6d 61 6e 79 20 64 6f 74 |\LaTeX, |many dot|
|00001520| 73 20 61 72 65 20 72 65 | 71 75 69 72 65 64 20 74 |s are re|quired t|
|00001530| 6f 0d 0a 61 70 70 72 6f | 78 69 6d 61 74 65 20 64 |o..appro|ximate d|
|00001540| 72 61 77 69 6e 67 20 61 | 20 73 6f 6c 69 64 20 6c |rawing a| solid l|
|00001550| 69 6e 65 2e 20 54 68 69 | 73 20 6d 61 79 20 6f 76 |ine. Thi|s may ov|
|00001560| 65 72 6c 6f 61 64 20 74 | 68 65 20 6d 65 6d 6f 72 |erload t|he memor|
|00001570| 79 20 6f 66 20 6d 61 6e | 79 0d 0a 5c 54 65 58 5c |y of man|y..\TeX\|
|00001580| 20 69 6d 70 6c 65 6d 65 | 6e 74 61 74 69 6f 6e 73 | impleme|ntations|
|00001590| 2e 20 54 68 65 72 65 20 | 61 72 65 20 6f 74 68 65 |. There |are othe|
|000015a0| 72 20 6c 69 6e 65 20 74 | 79 70 65 73 20 61 76 61 |r line t|ypes ava|
|000015b0| 69 6c 61 62 6c 65 20 74 | 68 61 74 20 64 72 61 77 |ilable t|hat draw|
|000015c0| 0d 0a 64 6f 74 74 65 64 | 20 6c 69 6e 65 73 20 61 |..dotted| lines a|
|000015d0| 6e 64 20 75 73 65 20 6d | 75 63 68 20 6c 65 73 73 |nd use m|uch less|
|000015e0| 20 6d 65 6d 6f 72 79 2e | 20 54 68 65 20 45 45 50 | memory.| The EEP|
|000015f0| 49 43 20 64 72 69 76 65 | 72 20 64 72 61 77 73 20 |IC drive|r draws |
|00001600| 73 6f 6c 69 64 0d 0a 6c | 69 6e 65 73 20 77 69 74 |solid..l|ines wit|
|00001610| 68 20 6d 75 63 68 20 6c | 65 73 73 20 6d 65 6d 6f |h much l|ess memo|
|00001620| 72 79 20 75 73 61 67 65 | 2e 0d 0a 0d 0a 5c 70 61 |ry usage|.....\pa|
|00001630| 72 61 67 72 61 70 68 7b | 45 78 61 6d 70 6c 65 20 |ragraph{|Example |
|00001640| 32 3a 7d 20 4e 6f 77 20 | 77 65 20 77 69 6c 6c 20 |2:} Now |we will |
|00001650| 65 6d 62 65 6c 6c 69 73 | 68 20 74 68 65 20 70 6c |embellis|h the pl|
|00001660| 6f 74 20 61 20 6c 69 74 | 74 6c 65 20 77 69 74 68 |ot a lit|tle with|
|00001670| 0d 0a 73 6f 6d 65 20 6c | 61 62 65 6c 73 2e 20 20 |..some l|abels. |
|00001680| 54 68 69 73 20 69 6e 70 | 75 74 20 66 69 6c 65 20 |This inp|ut file |
|00001690| 70 72 6f 64 75 63 65 73 | 20 46 69 67 75 72 65 7e |produces| Figure~|
|000016a0| 5c 72 65 66 7b 65 67 32 | 7d 2e 0d 0a 0d 0a 5c 73 |\ref{eg2|}.....\s|
|000016b0| 69 6e 67 6c 65 73 70 61 | 63 65 0d 0a 5c 62 65 67 |inglespa|ce..\beg|
|000016c0| 69 6e 7b 76 65 72 62 61 | 74 69 6d 7d 0d 0a 20 20 |in{verba|tim}.. |
|000016d0| 20 20 73 65 74 20 74 65 | 72 6d 69 6e 61 6c 20 6c | set te|rminal l|
|000016e0| 61 74 65 78 0d 0a 20 20 | 20 20 73 65 74 20 6f 75 |atex.. | set ou|
|000016f0| 74 70 75 74 20 22 65 67 | 32 2e 74 65 78 22 0d 0a |tput "eg|2.tex"..|
|00001700| 20 20 20 20 73 65 74 20 | 73 69 7a 65 20 35 2f 35 | set |size 5/5|
|00001710| 2e 2c 20 34 2f 33 2e 0d | 0a 20 20 20 20 73 65 74 |., 4/3..|. set|
|00001720| 20 66 6f 72 6d 61 74 20 | 78 79 20 22 24 25 67 24 | format |xy "$%g$|
|00001730| 22 0d 0a 20 20 20 20 73 | 65 74 20 74 69 74 6c 65 |".. s|et title|
|00001740| 20 22 54 68 69 73 20 69 | 73 20 61 20 70 6c 6f 74 | "This i|s a plot|
|00001750| 20 6f 66 20 24 79 3d 73 | 69 6e 28 78 29 24 22 0d | of $y=s|in(x)$".|
|00001760| 0a 20 20 20 20 73 65 74 | 20 78 6c 61 62 65 6c 20 |. set| xlabel |
|00001770| 22 54 68 69 73 20 69 73 | 20 74 68 65 20 24 78 24 |"This is| the $x$|
|00001780| 20 61 78 69 73 22 0d 0a | 20 20 20 20 73 65 74 20 | axis"..| set |
|00001790| 79 6c 61 62 65 6c 20 22 | 54 68 69 73 20 69 73 5c |ylabel "|This is\|
|000017a0| 5c 74 68 65 5c 5c 24 79 | 24 20 61 78 69 73 22 0d |\the\\$y|$ axis".|
|000017b0| 0a 20 20 20 20 70 6c 6f | 74 20 5b 30 3a 36 2e 32 |. plo|t [0:6.2|
|000017c0| 38 5d 20 5b 30 3a 31 5d | 20 73 69 6e 28 78 29 0d |8] [0:1]| sin(x).|
|000017d0| 0a 5c 65 6e 64 7b 76 65 | 72 62 61 74 69 6d 7d 0d |.\end{ve|rbatim}.|
|000017e0| 0a 5c 63 75 72 72 65 6e | 74 73 70 61 63 65 0d 0a |.\curren|tspace..|
|000017f0| 0d 0a 5c 62 6f 78 66 69 | 67 75 72 65 7b 68 74 62 |..\boxfi|gure{htb|
|00001800| 70 7d 7b 5c 66 75 6c 6c | 62 6f 78 77 69 64 74 68 |p}{\full|boxwidth|
|00001810| 7d 7b 0d 0a 20 20 5c 62 | 65 67 69 6e 7b 63 65 6e |}{.. \b|egin{cen|
|00001820| 74 65 72 7d 0d 0a 20 20 | 20 20 5c 69 6e 70 75 74 |ter}.. | \input|
|00001830| 7b 65 67 32 7d 0d 0a 20 | 20 5c 65 6e 64 7b 63 65 |{eg2}.. | \end{ce|
|00001840| 6e 74 65 72 7d 0d 0a 20 | 20 5c 63 61 70 74 69 6f |nter}.. | \captio|
|00001850| 6e 7b 41 20 6d 6f 72 65 | 20 66 61 6e 63 79 20 65 |n{A more| fancy e|
|00001860| 78 61 6d 70 6c 65 2e 7d | 0d 0a 20 20 5c 6c 61 62 |xample.}|.. \lab|
|00001870| 65 6c 7b 65 67 32 7d 0d | 0a 7d 0d 0a 0d 0a 57 65 |el{eg2}.|.}....We|
|00001880| 20 68 61 76 65 20 73 70 | 65 63 69 66 69 65 64 20 | have sp|ecified |
|00001890| 74 68 65 20 70 6c 6f 74 | 20 74 6f 20 62 65 20 35 |the plot| to be 5|
|000018a0| 20 69 6e 63 68 65 73 20 | 77 69 64 65 20 61 6e 64 | inches |wide and|
|000018b0| 20 34 20 69 6e 63 68 65 | 73 20 74 61 6c 6c 20 77 | 4 inche|s tall w|
|000018c0| 69 74 68 0d 0a 74 68 65 | 20 7b 5c 74 74 20 73 65 |ith..the| {\tt se|
|000018d0| 74 20 73 69 7a 65 7d 20 | 63 6f 6d 6d 61 6e 64 2e |t size} |command.|
|000018e0| 20 54 68 69 73 20 69 73 | 20 74 68 65 20 73 69 7a | This is| the siz|
|000018f0| 65 20 6f 66 20 74 68 65 | 20 61 72 65 61 20 75 73 |e of the| area us|
|00001900| 65 64 20 62 79 20 74 68 | 65 0d 0a 70 6c 6f 74 2c |ed by th|e..plot,|
|00001910| 20 7b 5c 65 6d 20 69 6e | 63 6c 75 64 69 6e 67 7d | {\em in|cluding}|
|00001920| 20 73 70 61 63 65 20 66 | 6f 72 20 74 68 65 20 6c | space f|or the l|
|00001930| 61 62 65 6c 73 2e 20 20 | 49 6e 20 74 68 65 20 66 |abels. |In the f|
|00001940| 69 72 73 74 20 65 78 61 | 6d 70 6c 65 2c 0d 0a 74 |irst exa|mple,..t|
|00001950| 68 69 73 20 73 69 7a 65 | 20 77 61 73 20 74 68 65 |his size| was the|
|00001960| 20 64 65 66 61 75 6c 74 | 20 35 20 69 6e 63 68 65 | default| 5 inche|
|00001970| 73 20 62 79 20 33 20 69 | 6e 63 68 65 73 2e 20 42 |s by 3 i|nches. B|
|00001980| 79 20 73 70 65 63 69 66 | 79 69 6e 67 20 74 68 65 |y specif|ying the|
|00001990| 0d 0a 73 63 61 6c 69 6e | 67 20 66 61 63 74 6f 72 |..scalin|g factor|
|000019a0| 73 20 6f 66 20 31 20 28 | 6f 72 20 35 2f 35 29 20 |s of 1 (|or 5/5) |
|000019b0| 61 6e 64 20 31 2e 33 33 | 33 33 20 28 6f 72 20 34 |and 1.33|33 (or 4|
|000019c0| 2f 33 29 2c 20 77 65 20 | 6f 62 74 61 69 6e 20 74 |/3), we |obtain t|
|000019d0| 68 65 0d 0a 64 65 73 69 | 72 65 64 20 70 6c 6f 74 |he..desi|red plot|
|000019e0| 20 73 69 7a 65 2e 0d 0a | 0d 0a 57 65 20 68 61 76 | size...|..We hav|
|000019f0| 65 20 72 65 71 75 65 73 | 74 65 64 20 74 68 61 74 |e reques|ted that|
|00001a00| 20 74 68 65 20 66 6f 72 | 6d 61 74 20 75 73 65 64 | the for|mat used|
|00001a10| 20 62 79 20 74 68 65 20 | 24 78 24 2d 20 61 6e 64 | by the |$x$- and|
|00001a20| 20 24 79 24 2d 61 78 69 | 73 20 74 69 63 0d 0a 6d | $y$-axi|s tic..m|
|00001a30| 61 72 6b 20 6c 61 62 65 | 6c 73 20 62 65 20 69 6e |ark labe|ls be in|
|00001a40| 20 5c 4c 61 54 65 58 5c | 20 6d 61 74 68 20 6d 6f | \LaTeX\| math mo|
|00001a50| 64 65 2e 20 54 68 69 73 | 20 6d 61 6b 65 73 20 74 |de. This| makes t|
|00001a60| 68 65 20 6c 61 62 65 6c | 73 20 6c 6f 6f 6b 20 61 |he label|s look a|
|00001a70| 0d 0a 6c 69 74 74 6c 65 | 20 62 65 74 74 65 72 2e |..little| better.|
|00001a80| 20 54 68 65 20 64 65 66 | 61 75 6c 74 20 69 73 20 | The def|ault is |
|00001a90| 5c 76 65 72 62 2b 73 65 | 74 20 66 6f 72 6d 61 74 |\verb+se|t format|
|00001aa0| 20 78 79 20 22 25 67 22 | 2b 2e 20 54 68 65 20 5c | xy "%g"|+. The \|
|00001ab0| 76 65 72 62 2b 25 67 2b | 0d 0a 72 65 70 72 65 73 |verb+%g+|..repres|
|00001ac0| 65 6e 74 73 20 74 68 65 | 20 67 65 6e 65 72 61 6c |ents the| general|
|00001ad0| 2d 70 75 72 70 6f 73 65 | 20 66 6c 6f 61 74 69 6e |-purpose| floatin|
|00001ae0| 67 20 70 6f 69 6e 74 20 | 66 6f 72 6d 61 74 74 69 |g point |formatti|
|00001af0| 6e 67 20 73 70 65 63 69 | 66 69 63 61 74 69 6f 6e |ng speci|fication|
|00001b00| 0d 0a 66 6f 72 20 74 68 | 65 20 7b 5c 74 74 20 70 |..for th|e {\tt p|
|00001b10| 72 69 6e 74 66 7d 20 66 | 75 6e 63 74 69 6f 6e 20 |rintf} f|unction |
|00001b20| 69 6e 20 43 2e 20 41 6e | 79 20 76 61 6c 69 64 20 |in C. An|y valid |
|00001b30| 66 6c 6f 61 74 69 6e 67 | 2d 70 6f 69 6e 74 0d 0a |floating|-point..|
|00001b40| 66 6f 72 6d 61 74 74 69 | 6e 67 20 73 70 65 63 69 |formatti|ng speci|
|00001b50| 66 69 63 61 74 69 6f 6e | 2c 20 6f 72 20 5c 4c 61 |fication|, or \La|
|00001b60| 54 65 58 5c 20 63 6f 6d | 6d 61 6e 64 2c 20 69 73 |TeX\ com|mand, is|
|00001b70| 20 61 6c 6c 6f 77 65 64 | 20 69 6e 20 74 68 65 0d | allowed| in the.|
|00001b80| 0a 66 6f 72 6d 61 74 2e | 0d 0a 0d 0a 41 20 74 69 |.format.|....A ti|
|00001b90| 74 6c 65 20 66 6f 72 20 | 74 68 65 20 70 6c 6f 74 |tle for |the plot|
|00001ba0| 20 61 6e 64 20 6c 61 62 | 65 6c 73 20 66 6f 72 20 | and lab|els for |
|00001bb0| 74 68 65 20 61 78 65 73 | 20 77 65 72 65 20 73 65 |the axes| were se|
|00001bc0| 74 20 75 70 20 69 6e 20 | 74 68 65 20 6e 65 78 74 |t up in |the next|
|00001bd0| 0d 0a 74 68 72 65 65 20 | 63 6f 6d 6d 61 6e 64 73 |..three |commands|
|00001be0| 2e 20 20 4e 6f 74 65 20 | 74 68 61 74 20 74 68 65 |. Note |that the|
|00001bf0| 79 20 61 72 65 20 70 72 | 6f 63 65 73 73 65 64 20 |y are pr|ocessed |
|00001c00| 62 79 20 5c 4c 61 54 65 | 58 5c 20 61 6e 64 20 73 |by \LaTe|X\ and s|
|00001c10| 6f 20 6d 61 79 0d 0a 68 | 61 76 65 20 6d 61 74 68 |o may..h|ave math|
|00001c20| 20 6d 6f 64 65 20 61 6e | 64 20 6f 74 68 65 72 20 | mode an|d other |
|00001c30| 73 79 6d 62 6f 6c 73 20 | 69 6e 20 74 68 65 6d 2e |symbols |in them.|
|00001c40| 20 54 68 65 20 79 6c 61 | 62 65 6c 20 6d 61 79 20 | The yla|bel may |
|00001c50| 68 61 76 65 20 6d 75 6c | 74 69 70 6c 65 0d 0a 6c |have mul|tiple..l|
|00001c60| 69 6e 65 73 2c 20 64 65 | 6c 69 6e 65 61 74 65 64 |ines, de|lineated|
|00001c70| 20 77 69 74 68 20 5c 76 | 65 72 62 2b 5c 5c 2b 2e | with \v|erb+\\+.|
|00001c80| 20 20 54 68 65 20 79 6c | 61 62 65 6c 20 63 61 6e | The yl|abel can|
|00001c90| 20 62 65 20 6d 6f 76 65 | 64 20 61 72 6f 75 6e 64 | be move|d around|
|00001ca0| 20 77 69 74 68 0d 0a 6f | 70 74 69 6f 6e 61 6c 20 | with..o|ptional |
|00001cb0| 6f 66 66 73 65 74 20 70 | 61 72 61 6d 65 74 65 72 |offset p|arameter|
|00001cc0| 73 20 28 73 65 65 20 7b | 5c 74 74 20 73 65 74 20 |s (see {|\tt set |
|00001cd0| 79 6c 61 62 65 6c 7d 20 | 69 6e 20 74 68 65 20 47 |ylabel} |in the G|
|00001ce0| 4e 55 50 4c 4f 54 0d 0a | 6d 61 6e 75 61 6c 29 2e |NUPLOT..|manual).|
|00001cf0| 20 54 79 70 69 63 61 6c | 6c 79 2c 20 74 68 65 20 | Typical|ly, the |
|00001d00| 79 6c 61 62 65 6c 20 6e | 65 65 64 73 20 74 6f 20 |ylabel n|eeds to |
|00001d10| 62 65 20 6d 6f 76 65 64 | 20 74 6f 20 74 68 65 20 |be moved| to the |
|00001d20| 6c 65 66 74 20 74 6f 20 | 61 76 6f 69 64 0d 0a 69 |left to |avoid..i|
|00001d30| 6e 74 65 72 66 65 72 69 | 6e 67 20 77 69 74 68 20 |nterferi|ng with |
|00001d40| 74 68 65 20 6c 65 66 74 | 2d 68 61 6e 64 20 73 69 |the left|-hand si|
|00001d50| 64 65 20 6f 66 20 74 68 | 65 20 70 6c 6f 74 2e 20 |de of th|e plot. |
|00001d60| 20 4f 6e 63 65 20 74 68 | 65 73 65 20 6c 61 62 65 | Once th|ese labe|
|00001d70| 6c 73 0d 0a 61 72 65 20 | 73 65 74 20 75 70 2c 20 |ls..are |set up, |
|00001d80| 74 68 65 79 20 77 69 6c | 6c 20 62 65 20 75 73 65 |they wil|l be use|
|00001d90| 64 20 66 6f 72 20 61 6c | 6c 20 73 75 62 73 65 71 |d for al|l subseq|
|00001da0| 75 65 6e 74 20 70 6c 6f | 74 20 63 6f 6d 6d 61 6e |uent plo|t comman|
|00001db0| 64 73 20 75 6e 74 69 6c | 0d 0a 74 68 65 79 20 61 |ds until|..they a|
|00001dc0| 72 65 20 63 68 61 6e 67 | 65 64 2e 20 54 68 65 73 |re chang|ed. Thes|
|00001dd0| 65 20 6c 61 62 65 6c 73 | 20 61 72 65 20 61 6c 73 |e labels| are als|
|00001de0| 6f 20 73 75 70 70 6f 72 | 74 65 64 20 62 79 20 74 |o suppor|ted by t|
|00001df0| 68 65 20 6f 74 68 65 72 | 0d 0a 74 65 72 6d 69 6e |he other|..termin|
|00001e00| 61 6c 20 74 79 70 65 73 | 2c 20 62 75 74 20 28 6f |al types|, but (o|
|00001e10| 66 20 63 6f 75 72 73 65 | 29 20 61 6e 79 20 5c 4c |f course|) any \L|
|00001e20| 61 54 65 58 5c 20 63 6f | 64 65 20 69 6e 20 74 68 |aTeX\ co|de in th|
|00001e30| 65 20 73 74 72 69 6e 67 | 20 77 69 6c 6c 0d 0a 6e |e string| will..n|
|00001e40| 6f 74 20 62 65 20 69 6e | 74 65 72 70 72 65 74 65 |ot be in|terprete|
|00001e50| 64 2e 20 57 65 20 68 61 | 76 65 20 61 6c 73 6f 20 |d. We ha|ve also |
|00001e60| 64 65 66 69 6e 65 64 20 | 74 68 65 20 72 61 6e 67 |defined |the rang|
|00001e70| 65 20 6f 66 20 62 6f 74 | 68 20 24 78 24 20 28 6e |e of bot|h $x$ (n|
|00001e80| 6f 77 0d 0a 24 5b 30 2c | 32 5c 70 69 5d 24 29 20 |ow..$[0,|2\pi]$) |
|00001e90| 61 6e 64 20 24 79 24 20 | 28 68 65 72 65 20 24 5b |and $y$ |(here $[|
|00001ea0| 30 2c 31 5d 24 29 2e 0d | 0a 0d 0a 53 6f 20 66 61 |0,1]$)..|...So fa|
|00001eb0| 72 20 77 65 20 68 61 76 | 65 20 70 6c 6f 74 74 65 |r we hav|e plotte|
|00001ec0| 64 20 6f 6e 65 20 63 75 | 72 76 65 2c 20 24 79 3d |d one cu|rve, $y=|
|00001ed0| 5c 73 69 6e 28 78 29 24 | 2c 20 6f 6e 20 6f 6e 65 |\sin(x)$|, on one|
|00001ee0| 20 70 6c 6f 74 2e 20 49 | 6e 0d 0a 47 4e 55 50 4c | plot. I|n..GNUPL|
|00001ef0| 4f 54 2c 20 65 61 63 68 | 20 7b 5c 74 74 20 70 6c |OT, each| {\tt pl|
|00001f00| 6f 74 7d 20 63 6f 6d 6d | 61 6e 64 20 67 65 6e 65 |ot} comm|and gene|
|00001f10| 72 61 74 65 73 20 61 20 | 6e 65 77 20 70 6c 6f 74 |rates a |new plot|
|00001f20| 2e 20 49 66 20 74 68 65 | 20 6f 75 74 70 75 74 0d |. If the| output.|
|00001f30| 0a 69 73 20 74 6f 20 61 | 20 73 63 72 65 65 6e 2c |.is to a| screen,|
|00001f40| 20 74 68 65 20 73 63 72 | 65 65 6e 20 69 73 20 63 | the scr|een is c|
|00001f50| 6c 65 61 72 65 64 2e 20 | 49 66 20 74 6f 20 61 20 |leared. |If to a |
|00001f60| 70 72 69 6e 74 65 72 2c | 20 61 20 6e 65 77 20 70 |printer,| a new p|
|00001f70| 61 67 65 20 69 73 0d 0a | 70 72 6f 64 75 63 65 64 |age is..|produced|
|00001f80| 2e 20 49 6e 20 74 68 65 | 20 7b 5c 74 74 20 6c 61 |. In the| {\tt la|
|00001f90| 74 65 78 7d 20 63 61 73 | 65 2c 20 61 20 6e 65 77 |tex} cas|e, a new|
|00001fa0| 20 70 69 63 74 75 72 65 | 20 69 73 20 73 74 61 72 | picture| is star|
|00001fb0| 74 65 64 2e 20 49 74 20 | 69 73 20 6e 6f 74 0d 0a |ted. It |is not..|
|00001fc0| 6c 69 6b 65 6c 79 20 74 | 68 61 74 20 5c 4c 61 54 |likely t|hat \LaT|
|00001fd0| 65 58 5c 20 75 73 65 72 | 73 20 77 69 6c 6c 20 77 |eX\ user|s will w|
|00001fe0| 61 6e 74 20 74 68 69 73 | 20 74 6f 20 68 61 70 70 |ant this| to happ|
|00001ff0| 65 6e 2c 20 73 6f 20 67 | 65 6e 65 72 61 6c 6c 79 |en, so g|enerally|
|00002000| 20 65 61 63 68 0d 0a 70 | 6c 6f 74 20 68 61 73 20 | each..p|lot has |
|00002010| 69 74 73 20 6f 77 6e 20 | 69 6e 70 75 74 20 66 69 |its own |input fi|
|00002020| 6c 65 20 61 6e 64 20 69 | 73 20 6b 65 70 74 20 69 |le and i|s kept i|
|00002030| 6e 20 61 20 73 65 70 61 | 72 61 74 65 20 6f 75 74 |n a sepa|rate out|
|00002040| 70 75 74 20 28 7b 5c 74 | 74 0d 0a 2e 74 65 78 7d |put ({\t|t...tex}|
|00002050| 29 20 66 69 6c 65 20 66 | 6f 72 20 69 6e 63 6c 75 |) file f|or inclu|
|00002060| 73 69 6f 6e 20 61 74 20 | 64 69 66 66 65 72 65 6e |sion at |differen|
|00002070| 74 20 70 6c 61 63 65 73 | 20 69 6e 20 74 68 65 20 |t places| in the |
|00002080| 64 6f 63 75 6d 65 6e 74 | 2e 0d 0a 0d 0a 5c 70 61 |document|.....\pa|
|00002090| 72 61 67 72 61 70 68 7b | 45 78 61 6d 70 6c 65 20 |ragraph{|Example |
|000020a0| 33 3a 7d 20 54 6f 20 70 | 6c 61 63 65 20 6d 6f 72 |3:} To p|lace mor|
|000020b0| 65 20 74 68 61 6e 20 6f | 6e 65 20 63 75 72 76 65 |e than o|ne curve|
|000020c0| 20 6f 6e 20 61 20 70 6c | 6f 74 2c 20 75 73 65 20 | on a pl|ot, use |
|000020d0| 6f 6e 65 0d 0a 7b 5c 74 | 74 20 70 6c 6f 74 7d 20 |one..{\t|t plot} |
|000020e0| 73 74 61 74 65 6d 65 6e | 74 20 61 6e 64 20 73 65 |statemen|t and se|
|000020f0| 70 61 72 61 74 65 20 74 | 68 65 20 64 65 73 63 72 |parate t|he descr|
|00002100| 69 70 74 69 6f 6e 20 6f | 66 20 65 61 63 68 20 63 |iption o|f each c|
|00002110| 75 72 76 65 20 62 79 20 | 61 0d 0a 63 6f 6d 6d 61 |urve by |a..comma|
|00002120| 2e 20 49 6e 20 6f 75 72 | 20 6e 65 78 74 20 65 78 |. In our| next ex|
|00002130| 61 6d 70 6c 65 2c 20 77 | 65 20 77 69 6c 6c 20 70 |ample, w|e will p|
|00002140| 6c 6f 74 20 62 6f 74 68 | 20 61 20 66 75 6e 63 74 |lot both| a funct|
|00002150| 69 6f 6e 20 61 6e 64 20 | 61 20 64 61 74 61 0d 0a |ion and |a data..|
|00002160| 66 69 6c 65 20 6f 6e 20 | 74 68 65 20 73 61 6d 65 |file on |the same|
|00002170| 20 70 6c 6f 74 2e 20 54 | 68 69 73 20 70 6c 6f 74 | plot. T|his plot|
|00002180| 20 69 73 20 73 68 6f 77 | 6e 20 69 6e 20 46 69 67 | is show|n in Fig|
|00002190| 75 72 65 7e 5c 72 65 66 | 7b 65 67 33 7d 2e 0d 0a |ure~\ref|{eg3}...|
|000021a0| 0d 0a 5c 73 69 6e 67 6c | 65 73 70 61 63 65 0d 0a |..\singl|espace..|
|000021b0| 5c 62 65 67 69 6e 7b 76 | 65 72 62 61 74 69 6d 7d |\begin{v|erbatim}|
|000021c0| 0d 0a 20 20 20 20 73 65 | 74 20 74 65 72 6d 69 6e |.. se|t termin|
|000021d0| 61 6c 20 6c 61 74 65 78 | 0d 0a 20 20 20 20 73 65 |al latex|.. se|
|000021e0| 74 20 6f 75 74 70 75 74 | 20 22 65 67 33 2e 74 65 |t output| "eg3.te|
|000021f0| 78 22 0d 0a 20 20 20 20 | 73 65 74 20 66 6f 72 6d |x".. |set form|
|00002200| 61 74 20 78 79 20 22 24 | 25 67 24 22 0d 0a 20 20 |at xy "$|%g$".. |
|00002210| 20 20 73 65 74 20 74 69 | 74 6c 65 20 22 54 68 69 | set ti|tle "Thi|
|00002220| 73 20 69 73 20 61 6e 6f | 74 68 65 72 20 70 6c 6f |s is ano|ther plo|
|00002230| 74 22 0d 0a 20 20 20 20 | 73 65 74 20 78 6c 61 62 |t".. |set xlab|
|00002240| 65 6c 20 22 24 78 24 20 | 61 78 69 73 22 0d 0a 20 |el "$x$ |axis".. |
|00002250| 20 20 20 73 65 74 20 79 | 6c 61 62 65 6c 20 22 24 | set y|label "$|
|00002260| 79 24 20 61 78 69 73 22 | 0d 0a 20 20 20 20 73 65 |y$ axis"|.. se|
|00002270| 74 20 6b 65 79 20 31 35 | 2c 2d 31 30 0d 0a 20 20 |t key 15|,-10.. |
|00002280| 20 20 70 6c 6f 74 20 78 | 20 77 69 74 68 20 6c 69 | plot x| with li|
|00002290| 6e 65 73 2c 20 22 65 67 | 33 2e 64 61 74 22 20 77 |nes, "eg|3.dat" w|
|000022a0| 69 74 68 20 6c 69 6e 65 | 73 70 6f 69 6e 74 73 0d |ith line|spoints.|
|000022b0| 0a 5c 65 6e 64 7b 76 65 | 72 62 61 74 69 6d 7d 0d |.\end{ve|rbatim}.|
|000022c0| 0a 5c 63 75 72 72 65 6e | 74 73 70 61 63 65 0d 0a |.\curren|tspace..|
|000022d0| 0d 0a 5c 62 6f 78 66 69 | 67 75 72 65 7b 68 74 62 |..\boxfi|gure{htb|
|000022e0| 70 7d 7b 5c 66 75 6c 6c | 62 6f 78 77 69 64 74 68 |p}{\full|boxwidth|
|000022f0| 7d 7b 0d 0a 20 20 5c 62 | 65 67 69 6e 7b 63 65 6e |}{.. \b|egin{cen|
|00002300| 74 65 72 7d 0d 0a 20 20 | 20 20 5c 69 6e 70 75 74 |ter}.. | \input|
|00002310| 7b 65 67 33 7d 0d 0a 20 | 20 5c 65 6e 64 7b 63 65 |{eg3}.. | \end{ce|
|00002320| 6e 74 65 72 7d 0d 0a 20 | 20 5c 63 61 70 74 69 6f |nter}.. | \captio|
|00002330| 6e 7b 41 6e 20 65 78 61 | 6d 70 6c 65 20 77 69 74 |n{An exa|mple wit|
|00002340| 68 20 74 77 6f 20 63 75 | 72 76 65 73 20 6f 6e 20 |h two cu|rves on |
|00002350| 74 68 65 20 73 61 6d 65 | 20 70 6c 6f 74 2e 7d 0d |the same| plot.}.|
|00002360| 0a 20 20 5c 6c 61 62 65 | 6c 7b 65 67 33 7d 0d 0a |. \labe|l{eg3}..|
|00002370| 7d 0d 0a 0d 0a 48 65 72 | 65 20 79 6f 75 20 77 69 |}....Her|e you wi|
|00002380| 6c 6c 20 73 65 65 20 74 | 68 61 74 20 74 68 65 20 |ll see t|hat the |
|00002390| 24 78 24 20 72 61 6e 67 | 65 20 77 61 73 20 6e 6f |$x$ rang|e was no|
|000023a0| 74 20 73 70 65 63 69 66 | 69 65 64 2e 20 54 68 65 |t specif|ied. The|
|000023b0| 20 24 78 24 20 72 61 6e | 67 65 0d 0a 69 73 20 64 | $x$ ran|ge..is d|
|000023c0| 65 74 65 72 6d 69 6e 65 | 64 20 61 75 74 6f 6d 61 |etermine|d automa|
|000023d0| 74 69 63 61 6c 6c 79 2c | 20 75 6e 6c 65 73 73 20 |tically,| unless |
|000023e0| 73 70 65 63 69 66 69 65 | 64 20 62 79 20 74 68 65 |specifie|d by the|
|000023f0| 20 75 73 65 72 2e 20 20 | 49 6e 0d 0a 74 68 69 73 | user. |In..this|
|00002400| 20 63 61 73 65 2c 20 69 | 74 20 69 73 20 64 65 66 | case, i|t is def|
|00002410| 69 6e 65 64 20 62 79 20 | 74 68 65 20 72 61 6e 67 |ined by |the rang|
|00002420| 65 20 6f 66 20 74 68 65 | 20 64 61 74 61 20 66 69 |e of the| data fi|
|00002430| 6c 65 0d 0a 5c 76 65 72 | 62 2b 22 65 67 33 2e 64 |le..\ver|b+"eg3.d|
|00002440| 61 74 22 2b 2e 20 54 68 | 65 20 66 75 6e 63 74 69 |at"+. Th|e functi|
|00002450| 6f 6e 20 69 73 20 70 6c | 6f 74 74 65 64 20 6f 76 |on is pl|otted ov|
|00002460| 65 72 20 74 68 65 20 73 | 61 6d 65 20 72 61 6e 67 |er the s|ame rang|
|00002470| 65 2e 20 49 66 20 6e 6f | 0d 0a 64 61 74 61 20 66 |e. If no|..data f|
|00002480| 69 6c 65 73 20 6f 72 20 | 24 78 24 20 72 61 6e 67 |iles or |$x$ rang|
|00002490| 65 20 61 72 65 20 73 75 | 70 70 6c 69 65 64 2c 20 |e are su|pplied, |
|000024a0| 74 68 65 20 64 65 66 61 | 75 6c 74 20 72 61 6e 67 |the defa|ult rang|
|000024b0| 65 20 6f 66 20 24 5b 2d | 31 30 3a 31 30 5d 24 0d |e of $[-|10:10]$.|
|000024c0| 0a 69 73 20 75 73 65 64 | 2e 20 57 65 20 68 61 76 |.is used|. We hav|
|000024d0| 65 20 61 6c 73 6f 20 6d | 6f 76 65 64 20 74 68 65 |e also m|oved the|
|000024e0| 20 6b 65 79 20 74 6f 20 | 61 20 64 69 66 66 65 72 | key to |a differ|
|000024f0| 65 6e 74 20 70 6f 73 69 | 74 69 6f 6e 2e 20 20 54 |ent posi|tion. T|
|00002500| 68 65 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 24 79 3d |he..func|tion $y=|
|00002510| 78 24 20 69 73 20 70 6c | 6f 74 74 65 64 20 60 60 |x$ is pl|otted ``|
|00002520| 77 69 74 68 20 6c 69 6e | 65 73 27 27 2c 20 77 68 |with lin|es'', wh|
|00002530| 69 63 68 20 69 73 20 74 | 68 65 20 64 65 66 61 75 |ich is t|he defau|
|00002540| 6c 74 20 70 6c 6f 74 0d | 0a 73 74 79 6c 65 20 66 |lt plot.|.style f|
|00002550| 6f 72 20 66 75 6e 63 74 | 69 6f 6e 73 2c 20 61 6e |or funct|ions, an|
|00002560| 64 20 69 73 20 73 68 6f | 77 6e 20 68 65 72 65 20 |d is sho|wn here |
|00002570| 74 6f 20 69 6c 6c 75 73 | 74 72 61 74 65 20 74 68 |to illus|trate th|
|00002580| 65 20 70 6c 6f 74 20 73 | 74 79 6c 65 0d 0a 6f 70 |e plot s|tyle..op|
|00002590| 74 69 6f 6e 2e 20 20 54 | 68 65 20 64 61 74 61 20 |tion. T|he data |
|000025a0| 66 69 6c 65 20 7b 5c 74 | 74 20 65 67 33 2e 64 61 |file {\t|t eg3.da|
|000025b0| 74 7d 20 69 73 20 70 6c | 6f 74 74 65 64 20 77 69 |t} is pl|otted wi|
|000025c0| 74 68 20 73 74 79 6c 65 | 20 7b 5c 74 74 0d 0a 6c |th style| {\tt..l|
|000025d0| 69 6e 65 73 70 6f 69 6e | 74 73 7d 2c 20 61 20 73 |inespoin|ts}, a s|
|000025e0| 74 79 6c 65 20 6c 69 6b | 65 20 7b 5c 74 74 20 6c |tyle lik|e {\tt l|
|000025f0| 69 6e 65 73 7d 20 74 68 | 61 74 20 61 6c 73 6f 20 |ines} th|at also |
|00002600| 70 6c 6f 74 73 20 61 20 | 73 79 6d 62 6f 6c 20 61 |plots a |symbol a|
|00002610| 74 0d 0a 65 61 63 68 20 | 64 61 74 61 20 70 6f 69 |t..each |data poi|
|00002620| 6e 74 2e 0d 0a 0d 0a 54 | 68 65 72 65 20 69 73 20 |nt.....T|here is |
|00002630| 61 20 73 74 79 6c 65 20 | 63 61 6c 6c 65 64 20 7b |a style |called {|
|00002640| 5c 74 74 20 70 6f 69 6e | 74 73 7d 20 74 68 61 74 |\tt poin|ts} that|
|00002650| 20 6f 6e 6c 79 20 70 6c | 6f 74 73 20 74 68 65 20 | only pl|ots the |
|00002660| 73 79 6d 62 6f 6c 73 20 | 61 74 0d 0a 64 61 74 61 |symbols |at..data|
|00002670| 20 70 6f 69 6e 74 73 2c | 20 61 6e 64 20 61 6e 6f | points,| and ano|
|00002680| 74 68 65 72 20 63 61 6c | 6c 65 64 20 7b 5c 74 74 |ther cal|led {\tt|
|00002690| 20 64 6f 74 73 7d 20 74 | 68 61 74 20 70 6c 6f 74 | dots} t|hat plot|
|000026a0| 73 20 61 20 74 69 6e 79 | 20 64 6f 74 20 66 6f 72 |s a tiny| dot for|
|000026b0| 0d 0a 65 61 63 68 20 64 | 61 74 61 20 70 6f 69 6e |..each d|ata poin|
|000026c0| 74 2e 20 20 54 68 65 20 | 7b 5c 74 74 20 70 6f 69 |t. The |{\tt poi|
|000026d0| 6e 74 73 7d 20 61 6e 64 | 20 7b 5c 74 74 20 6c 69 |nts} and| {\tt li|
|000026e0| 6e 65 73 70 6f 69 6e 74 | 73 7d 20 73 74 79 6c 65 |nespoint|s} style|
|000026f0| 73 0d 0a 70 72 6f 64 75 | 63 65 20 61 20 64 69 66 |s..produ|ce a dif|
|00002700| 66 65 72 65 6e 74 20 70 | 6f 69 6e 74 20 73 79 6d |ferent p|oint sym|
|00002710| 62 6f 6c 20 66 6f 72 20 | 65 61 63 68 20 63 75 72 |bol for |each cur|
|00002720| 76 65 20 6f 6e 20 74 68 | 65 20 70 6c 6f 74 20 28 |ve on th|e plot (|
|00002730| 66 6f 72 20 75 70 20 74 | 6f 0d 0a 74 77 65 6c 76 |for up t|o..twelv|
|00002740| 65 20 73 79 6d 62 6f 6c | 73 2c 20 61 66 74 65 72 |e symbol|s, after|
|00002750| 20 77 68 69 63 68 20 74 | 68 65 79 20 61 72 65 20 | which t|hey are |
|00002760| 72 65 2d 75 73 65 64 3b | 20 73 65 65 0d 0a 46 69 |re-used;| see..Fi|
|00002770| 67 75 72 65 7e 5c 72 65 | 66 7b 6c 69 6e 65 70 6f |gure~\re|f{linepo|
|00002780| 69 6e 74 7d 20 66 6f 72 | 20 61 20 63 6f 6d 70 6c |int} for| a compl|
|00002790| 65 74 65 20 6c 69 73 74 | 29 2e 20 54 68 65 20 7b |ete list|). The {|
|000027a0| 5c 74 74 20 6c 69 6e 65 | 73 7d 20 61 6e 64 20 7b |\tt line|s} and {|
|000027b0| 5c 74 74 0d 0a 6c 69 6e | 65 73 70 6f 69 6e 74 73 |\tt..lin|espoints|
|000027c0| 7d 20 73 74 79 6c 65 73 | 20 75 73 65 20 61 20 64 |} styles| use a d|
|000027d0| 69 66 66 65 72 65 6e 74 | 20 6c 69 6e 65 20 73 74 |ifferent| line st|
|000027e0| 79 6c 65 20 66 6f 72 20 | 65 61 63 68 20 63 75 72 |yle for |each cur|
|000027f0| 76 65 20 6f 6e 20 74 68 | 65 0d 0a 70 6c 6f 74 20 |ve on th|e..plot |
|00002800| 28 69 6e 20 74 68 69 73 | 20 65 78 61 6d 70 6c 65 |(in this| example|
|00002810| 20 74 68 65 20 64 6f 74 | 73 20 68 61 76 65 20 64 | the dot|s have d|
|00002820| 69 66 66 65 72 65 6e 74 | 20 73 70 61 63 69 6e 67 |ifferent| spacing|
|00002830| 29 2e 20 54 68 65 0d 0a | 73 74 79 6c 65 20 7b 5c |). The..|style {\|
|00002840| 74 74 20 69 6d 70 75 6c | 73 65 73 7d 20 64 72 61 |tt impul|ses} dra|
|00002850| 77 73 20 61 20 70 65 72 | 70 65 6e 64 69 63 75 6c |ws a per|pendicul|
|00002860| 61 72 20 66 72 6f 6d 20 | 65 61 63 68 20 70 6f 69 |ar from |each poi|
|00002870| 6e 74 20 74 6f 20 74 68 | 65 0d 0a 24 78 24 2d 61 |nt to th|e..$x$-a|
|00002880| 78 69 73 2e 20 46 69 6e | 61 6c 6c 79 2c 20 74 68 |xis. Fin|ally, th|
|00002890| 65 20 7b 5c 74 74 20 65 | 72 72 6f 72 62 61 72 73 |e {\tt e|rrorbars|
|000028a0| 7d 20 73 74 79 6c 65 20 | 63 61 6e 20 64 72 61 77 |} style |can draw|
|000028b0| 20 65 72 72 6f 72 20 62 | 61 72 73 20 61 74 0d 0a | error b|ars at..|
|000028c0| 65 61 63 68 20 64 61 74 | 61 20 70 6f 69 6e 74 20 |each dat|a point |
|000028d0| 28 73 65 65 20 74 68 65 | 20 47 4e 55 50 4c 4f 54 |(see the| GNUPLOT|
|000028e0| 20 6d 61 6e 75 61 6c 29 | 2e 0d 0a 0d 0a 5c 70 61 | manual)|.....\pa|
|000028f0| 72 61 67 72 61 70 68 7b | 45 78 61 6d 70 6c 65 20 |ragraph{|Example |
|00002900| 34 3a 7d 20 49 6e 20 74 | 68 65 20 61 62 6f 76 65 |4:} In t|he above|
|00002910| 20 70 6c 6f 74 73 20 6f | 66 20 24 5c 73 69 6e 28 | plots o|f $\sin(|
|00002920| 78 29 24 2c 20 69 74 20 | 77 6f 75 6c 64 20 6d 61 |x)$, it |would ma|
|00002930| 6b 65 0d 0a 6d 6f 72 65 | 20 73 65 6e 73 65 20 74 |ke..more| sense t|
|00002940| 6f 20 6c 61 62 65 6c 20 | 74 68 65 20 61 78 69 73 |o label |the axis|
|00002950| 20 69 6e 20 75 6e 69 74 | 73 20 6f 66 20 24 5c 70 | in unit|s of $\p|
|00002960| 69 24 2e 20 54 68 65 20 | 70 6f 73 69 74 69 6f 6e |i$. The |position|
|00002970| 20 61 6e 64 0d 0a 6c 61 | 62 65 6c 73 20 6f 66 20 | and..la|bels of |
|00002980| 74 68 65 20 74 69 63 20 | 6c 61 62 65 6c 73 20 6d |the tic |labels m|
|00002990| 61 79 20 62 65 20 73 70 | 65 63 69 66 69 65 64 20 |ay be sp|ecified |
|000029a0| 62 79 20 74 68 65 20 75 | 73 65 72 2c 20 77 69 74 |by the u|ser, wit|
|000029b0| 68 20 74 68 65 20 7b 5c | 74 74 0d 0a 73 65 74 20 |h the {\|tt..set |
|000029c0| 78 74 69 63 73 7d 20 61 | 6e 64 20 7b 5c 74 74 20 |xtics} a|nd {\tt |
|000029d0| 73 65 74 20 79 74 69 63 | 73 7d 20 63 6f 6d 6d 61 |set ytic|s} comma|
|000029e0| 6e 64 73 2e 20 54 68 69 | 73 20 69 73 20 64 65 6d |nds. Thi|s is dem|
|000029f0| 6f 6e 73 74 72 61 74 65 | 64 20 62 79 0d 0a 74 68 |onstrate|d by..th|
|00002a00| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 65 78 61 6d |e follow|ing exam|
|00002a10| 70 6c 65 2c 20 73 68 6f | 77 6e 20 69 6e 20 46 69 |ple, sho|wn in Fi|
|00002a20| 67 75 72 65 7e 5c 72 65 | 66 7b 65 67 34 7d 2e 0d |gure~\re|f{eg4}..|
|00002a30| 0a 0d 0a 5c 73 69 6e 67 | 6c 65 73 70 61 63 65 0d |...\sing|lespace.|
|00002a40| 0a 5c 62 65 67 69 6e 7b | 76 65 72 62 61 74 69 6d |.\begin{|verbatim|
|00002a50| 7d 0d 0a 20 20 20 20 73 | 65 74 20 74 65 72 6d 69 |}.. s|et termi|
|00002a60| 6e 61 6c 20 6c 61 74 65 | 78 0d 0a 20 20 20 20 73 |nal late|x.. s|
|00002a70| 65 74 20 6f 75 74 70 75 | 74 20 22 65 67 34 2e 74 |et outpu|t "eg4.t|
|00002a80| 65 78 22 0d 0a 20 20 20 | 20 73 65 74 20 66 6f 72 |ex".. | set for|
|00002a90| 6d 61 74 20 79 20 22 24 | 25 67 24 22 0d 0a 20 20 |mat y "$|%g$".. |
|00002aa0| 20 20 73 65 74 20 66 6f | 72 6d 61 74 20 78 20 22 | set fo|rmat x "|
|00002ab0| 24 25 2e 32 66 24 22 0d | 0a 20 20 20 20 73 65 74 |$%.2f$".|. set|
|00002ac0| 20 74 69 74 6c 65 20 22 | 54 68 69 73 20 69 73 20 | title "|This is |
|00002ad0| 24 5c 73 69 6e 28 78 29 | 24 22 0d 0a 20 20 20 20 |$\sin(x)|$".. |
|00002ae0| 73 65 74 20 78 6c 61 62 | 65 6c 20 22 54 68 69 73 |set xlab|el "This|
|00002af0| 20 69 73 20 74 68 65 20 | 24 78 24 20 61 78 69 73 | is the |$x$ axis|
|00002b00| 22 0d 0a 20 20 20 20 73 | 65 74 20 79 6c 61 62 65 |".. s|et ylabe|
|00002b10| 6c 20 22 24 5c 73 69 6e | 28 78 29 24 22 0d 0a 20 |l "$\sin|(x)$".. |
|00002b20| 20 20 20 73 65 74 20 6e | 6f 6b 65 79 0d 0a 20 20 | set n|okey.. |
|00002b30| 20 20 73 65 74 20 78 74 | 69 63 73 20 2d 70 69 2c | set xt|ics -pi,|
|00002b40| 20 70 69 2f 34 0d 0a 20 | 20 20 20 70 6c 6f 74 20 | pi/4.. | plot |
|00002b50| 5b 2d 70 69 3a 70 69 5d | 20 5b 2d 31 3a 31 5d 20 |[-pi:pi]| [-1:1] |
|00002b60| 73 69 6e 28 78 29 0d 0a | 5c 65 6e 64 7b 76 65 72 |sin(x)..|\end{ver|
|00002b70| 62 61 74 69 6d 7d 0d 0a | 5c 63 75 72 72 65 6e 74 |batim}..|\current|
|00002b80| 73 70 61 63 65 0d 0a 0d | 0a 5c 62 6f 78 66 69 67 |space...|.\boxfig|
|00002b90| 75 72 65 7b 68 74 62 70 | 7d 7b 5c 66 75 6c 6c 62 |ure{htbp|}{\fullb|
|00002ba0| 6f 78 77 69 64 74 68 7d | 7b 0d 0a 20 20 5c 62 65 |oxwidth}|{.. \be|
|00002bb0| 67 69 6e 7b 63 65 6e 74 | 65 72 7d 0d 0a 20 20 20 |gin{cent|er}.. |
|00002bc0| 20 5c 69 6e 70 75 74 7b | 65 67 34 7d 0d 0a 20 20 | \input{|eg4}.. |
|00002bd0| 5c 65 6e 64 7b 63 65 6e | 74 65 72 7d 0d 0a 20 20 |\end{cen|ter}.. |
|00002be0| 5c 63 61 70 74 69 6f 6e | 7b 41 6e 20 65 78 61 6d |\caption|{An exam|
|00002bf0| 70 6c 65 20 6f 66 20 74 | 68 65 20 7b 5c 74 74 20 |ple of t|he {\tt |
|00002c00| 73 65 74 20 78 74 69 63 | 73 7d 20 63 6f 6d 6d 61 |set xtic|s} comma|
|00002c10| 6e 64 2e 7d 0d 0a 20 20 | 5c 6c 61 62 65 6c 7b 65 |nd.}.. |\label{e|
|00002c20| 67 34 7d 0d 0a 7d 0d 0a | 0d 0a 53 69 6e 63 65 20 |g4}..}..|..Since |
|00002c30| 7b 5c 74 74 20 70 69 7d | 20 69 73 20 61 20 70 72 |{\tt pi}| is a pr|
|00002c40| 65 64 65 66 69 6e 65 64 | 20 76 61 72 69 61 62 6c |edefined| variabl|
|00002c50| 65 20 69 6e 20 47 4e 55 | 50 4c 4f 54 2c 20 77 65 |e in GNU|PLOT, we|
|00002c60| 20 63 61 6e 20 75 73 65 | 20 69 74 0d 0a 61 6e 79 | can use| it..any|
|00002c70| 77 68 65 72 65 20 77 65 | 20 6d 61 79 20 75 73 65 |where we| may use|
|00002c80| 20 61 6e 20 65 78 70 72 | 65 73 73 69 6f 6e 2e 20 | an expr|ession. |
|00002c90| 54 68 65 20 7b 5c 74 74 | 20 73 65 74 20 78 74 69 |The {\tt| set xti|
|00002ca0| 63 73 7d 20 63 6f 6d 6d | 61 6e 64 20 68 65 72 65 |cs} comm|and here|
|00002cb0| 0d 0a 73 70 65 63 69 66 | 69 65 73 20 74 68 61 74 |..specif|ies that|
|00002cc0| 20 74 68 65 20 74 69 63 | 73 20 6f 6e 20 74 68 65 | the tic|s on the|
|00002cd0| 20 24 78 24 20 61 78 69 | 73 20 73 74 61 72 74 20 | $x$ axi|s start |
|00002ce0| 61 74 20 24 2d 5c 70 69 | 24 20 61 6e 64 20 69 6e |at $-\pi|$ and in|
|00002cf0| 63 72 65 6d 65 6e 74 0d | 0a 62 79 20 24 5c 70 69 |crement.|.by $\pi|
|00002d00| 2f 34 24 2e 20 53 69 6e | 63 65 20 6e 6f 20 65 6e |/4$. Sin|ce no en|
|00002d10| 64 20 70 6f 69 6e 74 20 | 69 73 20 67 69 76 65 6e |d point |is given|
|00002d20| 2c 20 74 68 65 20 74 69 | 63 73 20 63 6f 6e 74 69 |, the ti|cs conti|
|00002d30| 6e 75 65 20 74 6f 20 74 | 68 65 0d 0a 72 69 67 68 |nue to t|he..righ|
|00002d40| 74 20 65 64 67 65 2e 20 | 57 65 20 68 61 76 65 20 |t edge. |We have |
|00002d50| 61 6c 73 6f 20 74 75 72 | 6e 65 64 20 6f 66 66 20 |also tur|ned off |
|00002d60| 74 68 65 20 6b 65 79 2c | 20 61 6e 64 20 63 68 61 |the key,| and cha|
|00002d70| 6e 67 65 64 20 74 68 65 | 20 66 6f 72 6d 61 74 20 |nged the| format |
|00002d80| 74 6f 0d 0a 72 65 73 74 | 72 69 63 74 20 74 68 65 |to..rest|rict the|
|00002d90| 20 24 78 24 2d 61 78 69 | 73 20 74 69 63 20 6c 61 | $x$-axi|s tic la|
|00002da0| 62 65 6c 73 20 74 6f 20 | 32 20 64 65 63 69 6d 61 |bels to |2 decima|
|00002db0| 6c 20 70 6c 61 63 65 73 | 2e 0d 0a 0d 0a 57 69 74 |l places|.....Wit|
|00002dc0| 68 20 61 20 6c 69 74 74 | 6c 65 20 6d 6f 72 65 20 |h a litt|le more |
|00002dd0| 77 6f 72 6b 2c 20 74 68 | 65 20 70 6c 6f 74 20 63 |work, th|e plot c|
|00002de0| 61 6e 20 6c 6f 6f 6b 20 | 65 76 65 6e 20 62 65 74 |an look |even bet|
|00002df0| 74 65 72 2e 20 20 41 6e | 6f 74 68 65 72 20 66 6f |ter. An|other fo|
|00002e00| 72 6d 0d 0a 6f 66 20 74 | 68 69 73 20 63 6f 6d 6d |rm..of t|his comm|
|00002e10| 61 6e 64 20 61 6c 6c 6f | 77 73 20 75 73 20 74 6f |and allo|ws us to|
|00002e20| 20 73 70 65 63 69 66 79 | 20 74 68 65 20 6c 61 62 | specify| the lab|
|00002e30| 65 6c 20 61 6e 64 20 70 | 6f 73 69 74 69 6f 6e 20 |el and p|osition |
|00002e40| 6f 66 20 65 61 63 68 0d | 0a 74 69 63 20 69 6e 64 |of each.|.tic ind|
|00002e50| 69 76 69 64 75 61 6c 6c | 79 2e 20 20 52 65 70 6c |ividuall|y. Repl|
|00002e60| 61 63 69 6e 67 20 74 68 | 65 20 61 62 6f 76 65 20 |acing th|e above |
|00002e70| 7b 5c 74 74 20 73 65 74 | 20 78 74 69 63 73 7d 20 |{\tt set| xtics} |
|00002e80| 63 6f 6d 6d 61 6e 64 20 | 77 69 74 68 0d 0a 74 68 |command |with..th|
|00002e90| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 67 69 76 65 |e follow|ing give|
|00002ea0| 73 20 75 73 20 46 69 67 | 75 72 65 7e 5c 72 65 66 |s us Fig|ure~\ref|
|00002eb0| 7b 65 67 35 7d 2e 20 57 | 65 20 61 6c 73 6f 20 6d |{eg5}. W|e also m|
|00002ec0| 61 6b 65 20 75 73 65 20 | 6f 66 20 74 68 65 20 6c |ake use |of the l|
|00002ed0| 69 6e 65 0d 0a 63 6f 6e | 74 69 6e 75 61 74 69 6f |ine..con|tinuatio|
|00002ee0| 6e 20 63 68 61 72 61 63 | 74 65 72 2c 20 74 68 65 |n charac|ter, the|
|00002ef0| 20 62 61 63 6b 73 6c 61 | 73 68 20 28 5c 76 65 72 | backsla|sh (\ver|
|00002f00| 62 2b 5c 2b 29 2c 20 74 | 6f 20 73 70 72 65 61 64 |b+\+), t|o spread|
|00002f10| 20 6f 75 74 20 74 68 69 | 73 0d 0a 63 6f 6d 6d 61 | out thi|s..comma|
|00002f20| 6e 64 20 66 6f 72 20 72 | 65 61 64 61 62 69 6c 69 |nd for r|eadabili|
|00002f30| 74 79 2e 0d 0a 0d 0a 5c | 73 69 6e 67 6c 65 73 70 |ty.....\|singlesp|
|00002f40| 61 63 65 0d 0a 5c 62 65 | 67 69 6e 7b 76 65 72 62 |ace..\be|gin{verb|
|00002f50| 61 74 69 6d 7d 0d 0a 20 | 20 20 20 73 65 74 20 78 |atim}.. | set x|
|00002f60| 74 69 63 73 20 28 22 24 | 2d 5c 70 69 24 22 20 2d |tics ("$|-\pi$" -|
|00002f70| 70 69 2c 5c 0d 0a 20 20 | 20 20 20 22 24 2d 5c 66 |pi,\.. | "$-\f|
|00002f80| 72 61 63 7b 5c 70 69 7d | 7b 32 7d 24 22 20 2d 70 |rac{\pi}|{2}$" -p|
|00002f90| 69 2f 32 2c 5c 0d 0a 20 | 20 20 20 20 22 30 22 20 |i/2,\.. | "0" |
|00002fa0| 30 2c 5c 0d 0a 20 20 20 | 20 20 22 24 5c 66 72 61 |0,\.. | "$\fra|
|00002fb0| 63 7b 5c 70 69 7d 7b 32 | 7d 24 22 20 70 69 2f 32 |c{\pi}{2|}$" pi/2|
|00002fc0| 2c 5c 0d 0a 20 20 20 20 | 20 22 24 5c 70 69 24 22 |,\.. | "$\pi$"|
|00002fd0| 20 70 69 29 0d 0a 5c 65 | 6e 64 7b 76 65 72 62 61 | pi)..\e|nd{verba|
|00002fe0| 74 69 6d 7d 0d 0a 5c 63 | 75 72 72 65 6e 74 73 70 |tim}..\c|urrentsp|
|00002ff0| 61 63 65 0d 0a 0d 0a 5c | 62 6f 78 66 69 67 75 72 |ace....\|boxfigur|
|00003000| 65 7b 68 74 62 70 7d 7b | 5c 66 75 6c 6c 62 6f 78 |e{htbp}{|\fullbox|
|00003010| 77 69 64 74 68 7d 7b 0d | 0a 20 20 5c 62 65 67 69 |width}{.|. \begi|
|00003020| 6e 7b 63 65 6e 74 65 72 | 7d 0d 0a 20 20 20 20 5c |n{center|}.. \|
|00003030| 69 6e 70 75 74 7b 65 67 | 35 7d 0d 0a 20 20 5c 65 |input{eg|5}.. \e|
|00003040| 6e 64 7b 63 65 6e 74 65 | 72 7d 0d 0a 20 20 5c 63 |nd{cente|r}.. \c|
|00003050| 61 70 74 69 6f 6e 7b 41 | 20 66 61 6e 63 79 20 65 |aption{A| fancy e|
|00003060| 78 61 6d 70 6c 65 20 6f | 66 20 74 68 65 20 7b 5c |xample o|f the {\|
|00003070| 74 74 20 73 65 74 20 78 | 74 69 63 73 7d 20 63 6f |tt set x|tics} co|
|00003080| 6d 6d 61 6e 64 2e 7d 0d | 0a 20 20 5c 6c 61 62 65 |mmand.}.|. \labe|
|00003090| 6c 7b 65 67 35 7d 0d 0a | 7d 0d 0a 0d 0a 5c 70 61 |l{eg5}..|}....\pa|
|000030a0| 72 61 67 72 61 70 68 7b | 47 6f 69 6e 67 20 66 75 |ragraph{|Going fu|
|000030b0| 72 74 68 65 72 3a 7d 20 | 59 6f 75 20 73 68 6f 75 |rther:} |You shou|
|000030c0| 6c 64 20 6e 6f 77 20 62 | 65 20 61 62 6c 65 20 74 |ld now b|e able t|
|000030d0| 6f 20 6d 61 6b 65 20 61 | 20 76 61 72 69 65 74 79 |o make a| variety|
|000030e0| 20 6f 66 0d 0a 70 6c 6f | 74 73 20 66 6f 72 20 79 | of..plo|ts for y|
|000030f0| 6f 75 72 20 5c 4c 61 54 | 65 58 5c 20 64 6f 63 75 |our \LaT|eX\ docu|
|00003100| 6d 65 6e 74 2e 20 57 65 | 20 77 69 6c 6c 20 70 72 |ment. We| will pr|
|00003110| 65 73 65 6e 74 20 61 20 | 66 69 6e 61 6c 20 65 78 |esent a |final ex|
|00003120| 61 6d 70 6c 65 0d 0a 77 | 69 74 68 6f 75 74 20 65 |ample..w|ithout e|
|00003130| 78 70 6c 61 6e 61 74 69 | 6f 6e 20 74 68 61 74 20 |xplanati|on that |
|00003140| 73 68 6f 77 63 61 73 65 | 73 20 73 6f 6d 65 20 6f |showcase|s some o|
|00003150| 66 20 74 68 65 20 63 61 | 70 61 62 69 6c 69 74 69 |f the ca|pabiliti|
|00003160| 65 73 20 6f 66 0d 0a 47 | 4e 55 50 4c 4f 54 2e 20 |es of..G|NUPLOT. |
|00003170| 59 6f 75 20 6d 61 79 20 | 66 69 6e 64 20 64 6f 63 |You may |find doc|
|00003180| 75 6d 65 6e 74 61 74 69 | 6f 6e 20 66 6f 72 20 74 |umentati|on for t|
|00003190| 68 65 20 76 61 72 69 6f | 75 73 20 63 6f 6d 6d 61 |he vario|us comma|
|000031a0| 6e 64 73 20 69 6e 20 74 | 68 65 0d 0a 47 4e 55 50 |nds in t|he..GNUP|
|000031b0| 4c 4f 54 20 6d 61 6e 75 | 61 6c 2c 20 74 68 6f 75 |LOT manu|al, thou|
|000031c0| 67 68 20 68 6f 70 65 66 | 75 6c 6c 79 20 74 68 69 |gh hopef|ully thi|
|000031d0| 73 20 65 78 61 6d 70 6c | 65 20 69 73 20 73 6f 6d |s exampl|e is som|
|000031e0| 65 77 68 61 74 0d 0a 73 | 65 6c 66 2d 65 78 70 6c |ewhat..s|elf-expl|
|000031f0| 61 6e 61 74 6f 72 79 2e | 20 54 68 69 73 20 69 73 |anatory.| This is|
|00003200| 20 73 68 6f 77 6e 20 69 | 6e 20 46 69 67 75 72 65 | shown i|n Figure|
|00003210| 7e 5c 72 65 66 7b 65 67 | 36 7d 2e 0d 0a 0d 0a 5c |~\ref{eg|6}.....\|
|00003220| 73 69 6e 67 6c 65 73 70 | 61 63 65 0d 0a 5c 62 65 |singlesp|ace..\be|
|00003230| 67 69 6e 7b 76 65 72 62 | 61 74 69 6d 7d 0d 0a 20 |gin{verb|atim}.. |
|00003240| 20 20 20 73 65 74 20 74 | 65 72 6d 69 6e 61 6c 20 | set t|erminal |
|00003250| 6c 61 74 65 78 0d 0a 20 | 20 20 20 73 65 74 20 6f |latex.. | set o|
|00003260| 75 74 70 75 74 20 22 65 | 67 36 2e 74 65 78 22 0d |utput "e|g6.tex".|
|00003270| 0a 20 20 20 20 73 65 74 | 20 73 69 7a 65 20 33 2e |. set| size 3.|
|00003280| 35 2f 35 2c 20 33 2f 33 | 2e 0d 0a 20 20 20 20 73 |5/5, 3/3|... s|
|00003290| 65 74 20 66 6f 72 6d 61 | 74 20 79 20 22 24 25 67 |et forma|t y "$%g|
|000032a0| 24 22 0d 0a 20 20 20 20 | 73 65 74 20 66 6f 72 6d |$".. |set form|
|000032b0| 61 74 20 78 20 22 24 25 | 35 2e 31 66 5c 6d 75 24 |at x "$%|5.1f\mu$|
|000032c0| 22 0d 0a 20 20 20 20 73 | 65 74 20 74 69 74 6c 65 |".. s|et title|
|000032d0| 20 22 54 68 69 73 20 69 | 73 20 61 20 74 69 74 6c | "This i|s a titl|
|000032e0| 65 22 0d 0a 20 20 20 20 | 73 65 74 20 78 6c 61 62 |e".. |set xlab|
|000032f0| 65 6c 20 22 54 68 69 73 | 20 69 73 20 74 68 65 20 |el "This| is the |
|00003300| 24 78 24 20 61 78 69 73 | 22 0d 0a 20 20 20 20 73 |$x$ axis|".. s|
|00003310| 65 74 20 79 6c 61 62 65 | 6c 20 22 54 68 69 73 20 |et ylabe|l "This |
|00003320| 69 73 5c 5c 61 20 6c 6f | 6e 67 65 72 5c 5c 76 65 |is\\a lo|nger\\ve|
|00003330| 72 73 69 6f 6e 5c 5c 20 | 6f 66 5c 5c 74 68 65 20 |rsion\\ |of\\the |
|00003340| 24 79 24 5c 5c 20 61 78 | 69 73 22 0d 0a 20 20 20 |$y$\\ ax|is".. |
|00003350| 20 73 65 74 20 6c 61 62 | 65 6c 20 22 44 61 74 61 | set lab|el "Data|
|00003360| 22 20 61 74 20 2d 35 2c | 2d 35 20 72 69 67 68 74 |" at -5,|-5 right|
|00003370| 0d 0a 20 20 20 20 73 65 | 74 20 61 72 72 6f 77 20 |.. se|t arrow |
|00003380| 66 72 6f 6d 20 2d 35 2c | 2d 35 20 74 6f 20 2d 33 |from -5,|-5 to -3|
|00003390| 2e 33 2c 2d 36 2e 37 0d | 0a 20 20 20 20 73 65 74 |.3,-6.7.|. set|
|000033a0| 20 6b 65 79 20 2d 34 2c | 38 0d 0a 20 20 20 20 73 | key -4,|8.. s|
|000033b0| 65 74 20 78 74 69 63 20 | 2d 31 30 2c 35 2c 31 30 |et xtic |-10,5,10|
|000033c0| 0d 0a 20 20 20 20 70 6c | 6f 74 20 5b 2d 31 30 3a |.. pl|ot [-10:|
|000033d0| 31 30 5d 20 5b 2d 31 30 | 3a 31 30 5d 20 22 65 67 |10] [-10|:10] "eg|
|000033e0| 33 2e 64 61 74 22 20 74 | 69 74 6c 65 20 22 44 61 |3.dat" t|itle "Da|
|000033f0| 74 61 20 46 69 6c 65 22 | 20 20 77 69 74 68 20 6c |ta File"| with l|
|00003400| 69 6e 65 73 70 6f 69 6e | 74 73 20 31 20 37 2c 5c |inespoin|ts 1 7,\|
|00003410| 0d 0a 20 20 20 20 20 20 | 20 33 2a 65 78 70 28 2d |.. | 3*exp(-|
|00003420| 78 2a 78 29 2b 31 20 20 | 74 69 74 6c 65 20 22 24 |x*x)+1 |title "$|
|00003430| 33 65 5e 7b 2d 78 5e 7b | 32 7d 7d 2b 31 24 22 20 |3e^{-x^{|2}}+1$" |
|00003440| 77 69 74 68 20 6c 69 6e | 65 73 20 34 0d 0a 5c 65 |with lin|es 4..\e|
|00003450| 6e 64 7b 76 65 72 62 61 | 74 69 6d 7d 0d 0a 5c 63 |nd{verba|tim}..\c|
|00003460| 75 72 72 65 6e 74 73 70 | 61 63 65 0d 0a 0d 0a 5c |urrentsp|ace....\|
|00003470| 62 6f 78 66 69 67 75 72 | 65 7b 68 74 62 70 7d 7b |boxfigur|e{htbp}{|
|00003480| 5c 66 75 6c 6c 62 6f 78 | 77 69 64 74 68 7d 7b 0d |\fullbox|width}{.|
|00003490| 0a 20 20 5c 62 65 67 69 | 6e 7b 63 65 6e 74 65 72 |. \begi|n{center|
|000034a0| 7d 0d 0a 20 20 20 20 5c | 69 6e 70 75 74 7b 65 67 |}.. \|input{eg|
|000034b0| 36 7d 0d 0a 20 20 5c 65 | 6e 64 7b 63 65 6e 74 65 |6}.. \e|nd{cente|
|000034c0| 72 7d 0d 0a 20 20 5c 63 | 61 70 74 69 6f 6e 7b 41 |r}.. \c|aption{A|
|000034d0| 6e 20 65 78 61 6d 70 6c | 65 20 6f 66 20 6d 61 6e |n exampl|e of man|
|000034e0| 79 20 66 65 61 74 75 72 | 65 73 2e 7d 0d 0a 20 20 |y featur|es.}.. |
|000034f0| 5c 6c 61 62 65 6c 7b 65 | 67 36 7d 0d 0a 7d 0d 0a |\label{e|g6}..}..|
|00003500| 0d 0a 5c 70 61 72 61 67 | 72 61 70 68 7b 4c 69 6e |..\parag|raph{Lin|
|00003510| 65 20 61 6e 64 20 70 6f | 69 6e 74 20 74 79 70 65 |e and po|int type|
|00003520| 73 3a 7d 20 46 6f 72 20 | 72 65 66 65 72 65 6e 63 |s:} For |referenc|
|00003530| 65 2c 20 77 65 20 73 68 | 6f 77 20 61 6c 6c 20 6f |e, we sh|ow all o|
|00003540| 66 20 74 68 65 0d 0a 6c | 69 6e 65 20 61 6e 64 20 |f the..l|ine and |
|00003550| 70 6f 69 6e 74 20 74 79 | 70 65 73 20 61 76 61 69 |point ty|pes avai|
|00003560| 6c 61 62 6c 65 20 69 6e | 20 46 69 67 75 72 65 7e |lable in| Figure~|
|00003570| 5c 72 65 66 7b 6c 69 6e | 65 70 6f 69 6e 74 7d 2e |\ref{lin|epoint}.|
|00003580| 0d 0a 0d 0a 5c 62 6f 78 | 66 69 67 75 72 65 7b 68 |....\box|figure{h|
|00003590| 74 62 70 7d 7b 5c 66 75 | 6c 6c 62 6f 78 77 69 64 |tbp}{\fu|llboxwid|
|000035a0| 74 68 7d 7b 0d 0a 20 20 | 5c 62 65 67 69 6e 7b 63 |th}{.. |\begin{c|
|000035b0| 65 6e 74 65 72 7d 0d 0a | 20 20 20 20 5c 69 6e 70 |enter}..| \inp|
|000035c0| 75 74 7b 6c 69 6e 65 70 | 6f 69 6e 7d 0d 0a 20 20 |ut{linep|oin}.. |
|000035d0| 5c 65 6e 64 7b 63 65 6e | 74 65 72 7d 0d 0a 20 20 |\end{cen|ter}.. |
|000035e0| 5c 63 61 70 74 69 6f 6e | 7b 41 6c 6c 20 6f 66 20 |\caption|{All of |
|000035f0| 74 68 65 20 6c 69 6e 65 | 20 61 6e 64 20 70 6f 69 |the line| and poi|
|00003600| 6e 74 20 74 79 70 65 73 | 20 69 6e 20 74 68 65 20 |nt types| in the |
|00003610| 5c 4c 61 54 65 58 5c 20 | 64 72 69 76 65 72 2e 7d |\LaTeX\ |driver.}|
|00003620| 0d 0a 20 20 5c 6c 61 62 | 65 6c 7b 6c 69 6e 65 70 |.. \lab|el{linep|
|00003630| 6f 69 6e 74 7d 0d 0a 7d | 0d 0a 0d 0a 5c 73 75 62 |oint}..}|....\sub|
|00003640| 73 65 63 74 69 6f 6e 7b | 53 75 6d 6d 61 72 79 20 |section{|Summary |
|00003650| 2d 2d 2d 20 55 73 65 20 | 77 69 74 68 20 5c 4c 61 |--- Use |with \La|
|00003660| 54 65 58 7d 0d 0a 49 6e | 20 73 75 6d 6d 61 72 79 |TeX}..In| summary|
|00003670| 2c 20 74 6f 20 75 73 65 | 20 74 68 65 20 5c 4c 61 |, to use| the \La|
|00003680| 54 65 58 5c 20 66 61 63 | 69 6c 69 74 69 65 73 20 |TeX\ fac|ilities |
|00003690| 6f 66 20 47 4e 55 50 4c | 4f 54 2c 20 74 68 65 20 |of GNUPL|OT, the |
|000036a0| 66 69 72 73 74 0d 0a 63 | 6f 6d 6d 61 6e 64 20 74 |first..c|ommand t|
|000036b0| 6f 20 47 4e 55 50 4c 4f | 54 20 73 68 6f 75 6c 64 |o GNUPLO|T should|
|000036c0| 20 62 65 0d 0a 5c 62 65 | 67 69 6e 7b 73 79 6e 74 | be..\be|gin{synt|
|000036d0| 61 78 7d 0d 0a 20 20 20 | 20 73 65 74 20 74 65 72 |ax}.. | set ter|
|000036e0| 6d 69 6e 61 6c 20 6c 61 | 74 65 78 0d 0a 5c 65 6e |minal la|tex..\en|
|000036f0| 64 7b 73 79 6e 74 61 78 | 7d 0d 0a 61 6e 64 20 74 |d{syntax|}..and t|
|00003700| 68 65 20 6f 75 74 70 75 | 74 20 6f 66 20 47 4e 55 |he outpu|t of GNU|
|00003710| 50 4c 4f 54 20 73 68 6f | 75 6c 64 20 62 65 20 64 |PLOT sho|uld be d|
|00003720| 69 72 65 63 74 65 64 20 | 74 6f 20 61 20 66 69 6c |irected |to a fil|
|00003730| 65 2c 20 66 6f 72 20 65 | 78 61 6d 70 6c 65 2c 0d |e, for e|xample,.|
|00003740| 0a 5c 62 65 67 69 6e 7b | 76 65 72 62 61 74 69 6d |.\begin{|verbatim|
|00003750| 7d 0d 0a 20 20 20 20 73 | 65 74 20 6f 75 74 70 75 |}.. s|et outpu|
|00003760| 74 20 22 70 6c 6f 74 2e | 74 65 78 22 0d 0a 5c 65 |t "plot.|tex"..\e|
|00003770| 6e 64 7b 76 65 72 62 61 | 74 69 6d 7d 0d 0a 54 68 |nd{verba|tim}..Th|
|00003780| 69 73 20 6d 61 79 20 62 | 65 20 61 6e 79 74 68 69 |is may b|e anythi|
|00003790| 6e 67 20 79 6f 75 20 6c | 69 6b 65 20 62 75 74 20 |ng you l|ike but |
|000037a0| 69 74 20 73 68 6f 75 6c | 64 20 68 61 76 65 20 61 |it shoul|d have a|
|000037b0| 20 7b 5c 74 74 20 2e 74 | 65 78 7d 20 65 78 74 65 | {\tt .t|ex} exte|
|000037c0| 6e 73 69 6f 6e 2c 0d 0a | 6f 66 20 63 6f 75 72 73 |nsion,..|of cours|
|000037d0| 65 2e 20 54 68 65 6e 20 | 74 68 65 20 73 69 7a 65 |e. Then |the size|
|000037e0| 20 6f 66 20 74 68 65 20 | 70 6c 6f 74 20 73 68 6f | of the |plot sho|
|000037f0| 75 6c 64 20 62 65 20 67 | 69 76 65 6e 2e 20 46 6f |uld be g|iven. Fo|
|00003800| 72 20 65 78 61 6d 70 6c | 65 2c 20 74 68 65 0d 0a |r exampl|e, the..|
|00003810| 63 6f 6d 6d 61 6e 64 0d | 0a 5c 62 65 67 69 6e 7b |command.|.\begin{|
|00003820| 76 65 72 62 61 74 69 6d | 7d 0d 0a 20 20 20 20 73 |verbatim|}.. s|
|00003830| 65 74 20 73 69 7a 65 20 | 31 2c 32 0d 0a 5c 65 6e |et size |1,2..\en|
|00003840| 64 7b 76 65 72 62 61 74 | 69 6d 7d 0d 0a 74 65 6c |d{verbat|im}..tel|
|00003850| 6c 73 20 47 4e 55 50 4c | 4f 54 20 74 6f 20 75 73 |ls GNUPL|OT to us|
|00003860| 65 20 61 20 35 20 69 6e | 63 68 20 77 69 64 65 20 |e a 5 in|ch wide |
|00003870| 62 79 20 36 20 69 6e 63 | 68 20 68 69 67 68 20 62 |by 6 inc|h high b|
|00003880| 6f 78 20 66 6f 72 20 74 | 68 65 20 70 6c 6f 74 2e |ox for t|he plot.|
|00003890| 0d 0a 54 68 65 20 6e 75 | 6d 62 65 72 73 20 67 69 |..The nu|mbers gi|
|000038a0| 76 65 6e 20 61 72 65 20 | 7b 5c 65 6d 20 73 63 61 |ven are |{\em sca|
|000038b0| 6c 65 20 66 61 63 74 6f | 72 73 7d 2c 20 6e 6f 74 |le facto|rs}, not|
|000038c0| 20 74 68 65 20 61 63 74 | 75 61 6c 20 73 69 7a 65 | the act|ual size|
|000038d0| 2e 20 20 54 68 65 0d 0a | 64 65 66 61 75 6c 74 20 |. The..|default |
|000038e0| 69 73 20 35 20 69 6e 63 | 68 65 73 20 62 79 20 33 |is 5 inc|hes by 3|
|000038f0| 20 69 6e 63 68 65 73 2e | 20 20 54 68 69 73 20 69 | inches.| This i|
|00003900| 73 20 74 68 65 20 73 69 | 7a 65 20 6f 66 20 74 68 |s the si|ze of th|
|00003910| 65 20 63 6f 6d 70 6c 65 | 74 65 0d 0a 70 6c 6f 74 |e comple|te..plot|
|00003920| 2c 20 69 6e 63 6c 75 64 | 69 6e 67 20 61 6c 6c 20 |, includ|ing all |
|00003930| 6c 61 62 65 6c 73 2e 0d | 0a 0d 0a 57 68 65 6e 20 |labels..|...When |
|00003940| 66 69 6e 69 73 68 65 64 | 2c 20 74 68 65 20 66 69 |finished|, the fi|
|00003950| 6c 65 20 77 69 6c 6c 20 | 63 6f 6e 74 61 69 6e 20 |le will |contain |
|00003960| 61 6c 6c 20 6f 66 20 74 | 68 65 20 70 6c 6f 74 73 |all of t|he plots|
|00003970| 20 79 6f 75 20 68 61 76 | 65 0d 0a 73 70 65 63 69 | you hav|e..speci|
|00003980| 66 69 65 64 20 28 79 6f | 75 20 70 72 6f 62 61 62 |fied (yo|u probab|
|00003990| 6c 79 20 6f 6e 6c 79 20 | 77 61 6e 74 20 6f 6e 65 |ly only |want one|
|000039a0| 20 70 6c 6f 74 20 70 65 | 72 20 66 69 6c 65 29 2e | plot pe|r file).|
|000039b0| 20 54 68 69 73 20 66 69 | 6c 65 20 63 61 6e 0d 0a | This fi|le can..|
|000039c0| 74 68 65 6e 20 62 65 20 | 75 73 65 64 20 69 6e 20 |then be |used in |
|000039d0| 61 20 5c 4c 61 54 65 58 | 5c 20 64 6f 63 75 6d 65 |a \LaTeX|\ docume|
|000039e0| 6e 74 2c 20 5c 65 67 2c | 0d 0a 0d 0a 5c 73 69 6e |nt, \eg,|....\sin|
|000039f0| 67 6c 65 73 70 61 63 65 | 0d 0a 5c 62 65 67 69 6e |glespace|..\begin|
|00003a00| 7b 76 65 72 62 61 74 69 | 6d 7d 0d 0a 20 20 20 20 |{verbati|m}.. |
|00003a10| 5c 62 65 67 69 6e 20 7b | 66 69 67 75 72 65 7d 0d |\begin {|figure}.|
|00003a20| 0a 20 20 20 20 20 20 5c | 62 65 67 69 6e 7b 63 65 |. \|begin{ce|
|00003a30| 6e 74 65 72 7d 0d 0a 20 | 20 20 20 20 20 20 20 5c |nter}.. | \|
|00003a40| 69 6e 70 75 74 7b 70 6c | 6f 74 7d 0d 0a 20 20 20 |input{pl|ot}.. |
|00003a50| 20 20 20 5c 65 6e 64 7b | 63 65 6e 74 65 72 7d 0d | \end{|center}.|
|00003a60| 0a 20 20 20 20 5c 65 6e | 64 20 7b 66 69 67 75 72 |. \en|d {figur|
|00003a70| 65 7d 0d 0a 5c 65 6e 64 | 7b 76 65 72 62 61 74 69 |e}..\end|{verbati|
|00003a80| 6d 7d 0d 0a 5c 63 75 72 | 72 65 6e 74 73 70 61 63 |m}..\cur|rentspac|
|00003a90| 65 0d 0a 54 68 69 73 20 | 70 75 74 73 20 74 68 65 |e..This |puts the|
|00003aa0| 20 70 6c 6f 74 20 69 6e | 74 6f 20 61 20 66 69 67 | plot in|to a fig|
|00003ab0| 75 72 65 2e 0d 0a 0d 0a | 59 6f 75 20 77 69 6c 6c |ure.....|You will|
|00003ac0| 20 61 6c 73 6f 20 77 61 | 6e 74 20 74 6f 20 72 65 | also wa|nt to re|
|00003ad0| 61 64 20 61 62 6f 75 74 | 20 74 68 65 20 66 6f 6c |ad about| the fol|
|00003ae0| 6c 6f 77 69 6e 67 20 63 | 6f 6d 6d 61 6e 64 73 3a |lowing c|ommands:|
|00003af0| 20 7b 5c 74 74 20 73 65 | 74 0d 0a 74 69 74 6c 65 | {\tt se|t..title|
|00003b00| 2c 20 73 65 74 20 78 6c | 61 62 65 6c 2c 20 73 65 |, set xl|abel, se|
|00003b10| 74 20 79 6c 61 62 65 6c | 2c 20 73 65 74 20 6b 65 |t ylabel|, set ke|
|00003b20| 79 2c 20 73 65 74 20 6c | 61 62 65 6c 2c 20 73 65 |y, set l|abel, se|
|00003b30| 74 20 78 74 69 63 73 2c | 20 73 65 74 0d 0a 79 74 |t xtics,| set..yt|
|00003b40| 69 63 73 7d 2c 20 61 6e | 64 20 7b 5c 74 74 20 73 |ics}, an|d {\tt s|
|00003b50| 65 74 20 63 6c 69 70 7d | 2e 20 20 54 68 65 73 65 |et clip}|. These|
|00003b60| 20 61 72 65 20 61 6c 6c | 20 64 65 73 63 72 69 62 | are all| describ|
|00003b70| 65 64 20 69 6e 20 74 68 | 65 20 72 65 67 75 6c 61 |ed in th|e regula|
|00003b80| 72 0d 0a 47 4e 55 50 4c | 4f 54 20 6d 61 6e 75 61 |r..GNUPL|OT manua|
|00003b90| 6c 2e 0d 0a 0d 0a 5c 73 | 65 63 74 69 6f 6e 7b 55 |l.....\s|ection{U|
|00003ba0| 73 65 20 77 69 74 68 20 | 45 45 50 49 43 7d 0d 0a |se with |EEPIC}..|
|00003bb0| 5c 6c 61 62 65 6c 7b 73 | 3a 65 65 70 69 63 7d 0d |\label{s|:eepic}.|
|00003bc0| 0a 45 45 50 49 43 20 69 | 73 20 61 20 6d 61 63 72 |.EEPIC i|s a macr|
|00003bd0| 6f 20 70 61 63 6b 61 67 | 65 20 65 78 74 65 6e 64 |o packag|e extend|
|00003be0| 69 6e 67 20 74 68 65 20 | 70 69 63 74 75 72 65 20 |ing the |picture |
|00003bf0| 65 6e 76 69 72 6f 6e 6d | 65 6e 74 20 6f 66 20 5c |environm|ent of \|
|00003c00| 4c 61 54 65 58 2e 0d 0a | 49 66 20 79 6f 75 20 68 |LaTeX...|If you h|
|00003c10| 61 76 65 20 74 68 65 20 | 45 50 49 43 20 6f 72 20 |ave the |EPIC or |
|00003c20| 45 45 50 49 43 20 6d 61 | 63 72 6f 73 2c 20 61 6e |EEPIC ma|cros, an|
|00003c30| 64 20 79 6f 75 72 20 7b | 5c 74 74 20 64 76 69 7d |d your {|\tt dvi}|
|00003c40| 20 74 72 61 6e 73 6c 61 | 74 6f 72 0d 0a 73 75 70 | transla|tor..sup|
|00003c50| 70 6f 72 74 73 20 74 68 | 65 20 7b 5c 65 6d 20 74 |ports th|e {\em t|
|00003c60| 70 69 63 5c 2f 7d 20 5c | 76 65 72 62 2b 5c 73 70 |pic\/} \|verb+\sp|
|00003c70| 65 63 69 61 6c 2b 73 2c | 20 74 68 65 6e 20 79 6f |ecial+s,| then yo|
|00003c80| 75 20 63 61 6e 20 73 61 | 76 65 20 5c 4c 61 54 65 |u can sa|ve \LaTe|
|00003c90| 58 5c 0d 0a 6d 65 6d 6f | 72 79 2e 20 20 57 69 74 |X\..memo|ry. Wit|
|00003ca0| 68 20 45 45 50 49 43 20 | 70 69 63 74 75 72 65 73 |h EEPIC |pictures|
|00003cb0| 2c 20 74 68 65 20 7b 5c | 74 74 20 70 6c 6f 74 2e |, the {\|tt plot.|
|00003cc0| 74 65 78 7d 20 66 69 6c | 65 20 77 69 6c 6c 20 62 |tex} fil|e will b|
|00003cd0| 65 20 73 6d 61 6c 6c 65 | 72 2c 0d 0a 5c 4c 61 54 |e smalle|r,..\LaT|
|00003ce0| 65 58 5c 20 77 69 6c 6c | 20 72 75 6e 20 6d 75 63 |eX\ will| run muc|
|00003cf0| 68 20 66 61 73 74 65 72 | 20 28 61 6e 64 20 6e 65 |h faster| (and ne|
|00003d00| 65 64 20 6d 75 63 68 20 | 6c 65 73 73 20 6d 65 6d |ed much |less mem|
|00003d10| 6f 72 79 29 2c 20 61 6e | 64 20 74 68 65 20 7b 5c |ory), an|d the {\|
|00003d20| 74 74 0d 0a 64 76 69 7d | 20 66 69 6c 65 20 77 69 |tt..dvi}| file wi|
|00003d30| 6c 6c 20 62 65 20 73 6d | 61 6c 6c 65 72 2e 20 54 |ll be sm|aller. T|
|00003d40| 68 65 20 71 75 61 6c 69 | 74 79 20 6f 66 20 74 68 |he quali|ty of th|
|00003d50| 65 20 6f 75 74 70 75 74 | 20 69 73 20 61 62 6f 75 |e output| is abou|
|00003d60| 74 20 74 68 65 0d 0a 73 | 61 6d 65 2e 20 49 66 20 |t the..s|ame. If |
|00003d70| 79 6f 75 20 63 68 61 6e | 67 65 20 74 68 65 20 73 |you chan|ge the s|
|00003d80| 6f 75 72 63 65 2c 20 79 | 6f 75 20 63 61 6e 20 67 |ource, y|ou can g|
|00003d90| 65 6e 65 72 61 74 65 20 | 73 6f 6d 65 20 6d 6f 72 |enerate |some mor|
|00003da0| 65 20 69 6e 74 65 72 65 | 73 74 69 6e 67 0d 0a 6c |e intere|sting..l|
|00003db0| 69 6e 65 20 73 74 79 6c | 65 73 2e 0d 0a 0d 0a 54 |ine styl|es.....T|
|00003dc0| 6f 20 75 73 65 20 45 45 | 50 49 43 2c 20 73 65 74 |o use EE|PIC, set|
|00003dd0| 20 47 4e 55 50 4c 4f 54 | 27 73 20 74 65 72 6d 69 | GNUPLOT|'s termi|
|00003de0| 6e 61 6c 20 74 79 70 65 | 20 74 6f 20 7b 5c 74 74 |nal type| to {\tt|
|00003df0| 20 65 65 70 69 63 7d 20 | 69 6e 73 74 65 61 64 20 | eepic} |instead |
|00003e00| 6f 66 0d 0a 7b 5c 74 74 | 20 6c 61 74 65 78 7d 2c |of..{\tt| latex},|
|00003e10| 20 61 6e 64 20 75 73 65 | 20 47 4e 55 50 4c 4f 54 | and use| GNUPLOT|
|00003e20| 20 61 73 20 62 65 66 6f | 72 65 2e 20 54 68 65 20 | as befo|re. The |
|00003e30| 6c 69 6e 65 20 73 74 79 | 6c 65 73 20 77 69 6c 6c |line sty|les will|
|00003e40| 20 63 68 61 6e 67 65 2e | 0d 0a 49 6e 63 6c 75 64 | change.|..Includ|
|00003e50| 65 20 74 68 65 20 66 69 | 6c 65 20 7b 5c 74 74 20 |e the fi|le {\tt |
|00003e60| 70 6c 6f 74 2e 74 65 78 | 7d 20 69 6e 20 79 6f 75 |plot.tex|} in you|
|00003e70| 72 20 64 6f 63 75 6d 65 | 6e 74 20 61 73 20 62 65 |r docume|nt as be|
|00003e80| 66 6f 72 65 2c 20 61 6c | 6f 6e 67 20 77 69 74 68 |fore, al|ong with|
|00003e90| 0d 0a 74 68 65 20 64 6f | 63 75 6d 65 6e 74 20 73 |..the do|cument s|
|00003ea0| 74 79 6c 65 20 6f 70 74 | 69 6f 6e 73 20 7b 5c 74 |tyle opt|ions {\t|
|00003eb0| 74 20 5b 65 70 69 63 2c | 65 65 70 69 63 5d 7d 2e |t [epic,|eepic]}.|
|00003ec0| 0d 0a 0d 0a 5c 73 65 63 | 74 69 6f 6e 7b 46 6f 72 |....\sec|tion{For|
|00003ed0| 20 46 6f 72 6d 65 72 20 | 47 6e 75 5c 54 65 58 5c | Former |Gnu\TeX\|
|00003ee0| 20 55 73 65 72 73 7d 0d | 0a 5c 6c 61 62 65 6c 7b | Users}.|.\label{|
|00003ef0| 6f 6c 64 75 73 65 72 73 | 7d 0d 0a 0d 0a 46 6f 72 |oldusers|}....For|
|00003f00| 6d 65 72 20 47 6e 75 5c | 54 65 58 5c 20 75 73 65 |mer Gnu\|TeX\ use|
|00003f10| 72 73 20 6d 61 79 20 62 | 65 20 70 6c 65 61 73 65 |rs may b|e please|
|00003f20| 64 20 77 69 74 68 20 6d | 61 6e 79 20 6f 66 20 74 |d with m|any of t|
|00003f30| 68 65 20 6e 65 77 20 66 | 65 61 74 75 72 65 73 0d |he new f|eatures.|
|00003f40| 0a 28 6d 61 6e 79 20 69 | 6e 73 70 69 72 65 64 20 |.(many i|nspired |
|00003f50| 62 79 20 79 6f 75 72 20 | 73 75 67 67 65 73 74 69 |by your |suggesti|
|00003f60| 6f 6e 73 21 29 2c 20 62 | 75 74 20 77 69 6c 6c 20 |ons!), b|ut will |
|00003f70| 61 6c 73 6f 20 66 69 6e | 64 20 6d 61 6e 79 20 63 |also fin|d many c|
|00003f80| 68 61 6e 67 65 73 2e 0d | 0a 47 4e 55 50 4c 4f 54 |hanges..|.GNUPLOT|
|00003f90| 20 77 69 6c 6c 20 7b 5c | 65 6d 20 6e 6f 74 5c 2f | will {\|em not\/|
|00003fa0| 7d 20 72 75 6e 20 61 6c | 6c 20 47 6e 75 5c 54 65 |} run al|l Gnu\Te|
|00003fb0| 58 5c 20 69 6e 70 75 74 | 20 66 69 6c 65 73 20 75 |X\ input| files u|
|00003fc0| 6e 63 68 61 6e 67 65 64 | 2e 0d 0a 53 65 76 65 72 |nchanged|...Sever|
|00003fd0| 61 6c 20 47 6e 75 5c 54 | 65 58 5c 20 66 65 61 74 |al Gnu\T|eX\ feat|
|00003fe0| 75 72 65 73 20 77 65 72 | 65 20 6e 6f 74 20 69 6e |ures wer|e not in|
|00003ff0| 63 6c 75 64 65 64 20 69 | 6e 20 47 4e 55 50 4c 4f |cluded i|n GNUPLO|
|00004000| 54 20 62 65 63 61 75 73 | 65 20 74 68 65 79 0d 0a |T becaus|e they..|
|00004010| 77 65 72 65 20 73 70 65 | 63 69 66 69 63 20 74 6f |were spe|cific to|
|00004020| 20 74 68 65 20 5c 4c 61 | 54 65 58 5c 20 64 72 69 | the \La|TeX\ dri|
|00004030| 76 65 72 2e 20 49 20 65 | 6e 63 6f 75 72 61 67 65 |ver. I e|ncourage|
|00004040| 20 79 6f 75 20 74 6f 20 | 75 73 65 20 74 68 65 20 | you to |use the |
|00004050| 6e 65 77 65 72 0d 0a 47 | 4e 55 50 4c 4f 54 2e 20 |newer..G|NUPLOT. |
|00004060| 20 41 20 74 72 61 6e 73 | 6c 61 74 6f 72 20 69 73 | A trans|lator is|
|00004070| 20 61 76 61 69 6c 61 62 | 6c 65 20 74 68 61 74 20 | availab|le that |
|00004080| 61 74 74 65 6d 70 74 73 | 20 74 6f 20 74 72 61 6e |attempts| to tran|
|00004090| 73 6c 61 74 65 20 79 6f | 75 72 0d 0a 6f 6c 64 20 |slate yo|ur..old |
|000040a0| 47 6e 75 5c 54 65 58 5c | 20 31 2e 36 20 69 6e 70 |Gnu\TeX\| 1.6 inp|
|000040b0| 75 74 20 66 69 6c 65 73 | 20 69 6e 74 6f 20 47 4e |ut files| into GN|
|000040c0| 55 50 4c 4f 54 20 33 2e | 30 20 66 69 6c 65 73 2e |UPLOT 3.|0 files.|
|000040d0| 20 59 6f 75 20 63 61 6e | 20 66 74 70 20 69 74 0d | You can| ftp it.|
|000040e0| 0a 66 72 6f 6d 20 5c 76 | 65 72 62 2b 63 73 2e 64 |.from \v|erb+cs.d|
|000040f0| 75 6b 65 2e 65 64 75 2b | 20 61 73 20 5c 76 65 72 |uke.edu+| as \ver|
|00004100| 62 2b 64 69 73 74 2f 73 | 6f 75 72 63 65 73 2f 67 |b+dist/s|ources/g|
|00004110| 6e 75 70 6c 6f 74 2f 67 | 6e 75 74 32 70 2e 74 61 |nuplot/g|nut2p.ta|
|00004120| 72 2e 5a 2b 2e 0d 0a 54 | 68 69 73 20 66 69 6c 65 |r.Z+...T|his file|
|00004130| 20 61 6c 73 6f 20 63 6f | 6e 74 61 69 6e 73 20 64 | also co|ntains d|
|00004140| 69 72 65 63 74 69 6f 6e | 73 20 61 6e 64 20 61 20 |irection|s and a |
|00004150| 6c 69 73 74 20 6f 66 20 | 63 68 61 6e 67 65 73 20 |list of |changes |
|00004160| 66 72 6f 6d 20 47 6e 75 | 5c 54 65 58 5c 0d 0a 74 |from Gnu|\TeX\..t|
|00004170| 6f 20 47 4e 55 50 4c 4f | 54 2e 0d 0a 0d 0a 5c 73 |o GNUPLO|T.....\s|
|00004180| 65 63 74 69 6f 6e 7b 43 | 6f 6e 74 61 63 74 7d 0d |ection{C|ontact}.|
|00004190| 0a 50 6c 65 61 73 65 20 | 63 6f 6e 74 61 63 74 20 |.Please |contact |
|000041a0| 6d 65 20 61 74 20 5c 76 | 65 72 62 2b 44 61 76 69 |me at \v|erb+Davi|
|000041b0| 64 2e 4b 6f 74 7a 40 44 | 61 72 74 6d 6f 75 74 68 |d.Kotz@D|artmouth|
|000041c0| 2e 65 64 75 2b 20 77 69 | 74 68 20 61 6e 79 20 63 |.edu+ wi|th any c|
|000041d0| 6f 6d 6d 65 6e 74 73 20 | 79 6f 75 20 6d 61 79 0d |omments |you may.|
|000041e0| 0a 68 61 76 65 20 6f 6e | 20 47 4e 55 50 4c 4f 54 |.have on| GNUPLOT|
|000041f0| 27 73 20 5c 4c 61 54 65 | 58 5c 20 64 72 69 76 65 |'s \LaTe|X\ drive|
|00004200| 72 2e 20 46 6f 72 20 67 | 65 6e 65 72 61 6c 20 47 |r. For g|eneral G|
|00004210| 4e 55 50 4c 4f 54 20 71 | 75 65 73 74 69 6f 6e 73 |NUPLOT q|uestions|
|00004220| 2c 20 73 65 6e 64 0d 0a | 6d 61 69 6c 20 74 6f 20 |, send..|mail to |
|00004230| 74 68 65 20 47 4e 55 50 | 4c 4f 54 20 6d 61 69 6c |the GNUP|LOT mail|
|00004240| 69 6e 67 20 6c 69 73 74 | 0d 0a 28 5c 76 65 72 62 |ing list|..(\verb|
|00004250| 2b 69 6e 66 6f 2d 67 6e | 75 70 6c 6f 74 40 64 61 |+info-gn|uplot@da|
|00004260| 72 74 6d 6f 75 74 68 2e | 65 64 75 2b 29 2e 0d 0a |rtmouth.|edu+)...|
|00004270| 0d 0a 0d 0a 5c 65 6e 64 | 7b 64 6f 63 75 6d 65 6e |....\end|{documen|
|00004280| 74 7d 0d 0a | |t}.. | |
+--------+-------------------------+-------------------------+--------+--------+