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: LaTeX Document
(document/latex).
You can browse this item here: tutorial.tex
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 20 0d 0a 25 20 54 75 | 74 6f 72 69 61 6c 20 66 |% ..% Tu|torial f|
|00000010| 6f 72 20 47 4e 55 50 4c | 4f 54 20 70 6c 6f 74 74 |or GNUPL|OT plott|
|00000020| 69 6e 67 20 70 72 6f 67 | 72 61 6d 2c 20 66 6f 72 |ing prog|ram, for|
|00000030| 20 4c 61 54 65 58 20 75 | 73 65 72 73 0d 0a 25 20 | LaTeX u|sers..% |
|00000040| 44 61 76 69 64 20 4b 6f | 74 7a 20 28 64 66 6b 40 |David Ko|tz (dfk@|
|00000050| 63 73 2e 64 75 6b 65 2e | 65 64 75 29 0d 0a 25 20 |cs.duke.|edu)..% |
|00000060| 44 75 6b 65 20 55 6e 69 | 76 65 72 73 69 74 79 20 |Duke Uni|versity |
|00000070| 43 6f 6d 70 75 74 65 72 | 20 53 63 69 65 6e 63 65 |Computer| Science|
|00000080| 20 44 65 70 61 72 74 6d | 65 6e 74 0d 0a 25 0d 0a | Departm|ent..%..|
|00000090| 25 20 4e 4f 54 45 3a 20 | 49 66 20 4c 61 54 65 58 |% NOTE: |If LaTeX|
|000000a0| 20 72 75 6e 73 20 6f 75 | 74 20 6f 66 20 6d 65 6d | runs ou|t of mem|
|000000b0| 6f 72 79 20 70 72 6f 63 | 65 73 73 69 6e 67 20 70 |ory proc|essing p|
|000000c0| 6c 6f 74 73 2c 0d 0a 25 | 20 61 64 64 20 60 60 77 |lots,..%| add ``w|
|000000d0| 69 74 68 20 6c 69 6e 65 | 73 20 34 27 27 20 74 6f |ith line|s 4'' to|
|000000e0| 20 65 61 63 68 20 63 75 | 72 76 65 20 69 6e 20 65 | each cu|rve in e|
|000000f0| 67 2a 2e 70 6c 74 20 61 | 6e 64 20 72 65 72 75 6e |g*.plt a|nd rerun|
|00000100| 20 6d 61 6b 65 2e 0d 0a | 25 0d 0a 0d 0a 25 20 73 | make...|%....% s|
|00000110| 6f 6d 65 20 68 65 61 64 | 65 72 20 69 6e 66 6f 0d |ome head|er info.|
|00000120| 0a 5c 69 6e 70 75 74 7b | 68 65 61 64 65 72 7d 0d |.\input{|header}.|
|00000130| 0a 0d 0a 5c 62 65 67 69 | 6e 7b 64 6f 63 75 6d 65 |...\begi|n{docume|
|00000140| 6e 74 7d 0d 0a 0d 0a 5c | 74 69 74 6c 65 7b 5c 4c |nt}....\|title{\L|
|00000150| 61 54 65 58 5c 20 61 6e | 64 20 74 68 65 20 47 4e |aTeX\ an|d the GN|
|00000160| 55 50 4c 4f 54 20 50 6c | 6f 74 74 69 6e 67 20 0d |UPLOT Pl|otting .|
|00000170| 0a 50 72 6f 67 72 61 6d | 5c 74 68 61 6e 6b 73 7b |.Program|\thanks{|
|00000180| 54 68 69 73 20 64 6f 63 | 75 6d 65 6e 74 20 64 65 |This doc|ument de|
|00000190| 73 63 72 69 62 65 73 20 | 47 4e 55 50 4c 4f 54 20 |scribes |GNUPLOT |
|000001a0| 76 65 72 73 69 6f 6e 20 | 32 2e 30 2e 20 41 6c 6c |version |2.0. All|
|000001b0| 20 70 6c 6f 74 73 0d 0a | 69 6e 20 74 68 69 73 20 | plots..|in this |
|000001c0| 64 6f 63 75 6d 65 6e 74 | 20 77 65 72 65 20 6d 61 |document| were ma|
|000001d0| 64 65 20 77 69 74 68 20 | 74 68 61 74 20 76 65 72 |de with |that ver|
|000001e0| 73 69 6f 6e 20 6f 66 20 | 47 4e 55 50 4c 4f 54 2e |sion of |GNUPLOT.|
|000001f0| 7d 20 7d 0d 0a 5c 61 75 | 74 68 6f 72 7b 44 61 76 |} }..\au|thor{Dav|
|00000200| 69 64 20 4b 6f 74 7a 20 | 5c 5c 20 5c 76 65 72 62 |id Kotz |\\ \verb|
|00000210| 2b 64 66 6b 40 63 73 2e | 64 75 6b 65 2e 65 64 75 |+dfk@cs.|duke.edu|
|00000220| 2b 7d 0d 0a 5c 64 61 74 | 65 7b 46 65 62 72 75 61 |+}..\dat|e{Februa|
|00000230| 72 79 20 31 30 2c 20 31 | 39 39 30 7d 0d 0a 0d 0a |ry 10, 1|990}....|
|00000240| 5c 6d 61 6b 65 74 69 74 | 6c 65 0d 0a 0d 0a 5c 70 |\maketit|le....\p|
|00000250| 61 67 65 73 74 79 6c 65 | 7b 6d 79 68 65 61 64 69 |agestyle|{myheadi|
|00000260| 6e 67 73 7d 0d 0a 5c 6d | 61 72 6b 72 69 67 68 74 |ngs}..\m|arkright|
|00000270| 7b 47 4e 55 50 4c 4f 54 | 20 5c 4c 61 54 65 58 5c |{GNUPLOT| \LaTeX\|
|00000280| 20 54 75 74 6f 72 69 61 | 6c 20 56 65 72 73 69 6f | Tutoria|l Versio|
|00000290| 6e 20 32 2e 30 7d 0d 0a | 0d 0a 5c 63 75 72 72 65 |n 2.0}..|..\curre|
|000002a0| 6e 74 73 70 61 63 65 20 | 25 20 64 65 66 69 6e 65 |ntspace |% define|
|000002b0| 64 20 69 6e 20 68 65 61 | 64 65 72 2e 74 65 78 0d |d in hea|der.tex.|
|000002c0| 0a 0d 0a 5c 73 65 63 74 | 69 6f 6e 7b 49 6e 74 72 |...\sect|ion{Intr|
|000002d0| 6f 64 75 63 74 69 6f 6e | 20 61 6e 64 20 48 69 73 |oduction| and His|
|000002e0| 74 6f 72 79 7d 0d 0a 0d | 0a 47 4e 55 50 4c 4f 54 |tory}...|.GNUPLOT|
|000002f0| 20 77 61 73 20 6f 72 69 | 67 69 6e 61 6c 6c 79 20 | was ori|ginally |
|00000300| 64 65 76 65 6c 6f 70 65 | 64 20 62 79 20 43 6f 6c |develope|d by Col|
|00000310| 69 6e 20 4b 65 6c 6c 65 | 79 20 61 6e 64 20 54 68 |in Kelle|y and Th|
|00000320| 6f 6d 61 73 20 57 69 6c | 6c 69 61 6d 73 0d 0a 69 |omas Wil|liams..i|
|00000330| 6e 20 31 39 38 36 20 74 | 6f 20 70 6c 6f 74 20 66 |n 1986 t|o plot f|
|00000340| 75 6e 63 74 69 6f 6e 73 | 20 61 6e 64 20 64 61 74 |unctions| and dat|
|00000350| 61 20 66 69 6c 65 73 20 | 6f 6e 20 61 20 76 61 72 |a files |on a var|
|00000360| 69 65 74 79 20 6f 66 20 | 74 65 72 6d 69 6e 61 6c |iety of |terminal|
|00000370| 73 2e 0d 0a 49 6e 20 31 | 39 38 38 20 61 6e 64 20 |s...In 1|988 and |
|00000380| 31 39 38 39 20 49 20 63 | 72 65 61 74 65 64 20 61 |1989 I c|reated a|
|00000390| 6e 20 61 6c 74 65 72 6e | 61 74 65 20 76 65 72 73 |n altern|ate vers|
|000003a0| 69 6f 6e 2c 20 6b 6e 6f | 77 6e 20 61 73 20 47 6e |ion, kno|wn as Gn|
|000003b0| 75 5c 54 65 58 2c 0d 0a | 74 68 61 74 20 73 75 70 |u\TeX,..|that sup|
|000003c0| 70 6f 72 74 65 64 20 61 | 20 6e 65 77 20 60 60 74 |ported a| new ``t|
|000003d0| 65 72 6d 69 6e 61 6c 20 | 74 79 70 65 27 27 20 63 |erminal |type'' c|
|000003e0| 61 6c 6c 65 64 20 7b 5c | 74 74 20 6c 61 74 65 78 |alled {\|tt latex|
|000003f0| 7d 2c 20 73 6f 20 67 6e | 75 70 6c 6f 74 0d 0a 77 |}, so gn|uplot..w|
|00000400| 6f 75 6c 64 20 6f 75 74 | 70 75 74 20 5c 4c 61 54 |ould out|put \LaT|
|00000410| 65 58 5c 20 63 6f 64 65 | 2e 20 54 68 65 20 70 6c |eX\ code|. The pl|
|00000420| 6f 74 20 63 6f 75 6c 64 | 20 74 68 65 6e 20 62 65 |ot could| then be|
|00000430| 20 69 6e 63 6c 75 64 65 | 64 20 69 6e 20 61 0d 0a | include|d in a..|
|00000440| 5c 4c 61 54 65 58 5c 20 | 64 6f 63 75 6d 65 6e 74 |\LaTeX\ |document|
|00000450| 2e 20 49 20 61 64 64 65 | 64 20 61 20 6e 75 6d 62 |. I adde|d a numb|
|00000460| 65 72 20 6f 66 20 65 6d | 62 65 6c 6c 69 73 68 6d |er of em|bellishm|
|00000470| 65 6e 74 73 2c 20 73 75 | 70 70 6f 72 74 65 64 20 |ents, su|pported |
|00000480| 6f 6e 6c 79 0d 0a 62 79 | 20 74 68 65 20 7b 5c 74 |only..by| the {\t|
|00000490| 74 20 6c 61 74 65 78 7d | 20 74 65 72 6d 69 6e 61 |t latex}| termina|
|000004a0| 6c 2c 20 61 6c 6c 6f 77 | 69 6e 67 20 74 68 65 20 |l, allow|ing the |
|000004b0| 75 73 65 72 20 74 6f 20 | 70 72 6f 64 75 63 65 0d |user to |produce.|
|000004c0| 0a 70 75 62 6c 69 63 61 | 74 69 6f 6e 2d 71 75 61 |.publica|tion-qua|
|000004d0| 6c 69 74 79 20 70 6c 6f | 74 73 2e 0d 0a 0d 0a 49 |lity plo|ts.....I|
|000004e0| 6e 20 6c 61 74 65 20 31 | 39 38 39 20 61 6e 64 20 |n late 1|989 and |
|000004f0| 65 61 72 6c 79 20 31 39 | 39 30 20 47 6e 75 5c 54 |early 19|90 Gnu\T|
|00000500| 65 58 5c 20 61 6e 64 20 | 61 20 6e 75 6d 62 65 72 |eX\ and |a number|
|00000510| 20 6f 66 20 6f 74 68 65 | 72 20 47 4e 55 50 4c 4f | of othe|r GNUPLO|
|00000520| 54 0d 0a 76 61 72 69 61 | 6e 74 73 20 77 65 72 65 |T..varia|nts were|
|00000530| 20 6d 65 72 67 65 64 20 | 74 6f 67 65 74 68 65 72 | merged |together|
|00000540| 20 69 6e 74 6f 20 61 20 | 6e 65 77 20 72 65 6c 65 | into a |new rele|
|00000550| 61 73 65 20 6f 66 20 47 | 4e 55 50 4c 4f 54 2c 20 |ase of G|NUPLOT, |
|00000560| 32 2e 30 2e 20 54 68 69 | 73 0d 0a 69 6e 63 6c 75 |2.0. Thi|s..inclu|
|00000570| 64 65 73 2c 20 61 6d 6f | 6e 67 20 6d 61 6e 79 20 |des, amo|ng many |
|00000580| 6f 74 68 65 72 20 69 6d | 70 72 6f 76 65 6d 65 6e |other im|provemen|
|00000590| 74 73 2c 20 61 20 5c 4c | 61 54 65 58 5c 20 64 72 |ts, a \L|aTeX\ dr|
|000005a0| 69 76 65 72 20 64 65 72 | 69 76 65 64 20 66 72 6f |iver der|ived fro|
|000005b0| 6d 0d 0a 74 68 65 20 6f | 6e 65 20 69 6e 20 47 6e |m..the o|ne in Gn|
|000005c0| 75 5c 54 65 58 2e 20 46 | 6f 72 6d 65 72 20 47 6e |u\TeX. F|ormer Gn|
|000005d0| 75 5c 54 65 58 5c 20 75 | 73 65 72 73 20 61 72 65 |u\TeX\ u|sers are|
|000005e0| 20 72 65 66 65 72 72 65 | 64 20 74 6f 0d 0a 53 65 | referre|d to..Se|
|000005f0| 63 74 69 6f 6e 7e 5c 72 | 65 66 7b 6f 6c 64 75 73 |ction~\r|ef{oldus|
|00000600| 65 72 73 7d 20 66 6f 72 | 20 69 6e 66 6f 72 6d 61 |ers} for| informa|
|00000610| 74 69 6f 6e 20 61 62 6f | 75 74 20 61 64 61 70 74 |tion abo|ut adapt|
|00000620| 69 6e 67 20 74 6f 20 47 | 4e 55 50 4c 4f 54 20 32 |ing to G|NUPLOT 2|
|00000630| 2e 30 2e 0d 0a 41 6e 79 | 6f 6e 65 20 69 6e 74 65 |.0...Any|one inte|
|00000640| 72 65 73 74 65 64 20 69 | 6e 20 75 73 69 6e 67 20 |rested i|n using |
|00000650| 47 4e 55 50 4c 4f 54 20 | 32 2e 30 20 77 69 74 68 |GNUPLOT |2.0 with|
|00000660| 20 5c 4c 61 54 65 58 5c | 20 73 68 6f 75 6c 64 20 | \LaTeX\| should |
|00000670| 72 65 61 64 20 74 68 65 | 0d 0a 6e 65 78 74 20 73 |read the|..next s|
|00000680| 65 63 74 69 6f 6e 2c 20 | 61 20 74 75 74 6f 72 69 |ection, |a tutori|
|00000690| 61 6c 2e 20 20 47 4e 55 | 50 4c 4f 54 20 62 65 67 |al. GNU|PLOT beg|
|000006a0| 69 6e 6e 65 72 73 20 73 | 68 6f 75 6c 64 20 61 6c |inners s|hould al|
|000006b0| 73 6f 20 72 65 61 64 20 | 74 68 65 0d 0a 70 72 69 |so read |the..pri|
|000006c0| 6d 61 72 79 20 47 4e 55 | 50 4c 4f 54 20 6d 61 6e |mary GNU|PLOT man|
|000006d0| 75 61 6c 2e 20 0d 0a 0d | 0a 54 68 65 20 72 65 61 |ual. ...|.The rea|
|000006e0| 64 65 72 20 73 68 6f 75 | 6c 64 20 6e 6f 74 65 20 |der shou|ld note |
|000006f0| 74 68 61 74 20 74 68 65 | 20 5c 4c 61 54 65 58 5c |that the| \LaTeX\|
|00000700| 20 70 69 63 74 75 72 65 | 20 65 6e 76 69 72 6f 6e | picture| environ|
|00000710| 6d 65 6e 74 73 20 6f 75 | 74 70 75 74 20 62 79 0d |ments ou|tput by.|
|00000720| 0a 47 4e 55 50 4c 4f 54 | 20 63 61 6e 20 62 65 20 |.GNUPLOT| can be |
|00000730| 71 75 69 74 65 20 6c 61 | 72 67 65 20 61 6e 64 20 |quite la|rge and |
|00000740| 63 6f 6d 70 6c 69 63 61 | 74 65 64 2c 20 61 6e 64 |complica|ted, and|
|00000750| 20 63 61 6e 20 65 61 73 | 69 6c 79 20 65 78 63 65 | can eas|ily exce|
|00000760| 65 64 20 74 68 65 0d 0a | 6d 65 6d 6f 72 79 20 63 |ed the..|memory c|
|00000770| 61 70 61 63 69 74 79 20 | 6f 66 20 5c 54 65 58 2e |apacity |of \TeX.|
|00000780| 20 49 66 20 61 6e 20 65 | 6e 6c 61 72 67 65 64 20 | If an e|nlarged |
|00000790| 76 65 72 73 69 6f 6e 20 | 6f 66 20 5c 54 65 58 5c |version |of \TeX\|
|000007a0| 20 69 73 20 61 76 61 69 | 6c 61 62 6c 65 2c 0d 0a | is avai|lable,..|
|000007b0| 69 74 20 69 73 20 77 69 | 73 65 20 74 6f 20 75 73 |it is wi|se to us|
|000007c0| 65 20 69 74 2e 20 4f 74 | 68 65 72 77 69 73 65 2c |e it. Ot|herwise,|
|000007d0| 20 6b 65 65 70 20 79 6f | 75 72 20 70 6c 6f 74 73 | keep yo|ur plots|
|000007e0| 20 73 69 6d 70 6c 65 20 | 61 6e 64 20 61 64 64 0d | simple |and add.|
|000007f0| 0a 5c 76 65 72 62 2b 5c | 63 6c 65 61 72 70 61 67 |.\verb+\|clearpag|
|00000800| 65 2b 20 74 6f 20 79 6f | 75 72 20 64 6f 63 75 6d |e+ to yo|ur docum|
|00000810| 65 6e 74 20 77 68 65 72 | 65 20 6e 65 63 65 73 73 |ent wher|e necess|
|00000820| 61 72 79 2e 0d 0a 0d 0a | 54 68 65 72 65 20 69 73 |ary.....|There is|
|00000830| 20 61 6c 73 6f 20 61 20 | 6e 65 77 20 45 45 50 49 | also a |new EEPI|
|00000840| 43 20 64 72 69 76 65 72 | 20 28 7b 5c 74 74 20 65 |C driver| ({\tt e|
|00000850| 65 70 69 63 7d 29 2c 20 | 69 6e 74 65 6e 64 65 64 |epic}), |intended|
|00000860| 20 66 6f 72 20 75 73 65 | 20 77 69 74 68 0d 0a 74 | for use| with..t|
|00000870| 68 65 20 45 45 50 49 43 | 20 6d 61 63 72 6f 20 70 |he EEPIC| macro p|
|00000880| 61 63 6b 61 67 65 20 66 | 6f 72 20 5c 4c 61 54 65 |ackage f|or \LaTe|
|00000890| 58 2e 20 45 45 50 49 43 | 20 61 6c 6c 6f 77 73 20 |X. EEPIC| allows |
|000008a0| 66 6f 72 20 6d 75 63 68 | 20 6d 6f 72 65 0d 0a 65 |for much| more..e|
|000008b0| 66 66 69 63 69 65 6e 74 | 20 6c 69 6e 65 2d 64 72 |fficient| line-dr|
|000008c0| 61 77 69 6e 67 2c 20 72 | 75 6e 73 20 74 68 72 6f |awing, r|uns thro|
|000008d0| 75 67 68 20 5c 4c 61 54 | 65 58 5c 20 66 61 73 74 |ugh \LaT|eX\ fast|
|000008e0| 65 72 2c 20 75 73 65 73 | 20 6c 65 73 73 20 6d 65 |er, uses| less me|
|000008f0| 6d 6f 72 79 2c 0d 0a 61 | 6e 64 20 6d 61 79 20 70 |mory,..a|nd may p|
|00000900| 72 6f 64 75 63 65 20 62 | 65 74 74 65 72 2d 6c 6f |roduce b|etter-lo|
|00000910| 6f 6b 69 6e 67 20 70 6c | 6f 74 73 2e 20 53 65 65 |oking pl|ots. See|
|00000920| 20 53 65 63 74 69 6f 6e | 7e 5c 72 65 66 7b 73 3a | Section|~\ref{s:|
|00000930| 65 65 70 69 63 7d 20 66 | 6f 72 0d 0a 6d 6f 72 65 |eepic} f|or..more|
|00000940| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 2e 0d 0a 0d | informa|tion....|
|00000950| 0a 54 68 65 72 65 20 69 | 73 20 61 20 73 6d 61 6c |.There i|s a smal|
|00000960| 6c 20 70 61 63 6b 61 67 | 65 20 6f 66 20 61 75 78 |l packag|e of aux|
|00000970| 69 6c 69 61 72 79 20 66 | 69 6c 65 73 20 28 6d 61 |iliary f|iles (ma|
|00000980| 6b 65 66 69 6c 65 73 20 | 61 6e 64 20 73 63 72 69 |kefiles |and scri|
|00000990| 70 74 73 29 0d 0a 74 68 | 61 74 20 49 20 66 69 6e |pts)..th|at I fin|
|000009a0| 64 20 75 73 65 66 75 6c | 20 66 6f 72 20 6d 61 6b |d useful| for mak|
|000009b0| 69 6e 67 20 5c 4c 61 54 | 65 58 5c 20 70 6c 6f 74 |ing \LaT|eX\ plot|
|000009c0| 73 20 77 69 74 68 20 47 | 4e 55 50 4c 4f 54 2e 20 |s with G|NUPLOT. |
|000009d0| 54 68 69 73 20 69 73 0d | 0a 61 76 61 69 6c 61 62 |This is.|.availab|
|000009e0| 6c 65 20 66 6f 72 20 5c | 76 65 72 62 2b 66 74 70 |le for \|verb+ftp|
|000009f0| 2b 20 61 73 20 5c 76 65 | 72 62 2b 70 75 62 2f 67 |+ as \ve|rb+pub/g|
|00000a00| 6e 75 70 6c 6f 74 2d 6c | 61 74 65 78 2e 73 68 61 |nuplot-l|atex.sha|
|00000a10| 72 2b 20 66 72 6f 6d 0d | 0a 5c 76 65 72 62 2b 63 |r+ from.|.\verb+c|
|00000a20| 73 2e 64 75 6b 65 2e 65 | 64 75 2b 2e 20 49 20 63 |s.duke.e|du+. I c|
|00000a30| 61 6e 20 6d 61 69 6c 20 | 63 6f 70 69 65 73 20 28 |an mail |copies (|
|00000a40| 73 65 65 20 74 68 65 20 | 65 6e 64 20 6f 66 20 74 |see the |end of t|
|00000a50| 68 69 73 20 70 61 70 65 | 72 20 66 6f 72 0d 0a 69 |his pape|r for..i|
|00000a60| 6e 66 6f 72 6d 61 74 69 | 6f 6e 29 2e 0d 0a 0d 0a |nformati|on).....|
|00000a70| 5c 73 65 63 74 69 6f 6e | 7b 55 73 69 6e 67 20 47 |\section|{Using G|
|00000a80| 4e 55 50 4c 4f 54 20 66 | 6f 72 20 5c 4c 61 54 65 |NUPLOT f|or \LaTe|
|00000a90| 58 3a 20 61 20 54 75 74 | 6f 72 69 61 6c 7d 0d 0a |X: a Tut|orial}..|
|00000aa0| 0d 0a 47 4e 55 50 4c 4f | 54 20 69 73 20 62 79 20 |..GNUPLO|T is by |
|00000ab0| 6e 61 74 75 72 65 20 61 | 6e 20 69 6e 74 65 72 61 |nature a|n intera|
|00000ac0| 63 74 69 76 65 20 70 72 | 6f 67 72 61 6d 2e 20 55 |ctive pr|ogram. U|
|00000ad0| 73 65 72 73 20 6d 61 6b | 69 6e 67 20 70 6c 6f 74 |sers mak|ing plot|
|00000ae0| 73 20 66 6f 72 0d 0a 5c | 4c 61 54 65 58 5c 20 77 |s for..\|LaTeX\ w|
|00000af0| 69 6c 6c 20 67 65 6e 65 | 72 61 6c 6c 79 20 6e 6f |ill gene|rally no|
|00000b00| 74 20 75 73 65 20 47 4e | 55 50 4c 4f 54 20 69 6e |t use GN|UPLOT in|
|00000b10| 74 65 72 61 63 74 69 76 | 65 6c 79 2e 20 20 57 68 |teractiv|ely. Wh|
|00000b20| 65 6e 65 76 65 72 20 68 | 61 72 64 0d 0a 63 6f 70 |enever h|ard..cop|
|00000b30| 79 20 69 73 20 64 65 73 | 69 72 65 64 20 66 72 6f |y is des|ired fro|
|00000b40| 6d 20 47 4e 55 50 4c 4f | 54 2c 20 74 68 65 20 70 |m GNUPLO|T, the p|
|00000b50| 72 6f 67 72 61 6d 20 6e | 65 65 64 20 6e 6f 74 20 |rogram n|eed not |
|00000b60| 62 65 20 72 75 6e 20 6f | 6e 20 61 0d 0a 67 72 61 |be run o|n a..gra|
|00000b70| 70 68 69 63 73 20 74 65 | 72 6d 69 6e 61 6c 2e 20 |phics te|rminal. |
|00000b80| 49 6e 20 74 68 69 73 20 | 63 61 73 65 20 74 68 65 |In this |case the|
|00000b90| 20 6f 75 74 70 75 74 20 | 69 73 20 64 69 72 65 63 | output |is direc|
|00000ba0| 74 65 64 20 74 6f 20 61 | 20 66 69 6c 65 20 6f 72 |ted to a| file or|
|00000bb0| 0d 0a 70 69 70 65 2c 20 | 74 68 65 6e 20 73 65 6e |..pipe, |then sen|
|00000bc0| 74 20 74 6f 20 74 68 65 | 20 61 70 70 72 6f 70 72 |t to the| appropr|
|00000bd0| 69 61 74 65 20 6f 75 74 | 70 75 74 20 64 65 76 69 |iate out|put devi|
|00000be0| 63 65 2e 20 46 6f 72 20 | 65 78 61 6d 70 6c 65 2c |ce. For |example,|
|00000bf0| 20 6f 75 74 70 75 74 0d | 0a 66 72 6f 6d 20 74 68 | output.|.from th|
|00000c00| 65 20 74 65 72 6d 69 6e | 61 6c 20 74 79 70 65 20 |e termin|al type |
|00000c10| 7b 5c 74 74 20 75 6e 69 | 78 70 6c 6f 74 7d 20 6d |{\tt uni|xplot} m|
|00000c20| 61 79 20 62 65 20 73 65 | 6e 74 20 74 6f 20 61 20 |ay be se|nt to a |
|00000c30| 70 72 6f 67 72 61 6d 0d | 0a 69 6e 74 65 72 70 72 |program.|.interpr|
|00000c40| 65 74 69 6e 67 20 74 68 | 65 20 55 6e 69 78 20 70 |eting th|e Unix p|
|00000c50| 6c 6f 74 74 69 6e 67 20 | 73 74 61 6e 64 61 72 64 |lotting |standard|
|00000c60| 2e 20 54 68 65 20 74 65 | 72 6d 69 6e 61 6c 20 74 |. The te|rminal t|
|00000c70| 79 70 65 73 20 7b 5c 74 | 74 0d 0a 69 6d 61 67 65 |ypes {\t|t..image|
|00000c80| 6e 7d 20 61 6e 64 20 7b | 5c 74 74 20 70 6f 73 74 |n} and {|\tt post|
|00000c90| 73 63 72 69 70 74 7d 20 | 6d 61 79 20 62 65 20 75 |script} |may be u|
|00000ca0| 73 65 64 20 66 6f 72 20 | 6f 75 74 70 75 74 20 74 |sed for |output t|
|00000cb0| 6f 20 70 72 69 6e 74 65 | 72 73 0d 0a 75 6e 64 65 |o printe|rs..unde|
|00000cc0| 72 73 74 61 6e 64 69 6e | 67 20 74 68 6f 73 65 20 |rstandin|g those |
|00000cd0| 6c 61 6e 67 75 61 67 65 | 73 2e 20 28 41 20 73 68 |language|s. (A sh|
|00000ce0| 65 6c 6c 20 73 63 72 69 | 70 74 20 28 7b 5c 74 74 |ell scri|pt ({\tt|
|00000cf0| 20 6c 61 73 65 72 67 6e | 75 7d 29 20 69 73 0d 0a | lasergn|u}) is..|
|00000d00| 73 75 70 70 6c 69 65 64 | 20 77 69 74 68 20 74 68 |supplied| with th|
|00000d10| 65 20 64 69 73 74 72 69 | 62 75 74 69 6f 6e 20 74 |e distri|bution t|
|00000d20| 68 61 74 20 77 69 6c 6c | 20 61 63 63 65 70 74 20 |hat will| accept |
|00000d30| 61 20 47 4e 55 50 4c 4f | 54 20 63 6f 6d 6d 61 6e |a GNUPLO|T comman|
|00000d40| 64 20 6f 72 0d 0a 69 6e | 70 75 74 20 66 69 6c 65 |d or..in|put file|
|00000d50| 20 61 6e 64 20 73 65 6e | 64 20 74 68 65 20 6f 75 | and sen|d the ou|
|00000d60| 74 70 75 74 20 74 6f 20 | 61 6e 20 49 6d 61 67 65 |tput to |an Image|
|00000d70| 6e 20 6f 72 20 50 6f 73 | 74 73 63 72 69 70 74 20 |n or Pos|tscript |
|00000d80| 6c 61 73 65 72 0d 0a 70 | 72 69 6e 74 65 72 2e 20 |laser..p|rinter. |
|00000d90| 54 68 69 73 20 73 63 72 | 69 70 74 20 6d 61 79 20 |This scr|ipt may |
|00000da0| 68 61 76 65 20 62 65 65 | 6e 20 61 64 61 70 74 65 |have bee|n adapte|
|00000db0| 64 20 74 6f 20 79 6f 75 | 72 20 73 69 74 65 2e 29 |d to you|r site.)|
|00000dc0| 20 54 68 65 20 74 65 72 | 6d 69 6e 61 6c 0d 0a 74 | The ter|minal..t|
|00000dd0| 79 70 65 20 7b 5c 74 74 | 20 66 69 67 7d 20 6f 75 |ype {\tt| fig} ou|
|00000de0| 74 70 75 74 73 20 46 49 | 47 20 63 6f 64 65 20 74 |tputs FI|G code t|
|00000df0| 68 61 74 20 63 61 6e 20 | 62 65 20 72 65 61 64 20 |hat can |be read |
|00000e00| 62 79 20 74 68 65 20 46 | 69 67 20 67 72 61 70 68 |by the F|ig graph|
|00000e10| 69 63 73 0d 0a 70 72 6f | 67 72 61 6d 20 61 6e 64 |ics..pro|gram and|
|00000e20| 20 74 72 61 6e 73 6c 61 | 74 65 64 20 69 6e 74 6f | transla|ted into|
|00000e30| 20 66 6f 72 6d 73 20 75 | 73 61 62 6c 65 20 69 6e | forms u|sable in|
|00000e40| 20 62 6f 74 68 20 5c 54 | 65 58 5c 20 61 6e 64 0d | both \T|eX\ and.|
|00000e50| 0a 5c 4c 61 54 65 58 5c | 20 64 6f 63 75 6d 65 6e |.\LaTeX\| documen|
|00000e60| 74 73 2e 0d 0a 0d 0a 57 | 65 20 6e 6f 77 20 69 67 |ts.....W|e now ig|
|00000e70| 6e 6f 72 65 20 74 68 65 | 20 69 6e 74 65 72 61 63 |nore the| interac|
|00000e80| 74 69 76 65 20 6e 61 74 | 75 72 65 20 6f 66 20 47 |tive nat|ure of G|
|00000e90| 4e 55 50 4c 4f 54 20 61 | 6e 64 20 70 72 6f 76 69 |NUPLOT a|nd provi|
|00000ea0| 64 65 20 74 68 65 20 69 | 6e 70 75 74 0d 0a 74 6f |de the i|nput..to|
|00000eb0| 20 47 4e 55 50 4c 4f 54 | 20 66 72 6f 6d 20 61 20 | GNUPLOT| from a |
|00000ec0| 66 69 6c 65 2c 20 5c 69 | 65 2c 0d 0a 5c 62 65 67 |file, \i|e,..\beg|
|00000ed0| 69 6e 7b 76 65 72 62 61 | 74 69 6d 7d 0d 0a 20 20 |in{verba|tim}.. |
|00000ee0| 20 20 20 20 67 6e 75 70 | 6c 6f 74 20 67 6e 75 2e | gnup|lot gnu.|
|00000ef0| 69 6e 70 75 74 0d 0a 5c | 65 6e 64 7b 76 65 72 62 |input..\|end{verb|
|00000f00| 61 74 69 6d 7d 0d 0a 49 | 6e 20 74 68 69 73 20 65 |atim}..I|n this e|
|00000f10| 78 61 6d 70 6c 65 2c 20 | 61 6c 6c 20 6f 66 20 74 |xample, |all of t|
|00000f20| 68 65 20 63 6f 6d 6d 61 | 6e 64 73 20 74 6f 20 47 |he comma|nds to G|
|00000f30| 4e 55 50 4c 4f 54 20 61 | 72 65 20 63 6f 6e 74 61 |NUPLOT a|re conta|
|00000f40| 69 6e 65 64 20 69 6e 20 | 74 68 65 0d 0a 66 69 6c |ined in |the..fil|
|00000f50| 65 20 7b 5c 74 74 20 67 | 6e 75 2e 69 6e 70 75 74 |e {\tt g|nu.input|
|00000f60| 7d 2e 20 4d 75 6c 74 69 | 70 6c 65 20 66 69 6c 65 |}. Multi|ple file|
|00000f70| 6e 61 6d 65 73 20 6d 61 | 79 20 62 65 20 73 75 70 |names ma|y be sup|
|00000f80| 70 6c 69 65 64 20 74 6f | 20 47 4e 55 50 4c 4f 54 |plied to| GNUPLOT|
|00000f90| 0d 0a 74 68 69 73 20 77 | 61 79 2c 20 72 65 61 64 |..this w|ay, read|
|00000fa0| 20 69 6e 20 74 68 65 20 | 6f 72 64 65 72 20 74 68 | in the |order th|
|00000fb0| 65 79 20 61 72 65 20 67 | 69 76 65 6e 2e 20 20 54 |ey are g|iven. T|
|00000fc0| 68 65 20 6f 75 74 70 75 | 74 20 28 6f 6e 65 20 6f |he outpu|t (one o|
|00000fd0| 72 20 6d 6f 72 65 0d 0a | 70 6c 6f 74 73 29 20 6d |r more..|plots) m|
|00000fe0| 61 79 20 62 65 20 70 69 | 70 65 64 20 74 6f 20 61 |ay be pi|ped to a|
|00000ff0| 6e 6f 74 68 65 72 20 70 | 72 6f 67 72 61 6d 20 6f |nother p|rogram o|
|00001000| 72 20 72 65 64 69 72 65 | 63 74 65 64 20 74 6f 20 |r redire|cted to |
|00001010| 61 20 66 69 6c 65 2e 0d | 0a 55 73 75 61 6c 6c 79 |a file..|.Usually|
|00001020| 2c 20 68 6f 77 65 76 65 | 72 2c 20 77 65 20 64 69 |, howeve|r, we di|
|00001030| 72 65 63 74 20 74 68 65 | 20 6f 75 74 70 75 74 20 |rect the| output |
|00001040| 65 78 70 6c 69 63 69 74 | 6c 79 20 77 69 74 68 20 |explicit|ly with |
|00001050| 61 6e 20 69 6e 73 74 72 | 75 63 74 69 6f 6e 0d 0a |an instr|uction..|
|00001060| 74 6f 20 47 4e 55 50 4c | 4f 54 20 28 74 68 65 20 |to GNUPL|OT (the |
|00001070| 7b 5c 74 74 20 73 65 74 | 20 6f 75 74 70 75 74 7d |{\tt set| output}|
|00001080| 20 63 6f 6d 6d 61 6e 64 | 29 2e 20 47 4e 55 50 4c | command|). GNUPL|
|00001090| 4f 54 20 63 6f 6e 74 69 | 6e 75 65 73 20 74 6f 20 |OT conti|nues to |
|000010a0| 70 72 69 6e 74 0d 0a 65 | 72 72 6f 72 20 6d 65 73 |print..e|rror mes|
|000010b0| 73 61 67 65 73 20 74 6f | 20 74 68 65 20 74 65 72 |sages to| the ter|
|000010c0| 6d 69 6e 61 6c 20 28 73 | 74 64 65 72 72 29 2e 0d |minal (s|tderr)..|
|000010d0| 0a 0d 0a 5c 70 61 72 61 | 67 72 61 70 68 7b 45 78 |...\para|graph{Ex|
|000010e0| 61 6d 70 6c 65 20 31 3a | 7d 20 48 65 72 65 20 69 |ample 1:|} Here i|
|000010f0| 73 20 61 20 66 69 72 73 | 74 20 65 78 61 6d 70 6c |s a firs|t exampl|
|00001100| 65 2c 20 70 72 6f 64 75 | 63 69 6e 67 20 61 20 70 |e, produ|cing a p|
|00001110| 6c 6f 74 20 66 6f 72 0d | 0a 74 68 69 73 20 64 6f |lot for.|.this do|
|00001120| 63 75 6d 65 6e 74 2e 20 | 54 68 65 20 47 4e 55 50 |cument. |The GNUP|
|00001130| 4c 4f 54 20 69 6e 70 75 | 74 20 66 69 6c 65 20 69 |LOT inpu|t file i|
|00001140| 73 20 67 69 76 65 6e 20 | 62 65 6c 6f 77 2c 20 61 |s given |below, a|
|00001150| 6e 64 20 74 68 65 20 6f | 75 74 70 75 74 0d 0a 61 |nd the o|utput..a|
|00001160| 70 70 65 61 72 73 20 61 | 73 20 46 69 67 75 72 65 |ppears a|s Figure|
|00001170| 7e 5c 72 65 66 7b 65 67 | 31 7d 2e 20 54 68 65 20 |~\ref{eg|1}. The |
|00001180| 69 6e 70 75 74 20 66 69 | 6c 65 20 64 65 66 69 6e |input fi|le defin|
|00001190| 65 73 20 74 68 65 20 6f | 75 74 70 75 74 20 74 6f |es the o|utput to|
|000011a0| 20 62 65 0d 0a 69 6e 20 | 5c 4c 61 54 65 58 2c 20 | be..in |\LaTeX, |
|000011b0| 67 69 76 65 73 20 61 20 | 66 69 6c 65 20 6e 61 6d |gives a |file nam|
|000011c0| 65 20 66 6f 72 20 74 68 | 65 20 6f 75 74 70 75 74 |e for th|e output|
|000011d0| 2c 20 61 6e 64 20 70 6c | 6f 74 73 20 24 79 3d 73 |, and pl|ots $y=s|
|000011e0| 69 6e 28 78 29 24 20 66 | 6f 72 0d 0a 24 78 24 20 |in(x)$ f|or..$x$ |
|000011f0| 6f 6e 20 24 5b 2d 5c 70 | 69 2c 5c 70 69 5d 24 2e |on $[-\p|i,\pi]$.|
|00001200| 20 54 6f 20 70 72 6f 64 | 75 63 65 20 74 68 65 20 | To prod|uce the |
|00001210| 66 69 67 75 72 65 2c 20 | 49 20 73 69 6d 70 6c 79 |figure, |I simply|
|00001220| 0d 0a 5c 76 65 72 62 2b | 5c 69 6e 70 75 74 7b 65 |..\verb+|\input{e|
|00001230| 67 31 7d 2b 20 69 6e 20 | 61 20 7b 5c 74 74 20 63 |g1}+ in |a {\tt c|
|00001240| 65 6e 74 65 72 7d 20 65 | 6e 76 69 72 6f 6e 6d 65 |enter} e|nvironme|
|00001250| 6e 74 20 69 6e 20 61 20 | 7b 5c 74 74 20 66 69 67 |nt in a |{\tt fig|
|00001260| 75 72 65 7d 0d 0a 65 6e | 76 69 72 6f 6e 6d 65 6e |ure}..en|vironmen|
|00001270| 74 2e 20 49 6e 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |t. In fo|llowing |
|00001280| 65 78 61 6d 70 6c 65 73 | 2c 20 49 20 77 69 6c 6c |examples|, I will|
|00001290| 20 65 6e 63 6c 6f 73 65 | 20 74 68 65 20 66 69 67 | enclose| the fig|
|000012a0| 75 72 65 20 69 6e 20 61 | 20 62 6f 78 0d 0a 74 6f |ure in a| box..to|
|000012b0| 20 6d 61 6b 65 20 69 74 | 20 6c 6f 6f 6b 20 61 20 | make it| look a |
|000012c0| 6c 69 74 74 6c 65 20 62 | 65 74 74 65 72 2e 0d 0a |little b|etter...|
|000012d0| 0d 0a 5c 73 69 6e 67 6c | 65 73 70 61 63 65 0d 0a |..\singl|espace..|
|000012e0| 5c 62 65 67 69 6e 7b 76 | 65 72 62 61 74 69 6d 7d |\begin{v|erbatim}|
|000012f0| 0d 0a 20 20 20 20 73 65 | 74 20 74 65 72 6d 69 6e |.. se|t termin|
|00001300| 61 6c 20 6c 61 74 65 78 | 0d 0a 20 20 20 20 73 65 |al latex|.. se|
|00001310| 74 20 6f 75 74 70 75 74 | 20 22 65 67 31 2e 74 65 |t output| "eg1.te|
|00001320| 78 22 0d 0a 20 20 20 20 | 70 6c 6f 74 20 5b 2d 33 |x".. |plot [-3|
|00001330| 2e 31 34 3a 33 2e 31 34 | 5d 20 73 69 6e 28 78 29 |.14:3.14|] sin(x)|
|00001340| 0d 0a 5c 65 6e 64 7b 76 | 65 72 62 61 74 69 6d 7d |..\end{v|erbatim}|
|00001350| 0d 0a 5c 63 75 72 72 65 | 6e 74 73 70 61 63 65 0d |..\curre|ntspace.|
|00001360| 0a 0d 0a 5c 62 65 67 69 | 6e 7b 66 69 67 75 72 65 |...\begi|n{figure|
|00001370| 7d 5b 68 74 62 70 5d 0d | 0a 20 20 5c 62 65 67 69 |}[htbp].|. \begi|
|00001380| 6e 7b 63 65 6e 74 65 72 | 7d 0d 0a 20 20 20 20 5c |n{center|}.. \|
|00001390| 69 6e 70 75 74 7b 65 67 | 31 7d 0d 0a 20 20 5c 65 |input{eg|1}.. \e|
|000013a0| 6e 64 7b 63 65 6e 74 65 | 72 7d 0d 0a 20 20 5c 63 |nd{cente|r}.. \c|
|000013b0| 61 70 74 69 6f 6e 7b 41 | 20 66 69 72 73 74 20 65 |aption{A| first e|
|000013c0| 78 61 6d 70 6c 65 3a 20 | 24 79 3d 73 69 6e 28 78 |xample: |$y=sin(x|
|000013d0| 29 24 7d 20 0d 0a 20 20 | 5c 6c 61 62 65 6c 7b 65 |)$} .. |\label{e|
|000013e0| 67 31 7d 0d 0a 5c 65 6e | 64 7b 66 69 67 75 72 65 |g1}..\en|d{figure|
|000013f0| 7d 0d 0a 0d 0a 4e 6f 74 | 65 20 74 68 61 74 20 47 |}....Not|e that G|
|00001400| 4e 55 50 4c 4f 54 20 68 | 61 73 20 64 72 61 77 6e |NUPLOT h|as drawn|
|00001410| 20 69 6e 20 74 68 65 20 | 61 78 65 73 2c 20 6c 61 | in the |axes, la|
|00001420| 62 65 6c 65 64 20 74 68 | 65 20 74 69 63 20 6d 61 |beled th|e tic ma|
|00001430| 72 6b 73 20 66 6f 72 20 | 75 73 2c 0d 0a 73 63 61 |rks for |us,..sca|
|00001440| 6c 65 64 20 74 68 65 20 | 24 79 24 20 61 78 69 73 |led the |$y$ axis|
|00001450| 20 61 75 74 6f 6d 61 74 | 69 63 61 6c 6c 79 2c 20 | automat|ically, |
|00001460| 61 6e 64 20 61 64 64 65 | 64 20 61 20 6b 65 79 20 |and adde|d a key |
|00001470| 69 6e 20 74 68 65 0d 0a | 75 70 70 65 72 2d 72 69 |in the..|upper-ri|
|00001480| 67 68 74 2d 68 61 6e 64 | 20 63 6f 72 6e 65 72 20 |ght-hand| corner |
|00001490| 28 74 68 69 73 20 6d 61 | 79 20 62 65 20 6d 6f 76 |(this ma|y be mov|
|000014a0| 65 64 20 77 69 74 68 20 | 74 68 65 20 7b 5c 74 74 |ed with |the {\tt|
|000014b0| 20 73 65 74 20 6b 65 79 | 7d 0d 0a 63 6f 6d 6d 61 | set key|}..comma|
|000014c0| 6e 64 29 2e 0d 0a 0d 0a | 54 68 69 73 20 69 73 20 |nd).....|This is |
|000014d0| 74 68 65 20 64 65 66 61 | 75 6c 74 20 6c 69 6e 65 |the defa|ult line|
|000014e0| 20 73 74 79 6c 65 20 66 | 6f 72 20 74 68 65 20 5c | style f|or the \|
|000014f0| 4c 61 54 65 58 5c 20 64 | 72 69 76 65 72 2e 20 20 |LaTeX\ d|river. |
|00001500| 42 65 63 61 75 73 65 20 | 6f 66 20 74 68 65 0d 0a |Because |of the..|
|00001510| 6c 69 6d 69 74 65 64 20 | 70 69 63 74 75 72 65 20 |limited |picture |
|00001520| 63 61 70 61 62 69 6c 69 | 74 69 65 73 20 6f 66 20 |capabili|ties of |
|00001530| 5c 4c 61 54 65 58 2c 20 | 6d 61 6e 79 20 64 6f 74 |\LaTeX, |many dot|
|00001540| 73 20 61 72 65 20 72 65 | 71 75 69 72 65 64 20 74 |s are re|quired t|
|00001550| 6f 0d 0a 61 70 70 72 6f | 78 69 6d 61 74 65 20 64 |o..appro|ximate d|
|00001560| 72 61 77 69 6e 67 20 61 | 20 73 6f 6c 69 64 20 6c |rawing a| solid l|
|00001570| 69 6e 65 2e 20 54 68 69 | 73 20 6d 61 79 20 6f 76 |ine. Thi|s may ov|
|00001580| 65 72 6c 6f 61 64 20 74 | 68 65 20 6d 65 6d 6f 72 |erload t|he memor|
|00001590| 79 20 6f 66 20 6d 61 6e | 79 0d 0a 5c 54 65 58 5c |y of man|y..\TeX\|
|000015a0| 20 69 6d 70 6c 65 6d 65 | 6e 74 61 74 69 6f 6e 73 | impleme|ntations|
|000015b0| 2e 20 54 68 65 72 65 20 | 61 72 65 20 6f 74 68 65 |. There |are othe|
|000015c0| 72 20 6c 69 6e 65 20 74 | 79 70 65 73 20 61 76 61 |r line t|ypes ava|
|000015d0| 69 6c 61 62 6c 65 20 74 | 68 61 74 20 64 72 61 77 |ilable t|hat draw|
|000015e0| 0d 0a 64 6f 74 74 65 64 | 20 6c 69 6e 65 73 20 61 |..dotted| lines a|
|000015f0| 6e 64 20 75 73 65 20 6d | 75 63 68 20 6c 65 73 73 |nd use m|uch less|
|00001600| 20 6d 65 6d 6f 72 79 2e | 20 54 68 65 20 45 45 50 | memory.| The EEP|
|00001610| 49 43 20 64 72 69 76 65 | 72 20 64 72 61 77 73 20 |IC drive|r draws |
|00001620| 73 6f 6c 69 64 0d 0a 6c | 69 6e 65 73 20 77 69 74 |solid..l|ines wit|
|00001630| 68 20 6d 75 63 68 20 6c | 65 73 73 20 6d 65 6d 6f |h much l|ess memo|
|00001640| 72 79 20 75 73 61 67 65 | 2e 0d 0a 0d 0a 5c 70 61 |ry usage|.....\pa|
|00001650| 72 61 67 72 61 70 68 7b | 45 78 61 6d 70 6c 65 20 |ragraph{|Example |
|00001660| 32 3a 7d 20 4e 6f 77 20 | 77 65 20 77 69 6c 6c 20 |2:} Now |we will |
|00001670| 65 6d 62 65 6c 6c 69 73 | 68 20 74 68 65 20 70 6c |embellis|h the pl|
|00001680| 6f 74 20 61 20 6c 69 74 | 74 6c 65 20 77 69 74 68 |ot a lit|tle with|
|00001690| 0d 0a 73 6f 6d 65 20 6c | 61 62 65 6c 73 2e 20 20 |..some l|abels. |
|000016a0| 54 68 69 73 20 69 6e 70 | 75 74 20 66 69 6c 65 20 |This inp|ut file |
|000016b0| 70 72 6f 64 75 63 65 73 | 20 46 69 67 75 72 65 7e |produces| Figure~|
|000016c0| 5c 72 65 66 7b 65 67 32 | 7d 2e 0d 0a 0d 0a 5c 73 |\ref{eg2|}.....\s|
|000016d0| 69 6e 67 6c 65 73 70 61 | 63 65 0d 0a 5c 62 65 67 |inglespa|ce..\beg|
|000016e0| 69 6e 7b 76 65 72 62 61 | 74 69 6d 7d 0d 0a 20 20 |in{verba|tim}.. |
|000016f0| 20 20 73 65 74 20 74 65 | 72 6d 69 6e 61 6c 20 6c | set te|rminal l|
|00001700| 61 74 65 78 0d 0a 20 20 | 20 20 73 65 74 20 6f 75 |atex.. | set ou|
|00001710| 74 70 75 74 20 22 65 67 | 32 2e 74 65 78 22 0d 0a |tput "eg|2.tex"..|
|00001720| 20 20 20 20 73 65 74 20 | 73 69 7a 65 20 35 2f 35 | set |size 5/5|
|00001730| 2e 2c 20 34 2f 33 2e 0d | 0a 20 20 20 20 73 65 74 |., 4/3..|. set|
|00001740| 20 66 6f 72 6d 61 74 20 | 78 79 20 22 24 25 67 24 | format |xy "$%g$|
|00001750| 22 0d 0a 20 20 20 20 73 | 65 74 20 74 69 74 6c 65 |".. s|et title|
|00001760| 20 22 54 68 69 73 20 69 | 73 20 61 20 70 6c 6f 74 | "This i|s a plot|
|00001770| 20 6f 66 20 24 79 3d 73 | 69 6e 28 78 29 24 22 0d | of $y=s|in(x)$".|
|00001780| 0a 20 20 20 20 73 65 74 | 20 78 6c 61 62 65 6c 20 |. set| xlabel |
|00001790| 22 54 68 69 73 20 69 73 | 20 74 68 65 20 24 78 24 |"This is| the $x$|
|000017a0| 20 61 78 69 73 22 0d 0a | 20 20 20 20 73 65 74 20 | axis"..| set |
|000017b0| 79 6c 61 62 65 6c 20 22 | 54 68 69 73 20 69 73 5c |ylabel "|This is\|
|000017c0| 5c 74 68 65 5c 5c 24 79 | 24 20 61 78 69 73 22 0d |\the\\$y|$ axis".|
|000017d0| 0a 20 20 20 20 70 6c 6f | 74 20 5b 30 3a 36 2e 32 |. plo|t [0:6.2|
|000017e0| 38 5d 20 5b 30 3a 31 5d | 20 73 69 6e 28 78 29 0d |8] [0:1]| sin(x).|
|000017f0| 0a 5c 65 6e 64 7b 76 65 | 72 62 61 74 69 6d 7d 0d |.\end{ve|rbatim}.|
|00001800| 0a 5c 63 75 72 72 65 6e | 74 73 70 61 63 65 0d 0a |.\curren|tspace..|
|00001810| 0d 0a 5c 62 6f 78 66 69 | 67 75 72 65 7b 68 74 62 |..\boxfi|gure{htb|
|00001820| 70 7d 7b 5c 66 75 6c 6c | 62 6f 78 77 69 64 74 68 |p}{\full|boxwidth|
|00001830| 7d 7b 0d 0a 20 20 5c 62 | 65 67 69 6e 7b 63 65 6e |}{.. \b|egin{cen|
|00001840| 74 65 72 7d 0d 0a 20 20 | 20 20 5c 69 6e 70 75 74 |ter}.. | \input|
|00001850| 7b 65 67 32 7d 0d 0a 20 | 20 5c 65 6e 64 7b 63 65 |{eg2}.. | \end{ce|
|00001860| 6e 74 65 72 7d 0d 0a 20 | 20 5c 63 61 70 74 69 6f |nter}.. | \captio|
|00001870| 6e 7b 41 20 6d 6f 72 65 | 20 66 61 6e 63 79 20 65 |n{A more| fancy e|
|00001880| 78 61 6d 70 6c 65 2e 7d | 0d 0a 20 20 5c 6c 61 62 |xample.}|.. \lab|
|00001890| 65 6c 7b 65 67 32 7d 0d | 0a 7d 0d 0a 0d 0a 57 65 |el{eg2}.|.}....We|
|000018a0| 20 68 61 76 65 20 73 70 | 65 63 69 66 69 65 64 20 | have sp|ecified |
|000018b0| 74 68 65 20 70 6c 6f 74 | 20 74 6f 20 62 65 20 35 |the plot| to be 5|
|000018c0| 20 69 6e 63 68 65 73 20 | 77 69 64 65 20 61 6e 64 | inches |wide and|
|000018d0| 20 34 20 69 6e 63 68 65 | 73 20 74 61 6c 6c 20 77 | 4 inche|s tall w|
|000018e0| 69 74 68 0d 0a 74 68 65 | 20 7b 5c 74 74 20 73 65 |ith..the| {\tt se|
|000018f0| 74 20 73 69 7a 65 7d 20 | 63 6f 6d 6d 61 6e 64 2e |t size} |command.|
|00001900| 20 54 68 69 73 20 69 73 | 20 74 68 65 20 73 69 7a | This is| the siz|
|00001910| 65 20 6f 66 20 74 68 65 | 20 61 72 65 61 20 75 73 |e of the| area us|
|00001920| 65 64 20 62 79 20 74 68 | 65 0d 0a 70 6c 6f 74 2c |ed by th|e..plot,|
|00001930| 20 7b 5c 65 6d 20 69 6e | 63 6c 75 64 69 6e 67 7d | {\em in|cluding}|
|00001940| 20 73 70 61 63 65 20 66 | 6f 72 20 74 68 65 20 6c | space f|or the l|
|00001950| 61 62 65 6c 73 2e 20 20 | 49 6e 20 74 68 65 20 66 |abels. |In the f|
|00001960| 69 72 73 74 20 65 78 61 | 6d 70 6c 65 2c 0d 0a 74 |irst exa|mple,..t|
|00001970| 68 69 73 20 73 69 7a 65 | 20 77 61 73 20 74 68 65 |his size| was the|
|00001980| 20 64 65 66 61 75 6c 74 | 20 35 20 69 6e 63 68 65 | default| 5 inche|
|00001990| 73 20 62 79 20 33 20 69 | 6e 63 68 65 73 2e 20 42 |s by 3 i|nches. B|
|000019a0| 79 20 73 70 65 63 69 66 | 79 69 6e 67 20 74 68 65 |y specif|ying the|
|000019b0| 0d 0a 73 63 61 6c 69 6e | 67 20 66 61 63 74 6f 72 |..scalin|g factor|
|000019c0| 73 20 6f 66 20 31 20 28 | 6f 72 20 35 2f 35 29 20 |s of 1 (|or 5/5) |
|000019d0| 61 6e 64 20 31 2e 33 33 | 33 33 20 28 6f 72 20 34 |and 1.33|33 (or 4|
|000019e0| 2f 33 29 2c 20 77 65 20 | 6f 62 74 61 69 6e 20 74 |/3), we |obtain t|
|000019f0| 68 65 0d 0a 64 65 73 69 | 72 65 64 20 70 6c 6f 74 |he..desi|red plot|
|00001a00| 20 73 69 7a 65 2e 20 0d | 0a 0d 0a 57 65 20 68 61 | size. .|...We ha|
|00001a10| 76 65 20 72 65 71 75 65 | 73 74 65 64 20 74 68 61 |ve reque|sted tha|
|00001a20| 74 20 74 68 65 20 66 6f | 72 6d 61 74 20 75 73 65 |t the fo|rmat use|
|00001a30| 64 20 62 79 20 74 68 65 | 20 24 78 24 2d 20 61 6e |d by the| $x$- an|
|00001a40| 64 20 24 79 24 2d 61 78 | 69 73 20 74 69 63 0d 0a |d $y$-ax|is tic..|
|00001a50| 6d 61 72 6b 20 6c 61 62 | 65 6c 73 20 62 65 20 69 |mark lab|els be i|
|00001a60| 6e 20 5c 4c 61 54 65 58 | 5c 20 6d 61 74 68 20 6d |n \LaTeX|\ math m|
|00001a70| 6f 64 65 2e 20 54 68 69 | 73 20 6d 61 6b 65 73 20 |ode. Thi|s makes |
|00001a80| 74 68 65 20 6c 61 62 65 | 6c 73 20 6c 6f 6f 6b 20 |the labe|ls look |
|00001a90| 61 0d 0a 6c 69 74 74 6c | 65 20 62 65 74 74 65 72 |a..littl|e better|
|00001aa0| 2e 20 54 68 65 20 64 65 | 66 61 75 6c 74 20 69 73 |. The de|fault is|
|00001ab0| 20 5c 76 65 72 62 2b 73 | 65 74 20 66 6f 72 6d 61 | \verb+s|et forma|
|00001ac0| 74 20 78 79 20 22 25 67 | 22 2b 2e 20 54 68 65 20 |t xy "%g|"+. The |
|00001ad0| 5c 76 65 72 62 2b 25 67 | 2b 0d 0a 72 65 70 72 65 |\verb+%g|+..repre|
|00001ae0| 73 65 6e 74 73 20 74 68 | 65 20 67 65 6e 65 72 61 |sents th|e genera|
|00001af0| 6c 2d 70 75 72 70 6f 73 | 65 20 66 6c 6f 61 74 69 |l-purpos|e floati|
|00001b00| 6e 67 20 70 6f 69 6e 74 | 20 66 6f 72 6d 61 74 74 |ng point| formatt|
|00001b10| 69 6e 67 20 73 70 65 63 | 69 66 69 63 61 74 69 6f |ing spec|ificatio|
|00001b20| 6e 0d 0a 66 6f 72 20 74 | 68 65 20 7b 5c 74 74 20 |n..for t|he {\tt |
|00001b30| 70 72 69 6e 74 66 7d 20 | 66 75 6e 63 74 69 6f 6e |printf} |function|
|00001b40| 20 69 6e 20 43 2e 20 41 | 6e 79 20 76 61 6c 69 64 | in C. A|ny valid|
|00001b50| 20 66 6c 6f 61 74 69 6e | 67 2d 70 6f 69 6e 74 0d | floatin|g-point.|
|00001b60| 0a 66 6f 72 6d 61 74 74 | 69 6e 67 20 73 70 65 63 |.formatt|ing spec|
|00001b70| 69 66 69 63 61 74 69 6f | 6e 2c 20 6f 72 20 5c 4c |ificatio|n, or \L|
|00001b80| 61 54 65 58 5c 20 63 6f | 6d 6d 61 6e 64 2c 20 69 |aTeX\ co|mmand, i|
|00001b90| 73 20 61 6c 6c 6f 77 65 | 64 20 69 6e 20 74 68 65 |s allowe|d in the|
|00001ba0| 0d 0a 66 6f 72 6d 61 74 | 2e 0d 0a 0d 0a 41 20 74 |..format|.....A t|
|00001bb0| 69 74 6c 65 20 66 6f 72 | 20 74 68 65 20 70 6c 6f |itle for| the plo|
|00001bc0| 74 20 61 6e 64 20 6c 61 | 62 65 6c 73 20 66 6f 72 |t and la|bels for|
|00001bd0| 20 74 68 65 20 61 78 65 | 73 20 77 65 72 65 20 73 | the axe|s were s|
|00001be0| 65 74 20 75 70 20 69 6e | 20 74 68 65 20 6e 65 78 |et up in| the nex|
|00001bf0| 74 0d 0a 74 68 72 65 65 | 20 63 6f 6d 6d 61 6e 64 |t..three| command|
|00001c00| 73 2e 20 20 4e 6f 74 65 | 20 74 68 61 74 20 74 68 |s. Note| that th|
|00001c10| 65 79 20 61 72 65 20 70 | 72 6f 63 65 73 73 65 64 |ey are p|rocessed|
|00001c20| 20 62 79 20 5c 4c 61 54 | 65 58 5c 20 61 6e 64 20 | by \LaT|eX\ and |
|00001c30| 73 6f 20 6d 61 79 0d 0a | 68 61 76 65 20 6d 61 74 |so may..|have mat|
|00001c40| 68 20 6d 6f 64 65 20 61 | 6e 64 20 6f 74 68 65 72 |h mode a|nd other|
|00001c50| 20 73 79 6d 62 6f 6c 73 | 20 69 6e 20 74 68 65 6d | symbols| in them|
|00001c60| 2e 20 54 68 65 20 79 6c | 61 62 65 6c 20 6d 61 79 |. The yl|abel may|
|00001c70| 20 68 61 76 65 20 6d 75 | 6c 74 69 70 6c 65 0d 0a | have mu|ltiple..|
|00001c80| 6c 69 6e 65 73 2c 20 64 | 65 6c 69 6e 65 61 74 65 |lines, d|elineate|
|00001c90| 64 20 77 69 74 68 20 5c | 76 65 72 62 2b 5c 5c 2b |d with \|verb+\\+|
|00001ca0| 2e 20 20 4f 6e 63 65 20 | 74 68 65 73 65 20 61 72 |. Once |these ar|
|00001cb0| 65 20 73 65 74 20 75 70 | 2c 20 74 68 65 79 20 77 |e set up|, they w|
|00001cc0| 69 6c 6c 20 62 65 0d 0a | 75 73 65 64 20 66 6f 72 |ill be..|used for|
|00001cd0| 20 61 6c 6c 20 73 75 62 | 73 65 71 75 65 6e 74 20 | all sub|sequent |
|00001ce0| 70 6c 6f 74 20 63 6f 6d | 6d 61 6e 64 73 20 75 6e |plot com|mands un|
|00001cf0| 74 69 6c 20 74 68 65 79 | 20 61 72 65 20 63 68 61 |til they| are cha|
|00001d00| 6e 67 65 64 2e 20 54 68 | 65 73 65 0d 0a 6c 61 62 |nged. Th|ese..lab|
|00001d10| 65 6c 73 20 61 72 65 20 | 61 6c 73 6f 20 73 75 70 |els are |also sup|
|00001d20| 70 6f 72 74 65 64 20 62 | 79 20 74 68 65 20 6f 74 |ported b|y the ot|
|00001d30| 68 65 72 20 74 65 72 6d | 69 6e 61 6c 20 74 79 70 |her term|inal typ|
|00001d40| 65 73 2c 20 62 75 74 20 | 28 6f 66 20 63 6f 75 72 |es, but |(of cour|
|00001d50| 73 65 29 0d 0a 61 6e 79 | 20 5c 4c 61 54 65 58 5c |se)..any| \LaTeX\|
|00001d60| 20 63 6f 64 65 20 69 6e | 20 74 68 65 20 73 74 72 | code in| the str|
|00001d70| 69 6e 67 20 77 69 6c 6c | 20 6e 6f 74 20 62 65 20 |ing will| not be |
|00001d80| 69 6e 74 65 72 70 72 65 | 74 65 64 2e 20 57 65 20 |interpre|ted. We |
|00001d90| 68 61 76 65 20 61 6c 73 | 6f 0d 0a 64 65 66 69 6e |have als|o..defin|
|00001da0| 65 64 20 74 68 65 20 72 | 61 6e 67 65 20 6f 66 20 |ed the r|ange of |
|00001db0| 62 6f 74 68 20 24 78 24 | 20 28 6e 6f 77 20 24 5b |both $x$| (now $[|
|00001dc0| 30 2c 32 5c 70 69 5d 24 | 29 20 61 6e 64 20 24 79 |0,2\pi]$|) and $y|
|00001dd0| 24 20 28 68 65 72 65 20 | 24 5b 30 2c 31 5d 24 29 |$ (here |$[0,1]$)|
|00001de0| 2e 0d 0a 0d 0a 53 6f 20 | 66 61 72 20 77 65 20 68 |.....So |far we h|
|00001df0| 61 76 65 20 70 6c 6f 74 | 74 65 64 20 6f 6e 65 20 |ave plot|ted one |
|00001e00| 63 75 72 76 65 2c 20 24 | 79 3d 5c 73 69 6e 28 78 |curve, $|y=\sin(x|
|00001e10| 29 24 2c 20 6f 6e 20 6f | 6e 65 20 70 6c 6f 74 2e |)$, on o|ne plot.|
|00001e20| 20 49 6e 0d 0a 47 4e 55 | 50 4c 4f 54 2c 20 65 61 | In..GNU|PLOT, ea|
|00001e30| 63 68 20 7b 5c 74 74 20 | 70 6c 6f 74 7d 20 63 6f |ch {\tt |plot} co|
|00001e40| 6d 6d 61 6e 64 20 67 65 | 6e 65 72 61 74 65 73 20 |mmand ge|nerates |
|00001e50| 61 20 6e 65 77 20 70 6c | 6f 74 2e 20 49 66 20 74 |a new pl|ot. If t|
|00001e60| 68 65 20 6f 75 74 70 75 | 74 0d 0a 69 73 20 74 6f |he outpu|t..is to|
|00001e70| 20 61 20 73 63 72 65 65 | 6e 2c 20 74 68 65 20 73 | a scree|n, the s|
|00001e80| 63 72 65 65 6e 20 69 73 | 20 63 6c 65 61 72 65 64 |creen is| cleared|
|00001e90| 2e 20 49 66 20 74 6f 20 | 61 20 70 72 69 6e 74 65 |. If to |a printe|
|00001ea0| 72 2c 20 61 20 6e 65 77 | 20 70 61 67 65 20 69 73 |r, a new| page is|
|00001eb0| 0d 0a 70 72 6f 64 75 63 | 65 64 2e 20 49 6e 20 74 |..produc|ed. In t|
|00001ec0| 68 65 20 7b 5c 74 74 20 | 6c 61 74 65 78 7d 20 63 |he {\tt |latex} c|
|00001ed0| 61 73 65 2c 20 61 20 6e | 65 77 20 70 69 63 74 75 |ase, a n|ew pictu|
|00001ee0| 72 65 20 69 73 20 73 74 | 61 72 74 65 64 2e 20 49 |re is st|arted. I|
|00001ef0| 74 20 69 73 20 6e 6f 74 | 0d 0a 6c 69 6b 65 6c 79 |t is not|..likely|
|00001f00| 20 74 68 61 74 20 5c 4c | 61 54 65 58 5c 20 75 73 | that \L|aTeX\ us|
|00001f10| 65 72 73 20 77 69 6c 6c | 20 77 61 6e 74 20 74 68 |ers will| want th|
|00001f20| 69 73 20 74 6f 20 68 61 | 70 70 65 6e 2c 20 73 6f |is to ha|ppen, so|
|00001f30| 20 67 65 6e 65 72 61 6c | 6c 79 20 65 61 63 68 0d | general|ly each.|
|00001f40| 0a 70 6c 6f 74 20 68 61 | 73 20 69 74 73 20 6f 77 |.plot ha|s its ow|
|00001f50| 6e 20 69 6e 70 75 74 20 | 66 69 6c 65 20 61 6e 64 |n input |file and|
|00001f60| 20 69 73 20 6b 65 70 74 | 20 69 6e 20 61 20 73 65 | is kept| in a se|
|00001f70| 70 61 72 61 74 65 20 6f | 75 74 70 75 74 20 28 7b |parate o|utput ({|
|00001f80| 5c 74 74 0d 0a 2e 74 65 | 78 7d 29 20 66 69 6c 65 |\tt...te|x}) file|
|00001f90| 20 66 6f 72 20 69 6e 63 | 6c 75 73 69 6f 6e 20 61 | for inc|lusion a|
|00001fa0| 74 20 64 69 66 66 65 72 | 65 6e 74 20 70 6c 61 63 |t differ|ent plac|
|00001fb0| 65 73 20 69 6e 20 74 68 | 65 20 64 6f 63 75 6d 65 |es in th|e docume|
|00001fc0| 6e 74 2e 0d 0a 0d 0a 5c | 70 61 72 61 67 72 61 70 |nt.....\|paragrap|
|00001fd0| 68 7b 45 78 61 6d 70 6c | 65 20 33 3a 7d 20 54 6f |h{Exampl|e 3:} To|
|00001fe0| 20 70 6c 61 63 65 20 6d | 6f 72 65 20 74 68 61 6e | place m|ore than|
|00001ff0| 20 6f 6e 65 20 63 75 72 | 76 65 20 6f 6e 20 61 20 | one cur|ve on a |
|00002000| 70 6c 6f 74 2c 20 75 73 | 65 20 6f 6e 65 0d 0a 7b |plot, us|e one..{|
|00002010| 5c 74 74 20 70 6c 6f 74 | 7d 20 73 74 61 74 65 6d |\tt plot|} statem|
|00002020| 65 6e 74 20 61 6e 64 20 | 73 65 70 61 72 61 74 65 |ent and |separate|
|00002030| 20 74 68 65 20 64 65 73 | 63 72 69 70 74 69 6f 6e | the des|cription|
|00002040| 20 6f 66 20 65 61 63 68 | 20 63 75 72 76 65 20 62 | of each| curve b|
|00002050| 79 20 61 0d 0a 63 6f 6d | 6d 61 2e 20 49 6e 20 6f |y a..com|ma. In o|
|00002060| 75 72 20 6e 65 78 74 20 | 65 78 61 6d 70 6c 65 2c |ur next |example,|
|00002070| 20 77 65 20 77 69 6c 6c | 20 70 6c 6f 74 20 62 6f | we will| plot bo|
|00002080| 74 68 20 61 20 66 75 6e | 63 74 69 6f 6e 20 61 6e |th a fun|ction an|
|00002090| 64 20 61 20 64 61 74 61 | 0d 0a 66 69 6c 65 20 6f |d a data|..file o|
|000020a0| 6e 20 74 68 65 20 73 61 | 6d 65 20 70 6c 6f 74 2e |n the sa|me plot.|
|000020b0| 20 54 68 69 73 20 70 6c | 6f 74 20 69 73 20 73 68 | This pl|ot is sh|
|000020c0| 6f 77 6e 20 69 6e 20 46 | 69 67 75 72 65 7e 5c 72 |own in F|igure~\r|
|000020d0| 65 66 7b 65 67 33 7d 2e | 0d 0a 0d 0a 5c 73 69 6e |ef{eg3}.|....\sin|
|000020e0| 67 6c 65 73 70 61 63 65 | 0d 0a 5c 62 65 67 69 6e |glespace|..\begin|
|000020f0| 7b 76 65 72 62 61 74 69 | 6d 7d 0d 0a 20 20 20 20 |{verbati|m}.. |
|00002100| 73 65 74 20 74 65 72 6d | 69 6e 61 6c 20 6c 61 74 |set term|inal lat|
|00002110| 65 78 0d 0a 20 20 20 20 | 73 65 74 20 6f 75 74 70 |ex.. |set outp|
|00002120| 75 74 20 22 65 67 33 2e | 74 65 78 22 0d 0a 20 20 |ut "eg3.|tex".. |
|00002130| 20 20 73 65 74 20 66 6f | 72 6d 61 74 20 78 79 20 | set fo|rmat xy |
|00002140| 22 24 25 67 24 22 0d 0a | 20 20 20 20 73 65 74 20 |"$%g$"..| set |
|00002150| 74 69 74 6c 65 20 22 54 | 68 69 73 20 69 73 20 61 |title "T|his is a|
|00002160| 6e 6f 74 68 65 72 20 70 | 6c 6f 74 22 0d 0a 20 20 |nother p|lot".. |
|00002170| 20 20 73 65 74 20 78 6c | 61 62 65 6c 20 22 24 78 | set xl|abel "$x|
|00002180| 24 20 61 78 69 73 22 0d | 0a 20 20 20 20 73 65 74 |$ axis".|. set|
|00002190| 20 79 6c 61 62 65 6c 20 | 22 24 79 24 20 61 78 69 | ylabel |"$y$ axi|
|000021a0| 73 22 0d 0a 20 20 20 20 | 73 65 74 20 6b 65 79 20 |s".. |set key |
|000021b0| 31 35 2c 2d 31 30 0d 0a | 20 20 20 20 70 6c 6f 74 |15,-10..| plot|
|000021c0| 20 78 20 77 69 74 68 20 | 6c 69 6e 65 73 2c 20 22 | x with |lines, "|
|000021d0| 65 67 33 2e 64 61 74 22 | 20 77 69 74 68 20 6c 69 |eg3.dat"| with li|
|000021e0| 6e 65 73 70 6f 69 6e 74 | 73 0d 0a 5c 65 6e 64 7b |nespoint|s..\end{|
|000021f0| 76 65 72 62 61 74 69 6d | 7d 0d 0a 5c 63 75 72 72 |verbatim|}..\curr|
|00002200| 65 6e 74 73 70 61 63 65 | 0d 0a 0d 0a 5c 62 6f 78 |entspace|....\box|
|00002210| 66 69 67 75 72 65 7b 68 | 74 62 70 7d 7b 5c 66 75 |figure{h|tbp}{\fu|
|00002220| 6c 6c 62 6f 78 77 69 64 | 74 68 7d 7b 0d 0a 20 20 |llboxwid|th}{.. |
|00002230| 5c 62 65 67 69 6e 7b 63 | 65 6e 74 65 72 7d 0d 0a |\begin{c|enter}..|
|00002240| 20 20 20 20 5c 69 6e 70 | 75 74 7b 65 67 33 7d 0d | \inp|ut{eg3}.|
|00002250| 0a 20 20 5c 65 6e 64 7b | 63 65 6e 74 65 72 7d 0d |. \end{|center}.|
|00002260| 0a 20 20 5c 63 61 70 74 | 69 6f 6e 7b 41 6e 20 65 |. \capt|ion{An e|
|00002270| 78 61 6d 70 6c 65 20 77 | 69 74 68 20 74 77 6f 20 |xample w|ith two |
|00002280| 63 75 72 76 65 73 20 6f | 6e 20 74 68 65 20 73 61 |curves o|n the sa|
|00002290| 6d 65 20 70 6c 6f 74 2e | 7d 0d 0a 20 20 5c 6c 61 |me plot.|}.. \la|
|000022a0| 62 65 6c 7b 65 67 33 7d | 0d 0a 7d 0d 0a 0d 0a 48 |bel{eg3}|..}....H|
|000022b0| 65 72 65 20 79 6f 75 20 | 77 69 6c 6c 20 73 65 65 |ere you |will see|
|000022c0| 20 74 68 61 74 20 74 68 | 65 20 24 78 24 20 72 61 | that th|e $x$ ra|
|000022d0| 6e 67 65 20 77 61 73 20 | 6e 6f 74 20 73 70 65 63 |nge was |not spec|
|000022e0| 69 66 69 65 64 2e 20 54 | 68 65 20 24 78 24 20 72 |ified. T|he $x$ r|
|000022f0| 61 6e 67 65 0d 0a 69 73 | 20 64 65 74 65 72 6d 69 |ange..is| determi|
|00002300| 6e 65 64 20 61 75 74 6f | 6d 61 74 69 63 61 6c 6c |ned auto|maticall|
|00002310| 79 2c 20 75 6e 6c 65 73 | 73 20 73 70 65 63 69 66 |y, unles|s specif|
|00002320| 69 65 64 20 62 79 20 74 | 68 65 20 75 73 65 72 2e |ied by t|he user.|
|00002330| 20 20 49 6e 0d 0a 74 68 | 69 73 20 63 61 73 65 2c | In..th|is case,|
|00002340| 20 69 74 20 69 73 20 64 | 65 66 69 6e 65 64 20 62 | it is d|efined b|
|00002350| 79 20 74 68 65 20 72 61 | 6e 67 65 20 6f 66 20 74 |y the ra|nge of t|
|00002360| 68 65 20 64 61 74 61 20 | 66 69 6c 65 0d 0a 5c 76 |he data |file..\v|
|00002370| 65 72 62 2b 22 65 67 33 | 2e 64 61 74 22 2b 2e 20 |erb+"eg3|.dat"+. |
|00002380| 54 68 65 20 66 75 6e 63 | 74 69 6f 6e 20 69 73 20 |The func|tion is |
|00002390| 70 6c 6f 74 74 65 64 20 | 6f 76 65 72 20 74 68 65 |plotted |over the|
|000023a0| 20 73 61 6d 65 20 72 61 | 6e 67 65 2e 20 49 66 20 | same ra|nge. If |
|000023b0| 6e 6f 0d 0a 64 61 74 61 | 20 66 69 6c 65 73 20 6f |no..data| files o|
|000023c0| 72 20 24 78 24 20 72 61 | 6e 67 65 20 61 72 65 20 |r $x$ ra|nge are |
|000023d0| 73 75 70 70 6c 69 65 64 | 2c 20 74 68 65 20 64 65 |supplied|, the de|
|000023e0| 66 61 75 6c 74 20 72 61 | 6e 67 65 20 6f 66 20 24 |fault ra|nge of $|
|000023f0| 5b 2d 31 30 3a 31 30 5d | 24 0d 0a 69 73 20 75 73 |[-10:10]|$..is us|
|00002400| 65 64 2e 20 57 65 20 68 | 61 76 65 20 61 6c 73 6f |ed. We h|ave also|
|00002410| 20 6d 6f 76 65 64 20 74 | 68 65 20 6b 65 79 20 74 | moved t|he key t|
|00002420| 6f 20 61 20 64 69 66 66 | 65 72 65 6e 74 20 70 6f |o a diff|erent po|
|00002430| 73 69 74 69 6f 6e 2e 20 | 20 54 68 65 0d 0a 66 75 |sition. | The..fu|
|00002440| 6e 63 74 69 6f 6e 20 24 | 79 3d 78 24 20 69 73 20 |nction $|y=x$ is |
|00002450| 70 6c 6f 74 74 65 64 20 | 60 60 77 69 74 68 20 6c |plotted |``with l|
|00002460| 69 6e 65 73 27 27 2c 20 | 77 68 69 63 68 20 69 73 |ines'', |which is|
|00002470| 20 74 68 65 20 64 65 66 | 61 75 6c 74 20 70 6c 6f | the def|ault plo|
|00002480| 74 0d 0a 73 74 79 6c 65 | 20 66 6f 72 20 66 75 6e |t..style| for fun|
|00002490| 63 74 69 6f 6e 73 2c 20 | 61 6e 64 20 69 73 20 73 |ctions, |and is s|
|000024a0| 68 6f 77 6e 20 68 65 72 | 65 20 74 6f 20 69 6c 6c |hown her|e to ill|
|000024b0| 75 73 74 72 61 74 65 20 | 74 68 65 20 70 6c 6f 74 |ustrate |the plot|
|000024c0| 20 73 74 79 6c 65 0d 0a | 6f 70 74 69 6f 6e 2e 20 | style..|option. |
|000024d0| 20 54 68 65 20 64 61 74 | 61 20 66 69 6c 65 20 7b | The dat|a file {|
|000024e0| 5c 74 74 20 65 67 33 2e | 64 61 74 7d 20 69 73 20 |\tt eg3.|dat} is |
|000024f0| 70 6c 6f 74 74 65 64 20 | 77 69 74 68 20 73 74 79 |plotted |with sty|
|00002500| 6c 65 20 7b 5c 74 74 0d | 0a 6c 69 6e 65 73 70 6f |le {\tt.|.linespo|
|00002510| 69 6e 74 73 7d 2c 20 61 | 20 73 74 79 6c 65 20 6c |ints}, a| style l|
|00002520| 69 6b 65 20 7b 5c 74 74 | 20 6c 69 6e 65 73 7d 20 |ike {\tt| lines} |
|00002530| 74 68 61 74 20 61 6c 73 | 6f 20 70 6c 6f 74 73 20 |that als|o plots |
|00002540| 61 20 73 79 6d 62 6f 6c | 20 61 74 0d 0a 65 61 63 |a symbol| at..eac|
|00002550| 68 20 64 61 74 61 20 70 | 6f 69 6e 74 2e 0d 0a 0d |h data p|oint....|
|00002560| 0a 54 68 65 72 65 20 69 | 73 20 61 20 73 74 79 6c |.There i|s a styl|
|00002570| 65 20 63 61 6c 6c 65 64 | 20 7b 5c 74 74 20 70 6f |e called| {\tt po|
|00002580| 69 6e 74 73 7d 20 74 68 | 61 74 20 6f 6e 6c 79 20 |ints} th|at only |
|00002590| 70 6c 6f 74 73 20 74 68 | 65 20 73 79 6d 62 6f 6c |plots th|e symbol|
|000025a0| 73 20 61 74 0d 0a 64 61 | 74 61 20 70 6f 69 6e 74 |s at..da|ta point|
|000025b0| 73 2c 20 61 6e 64 20 61 | 6e 6f 74 68 65 72 20 63 |s, and a|nother c|
|000025c0| 61 6c 6c 65 64 20 7b 5c | 74 74 20 64 6f 74 73 7d |alled {\|tt dots}|
|000025d0| 20 74 68 61 74 20 70 6c | 6f 74 73 20 61 20 74 69 | that pl|ots a ti|
|000025e0| 6e 79 20 64 6f 74 20 66 | 6f 72 0d 0a 65 61 63 68 |ny dot f|or..each|
|000025f0| 20 64 61 74 61 20 70 6f | 69 6e 74 2e 20 20 54 68 | data po|int. Th|
|00002600| 65 20 7b 5c 74 74 20 70 | 6f 69 6e 74 73 7d 20 61 |e {\tt p|oints} a|
|00002610| 6e 64 20 7b 5c 74 74 20 | 6c 69 6e 65 73 70 6f 69 |nd {\tt |linespoi|
|00002620| 6e 74 73 7d 20 73 74 79 | 6c 65 73 0d 0a 70 72 6f |nts} sty|les..pro|
|00002630| 64 75 63 65 20 61 20 64 | 69 66 66 65 72 65 6e 74 |duce a d|ifferent|
|00002640| 20 70 6f 69 6e 74 20 73 | 79 6d 62 6f 6c 20 66 6f | point s|ymbol fo|
|00002650| 72 20 65 61 63 68 20 63 | 75 72 76 65 20 6f 6e 20 |r each c|urve on |
|00002660| 74 68 65 20 70 6c 6f 74 | 20 28 66 6f 72 20 75 70 |the plot| (for up|
|00002670| 20 74 6f 0d 0a 74 77 65 | 6c 76 65 20 73 79 6d 62 | to..twe|lve symb|
|00002680| 6f 6c 73 2c 20 61 66 74 | 65 72 20 77 68 69 63 68 |ols, aft|er which|
|00002690| 20 74 68 65 79 20 61 72 | 65 20 72 65 2d 75 73 65 | they ar|e re-use|
|000026a0| 64 29 2e 20 54 68 65 20 | 7b 5c 74 74 20 6c 69 6e |d). The |{\tt lin|
|000026b0| 65 73 7d 20 61 6e 64 0d | 0a 7b 5c 74 74 20 6c 69 |es} and.|.{\tt li|
|000026c0| 6e 65 73 70 6f 69 6e 74 | 73 7d 20 73 74 79 6c 65 |nespoint|s} style|
|000026d0| 73 20 75 73 65 20 61 20 | 64 69 66 66 65 72 65 6e |s use a |differen|
|000026e0| 74 20 6c 69 6e 65 20 73 | 74 79 6c 65 20 66 6f 72 |t line s|tyle for|
|000026f0| 20 65 61 63 68 20 63 75 | 72 76 65 20 6f 6e 0d 0a | each cu|rve on..|
|00002700| 74 68 65 20 70 6c 6f 74 | 20 28 69 6e 20 74 68 69 |the plot| (in thi|
|00002710| 73 20 65 78 61 6d 70 6c | 65 20 74 68 65 20 64 6f |s exampl|e the do|
|00002720| 74 73 20 68 61 76 65 20 | 64 69 66 66 65 72 65 6e |ts have |differen|
|00002730| 74 20 73 70 61 63 69 6e | 67 29 2e 20 46 69 6e 61 |t spacin|g). Fina|
|00002740| 6c 6c 79 2c 0d 0a 74 68 | 65 20 73 74 79 6c 65 20 |lly,..th|e style |
|00002750| 7b 5c 74 74 20 69 6d 70 | 75 6c 73 65 73 7d 20 64 |{\tt imp|ulses} d|
|00002760| 72 61 77 73 20 61 20 70 | 65 72 70 65 6e 64 69 63 |raws a p|erpendic|
|00002770| 75 6c 61 72 20 66 72 6f | 6d 20 65 61 63 68 20 70 |ular fro|m each p|
|00002780| 6f 69 6e 74 20 74 6f 20 | 74 68 65 0d 0a 24 78 24 |oint to |the..$x$|
|00002790| 2d 61 78 69 73 2e 0d 0a | 0d 0a 5c 70 61 72 61 67 |-axis...|..\parag|
|000027a0| 72 61 70 68 7b 45 78 61 | 6d 70 6c 65 20 34 3a 7d |raph{Exa|mple 4:}|
|000027b0| 20 49 6e 20 74 68 65 20 | 61 62 6f 76 65 20 70 6c | In the |above pl|
|000027c0| 6f 74 73 20 6f 66 20 24 | 5c 73 69 6e 28 78 29 24 |ots of $|\sin(x)$|
|000027d0| 2c 20 69 74 20 77 6f 75 | 6c 64 20 6d 61 6b 65 0d |, it wou|ld make.|
|000027e0| 0a 6d 6f 72 65 20 73 65 | 6e 73 65 20 74 6f 20 6c |.more se|nse to l|
|000027f0| 61 62 65 6c 20 74 68 65 | 20 61 78 69 73 20 69 6e |abel the| axis in|
|00002800| 20 75 6e 69 74 73 20 6f | 66 20 24 5c 70 69 24 2e | units o|f $\pi$.|
|00002810| 20 54 68 65 20 70 6f 73 | 69 74 69 6f 6e 20 61 6e | The pos|ition an|
|00002820| 64 0d 0a 6c 61 62 65 6c | 73 20 6f 66 20 74 68 65 |d..label|s of the|
|00002830| 20 74 69 63 20 6c 61 62 | 65 6c 73 20 6d 61 79 20 | tic lab|els may |
|00002840| 62 65 20 73 70 65 63 69 | 66 69 65 64 20 62 79 20 |be speci|fied by |
|00002850| 74 68 65 20 75 73 65 72 | 2c 20 77 69 74 68 20 74 |the user|, with t|
|00002860| 68 65 20 7b 5c 74 74 0d | 0a 73 65 74 20 78 74 69 |he {\tt.|.set xti|
|00002870| 63 73 7d 20 61 6e 64 20 | 7b 5c 74 74 20 73 65 74 |cs} and |{\tt set|
|00002880| 20 79 74 69 63 73 7d 20 | 63 6f 6d 6d 61 6e 64 73 | ytics} |commands|
|00002890| 2e 20 54 68 69 73 20 69 | 73 20 64 65 6d 6f 6e 73 |. This i|s demons|
|000028a0| 74 72 61 74 65 64 20 62 | 79 0d 0a 74 68 65 20 66 |trated b|y..the f|
|000028b0| 6f 6c 6c 6f 77 69 6e 67 | 20 65 78 61 6d 70 6c 65 |ollowing| example|
|000028c0| 2c 20 73 68 6f 77 6e 20 | 69 6e 20 46 69 67 75 72 |, shown |in Figur|
|000028d0| 65 7e 5c 72 65 66 7b 65 | 67 34 7d 2e 0d 0a 0d 0a |e~\ref{e|g4}.....|
|000028e0| 5c 73 69 6e 67 6c 65 73 | 70 61 63 65 0d 0a 5c 62 |\singles|pace..\b|
|000028f0| 65 67 69 6e 7b 76 65 72 | 62 61 74 69 6d 7d 0d 0a |egin{ver|batim}..|
|00002900| 20 20 20 20 73 65 74 20 | 74 65 72 6d 69 6e 61 6c | set |terminal|
|00002910| 20 6c 61 74 65 78 0d 0a | 20 20 20 20 73 65 74 20 | latex..| set |
|00002920| 6f 75 74 70 75 74 20 22 | 65 67 34 2e 74 65 78 22 |output "|eg4.tex"|
|00002930| 0d 0a 20 20 20 20 73 65 | 74 20 66 6f 72 6d 61 74 |.. se|t format|
|00002940| 20 79 20 22 24 25 67 24 | 22 0d 0a 20 20 20 20 73 | y "$%g$|".. s|
|00002950| 65 74 20 66 6f 72 6d 61 | 74 20 78 20 22 24 25 2e |et forma|t x "$%.|
|00002960| 32 66 24 22 0d 0a 20 20 | 20 20 73 65 74 20 74 69 |2f$".. | set ti|
|00002970| 74 6c 65 20 22 54 68 69 | 73 20 69 73 20 24 5c 73 |tle "Thi|s is $\s|
|00002980| 69 6e 28 78 29 24 22 0d | 0a 20 20 20 20 73 65 74 |in(x)$".|. set|
|00002990| 20 78 6c 61 62 65 6c 20 | 22 54 68 69 73 20 69 73 | xlabel |"This is|
|000029a0| 20 74 68 65 20 24 78 24 | 20 61 78 69 73 22 0d 0a | the $x$| axis"..|
|000029b0| 20 20 20 20 73 65 74 20 | 79 6c 61 62 65 6c 20 22 | set |ylabel "|
|000029c0| 24 5c 73 69 6e 28 78 29 | 24 22 0d 0a 20 20 20 20 |$\sin(x)|$".. |
|000029d0| 73 65 74 20 6e 6f 6b 65 | 79 0d 0a 20 20 20 20 73 |set noke|y.. s|
|000029e0| 65 74 20 78 74 69 63 73 | 20 2d 70 69 2c 20 70 69 |et xtics| -pi, pi|
|000029f0| 2f 34 0d 0a 20 20 20 20 | 70 6c 6f 74 20 5b 2d 70 |/4.. |plot [-p|
|00002a00| 69 3a 70 69 5d 20 5b 2d | 31 3a 31 5d 20 73 69 6e |i:pi] [-|1:1] sin|
|00002a10| 28 78 29 0d 0a 5c 65 6e | 64 7b 76 65 72 62 61 74 |(x)..\en|d{verbat|
|00002a20| 69 6d 7d 0d 0a 5c 63 75 | 72 72 65 6e 74 73 70 61 |im}..\cu|rrentspa|
|00002a30| 63 65 0d 0a 0d 0a 5c 62 | 6f 78 66 69 67 75 72 65 |ce....\b|oxfigure|
|00002a40| 7b 68 74 62 70 7d 7b 5c | 66 75 6c 6c 62 6f 78 77 |{htbp}{\|fullboxw|
|00002a50| 69 64 74 68 7d 7b 0d 0a | 20 20 5c 62 65 67 69 6e |idth}{..| \begin|
|00002a60| 7b 63 65 6e 74 65 72 7d | 0d 0a 20 20 20 20 5c 69 |{center}|.. \i|
|00002a70| 6e 70 75 74 7b 65 67 34 | 7d 0d 0a 20 20 5c 65 6e |nput{eg4|}.. \en|
|00002a80| 64 7b 63 65 6e 74 65 72 | 7d 0d 0a 20 20 5c 63 61 |d{center|}.. \ca|
|00002a90| 70 74 69 6f 6e 7b 41 6e | 20 65 78 61 6d 70 6c 65 |ption{An| example|
|00002aa0| 20 6f 66 20 74 68 65 20 | 7b 5c 74 74 20 73 65 74 | of the |{\tt set|
|00002ab0| 20 78 74 69 63 73 7d 20 | 63 6f 6d 6d 61 6e 64 2e | xtics} |command.|
|00002ac0| 7d 0d 0a 20 20 5c 6c 61 | 62 65 6c 7b 65 67 34 7d |}.. \la|bel{eg4}|
|00002ad0| 0d 0a 7d 0d 0a 0d 0a 53 | 69 6e 63 65 20 7b 5c 74 |..}....S|ince {\t|
|00002ae0| 74 20 70 69 7d 20 69 73 | 20 61 20 70 72 65 64 65 |t pi} is| a prede|
|00002af0| 66 69 6e 65 64 20 76 61 | 72 69 61 62 6c 65 20 69 |fined va|riable i|
|00002b00| 6e 20 47 4e 55 50 4c 4f | 54 2c 20 77 65 20 63 61 |n GNUPLO|T, we ca|
|00002b10| 6e 20 75 73 65 20 69 74 | 0d 0a 61 6e 79 77 68 65 |n use it|..anywhe|
|00002b20| 72 65 20 77 65 20 6d 61 | 79 20 75 73 65 20 61 6e |re we ma|y use an|
|00002b30| 20 65 78 70 72 65 73 73 | 69 6f 6e 2e 20 54 68 65 | express|ion. The|
|00002b40| 20 7b 5c 74 74 20 73 65 | 74 20 78 74 69 63 73 7d | {\tt se|t xtics}|
|00002b50| 20 63 6f 6d 6d 61 6e 64 | 20 68 65 72 65 0d 0a 73 | command| here..s|
|00002b60| 70 65 63 69 66 69 65 73 | 20 74 68 61 74 20 74 68 |pecifies| that th|
|00002b70| 65 20 74 69 63 73 20 6f | 6e 20 74 68 65 20 24 78 |e tics o|n the $x|
|00002b80| 24 20 61 78 69 73 20 73 | 74 61 72 74 20 61 74 20 |$ axis s|tart at |
|00002b90| 24 2d 5c 70 69 24 20 61 | 6e 64 20 69 6e 63 72 65 |$-\pi$ a|nd incre|
|00002ba0| 6d 65 6e 74 0d 0a 62 79 | 20 24 5c 70 69 2f 34 24 |ment..by| $\pi/4$|
|00002bb0| 2e 20 53 69 6e 63 65 20 | 6e 6f 20 65 6e 64 20 70 |. Since |no end p|
|00002bc0| 6f 69 6e 74 20 69 73 20 | 67 69 76 65 6e 2c 20 74 |oint is |given, t|
|00002bd0| 68 65 20 74 69 63 73 20 | 63 6f 6e 74 69 6e 75 65 |he tics |continue|
|00002be0| 20 74 6f 20 74 68 65 0d | 0a 72 69 67 68 74 20 65 | to the.|.right e|
|00002bf0| 64 67 65 2e 20 57 65 20 | 68 61 76 65 20 61 6c 73 |dge. We |have als|
|00002c00| 6f 20 74 75 72 6e 65 64 | 20 6f 66 66 20 74 68 65 |o turned| off the|
|00002c10| 20 6b 65 79 2c 20 61 6e | 64 20 63 68 61 6e 67 65 | key, an|d change|
|00002c20| 64 20 74 68 65 20 66 6f | 72 6d 61 74 20 74 6f 0d |d the fo|rmat to.|
|00002c30| 0a 72 65 73 74 72 69 63 | 74 20 74 68 65 20 24 78 |.restric|t the $x|
|00002c40| 24 2d 61 78 69 73 20 74 | 69 63 20 6c 61 62 65 6c |$-axis t|ic label|
|00002c50| 73 20 74 6f 20 32 20 64 | 65 63 69 6d 61 6c 20 70 |s to 2 d|ecimal p|
|00002c60| 6c 61 63 65 73 2e 0d 0a | 0d 0a 57 69 74 68 20 61 |laces...|..With a|
|00002c70| 20 6c 69 74 74 6c 65 20 | 6d 6f 72 65 20 77 6f 72 | little |more wor|
|00002c80| 6b 2c 20 74 68 65 20 70 | 6c 6f 74 20 63 61 6e 20 |k, the p|lot can |
|00002c90| 6c 6f 6f 6b 20 65 76 65 | 6e 20 62 65 74 74 65 72 |look eve|n better|
|00002ca0| 2e 20 20 41 6e 6f 74 68 | 65 72 20 66 6f 72 6d 0d |. Anoth|er form.|
|00002cb0| 0a 6f 66 20 74 68 69 73 | 20 63 6f 6d 6d 61 6e 64 |.of this| command|
|00002cc0| 20 61 6c 6c 6f 77 73 20 | 75 73 20 74 6f 20 73 70 | allows |us to sp|
|00002cd0| 65 63 69 66 79 20 74 68 | 65 20 6c 61 62 65 6c 20 |ecify th|e label |
|00002ce0| 61 6e 64 20 70 6f 73 69 | 74 69 6f 6e 20 6f 66 20 |and posi|tion of |
|00002cf0| 65 61 63 68 0d 0a 74 69 | 63 20 69 6e 64 69 76 69 |each..ti|c indivi|
|00002d00| 64 75 61 6c 6c 79 2e 20 | 20 52 65 70 6c 61 63 69 |dually. | Replaci|
|00002d10| 6e 67 20 74 68 65 20 61 | 62 6f 76 65 20 7b 5c 74 |ng the a|bove {\t|
|00002d20| 74 20 73 65 74 20 78 74 | 69 63 73 7d 20 63 6f 6d |t set xt|ics} com|
|00002d30| 6d 61 6e 64 20 77 69 74 | 68 0d 0a 74 68 65 20 66 |mand wit|h..the f|
|00002d40| 6f 6c 6c 6f 77 69 6e 67 | 20 67 69 76 65 73 20 75 |ollowing| gives u|
|00002d50| 73 20 46 69 67 75 72 65 | 7e 5c 72 65 66 7b 65 67 |s Figure|~\ref{eg|
|00002d60| 35 7d 2e 20 57 65 20 61 | 6c 73 6f 20 6d 61 6b 65 |5}. We a|lso make|
|00002d70| 20 75 73 65 20 6f 66 20 | 74 68 65 20 6c 69 6e 65 | use of |the line|
|00002d80| 0d 0a 63 6f 6e 74 69 6e | 75 61 74 69 6f 6e 20 63 |..contin|uation c|
|00002d90| 68 61 72 61 63 74 65 72 | 2c 20 74 68 65 20 62 61 |haracter|, the ba|
|00002da0| 63 6b 73 6c 61 73 68 20 | 28 5c 76 65 72 62 2b 5c |ckslash |(\verb+\|
|00002db0| 2b 29 2c 20 74 6f 20 73 | 70 72 65 61 64 20 6f 75 |+), to s|pread ou|
|00002dc0| 74 20 74 68 69 73 0d 0a | 63 6f 6d 6d 61 6e 64 20 |t this..|command |
|00002dd0| 66 6f 72 20 72 65 61 64 | 61 62 69 6c 69 74 79 2e |for read|ability.|
|00002de0| 0d 0a 0d 0a 5c 73 69 6e | 67 6c 65 73 70 61 63 65 |....\sin|glespace|
|00002df0| 0d 0a 5c 62 65 67 69 6e | 7b 76 65 72 62 61 74 69 |..\begin|{verbati|
|00002e00| 6d 7d 0d 0a 20 20 20 20 | 73 65 74 20 78 74 69 63 |m}.. |set xtic|
|00002e10| 73 20 28 22 24 2d 5c 70 | 69 24 22 20 2d 70 69 2c |s ("$-\p|i$" -pi,|
|00002e20| 5c 0d 0a 20 20 20 20 20 | 22 24 2d 5c 66 72 61 63 |\.. |"$-\frac|
|00002e30| 7b 5c 70 69 7d 7b 32 7d | 24 22 20 2d 70 69 2f 32 |{\pi}{2}|$" -pi/2|
|00002e40| 2c 5c 0d 0a 20 20 20 20 | 20 22 30 22 20 30 2c 5c |,\.. | "0" 0,\|
|00002e50| 0d 0a 20 20 20 20 20 22 | 24 5c 66 72 61 63 7b 5c |.. "|$\frac{\|
|00002e60| 70 69 7d 7b 32 7d 24 22 | 20 70 69 2f 32 2c 5c 0d |pi}{2}$"| pi/2,\.|
|00002e70| 0a 20 20 20 20 20 22 24 | 5c 70 69 24 22 20 70 69 |. "$|\pi$" pi|
|00002e80| 29 0d 0a 5c 65 6e 64 7b | 76 65 72 62 61 74 69 6d |)..\end{|verbatim|
|00002e90| 7d 0d 0a 5c 63 75 72 72 | 65 6e 74 73 70 61 63 65 |}..\curr|entspace|
|00002ea0| 0d 0a 0d 0a 5c 62 6f 78 | 66 69 67 75 72 65 7b 68 |....\box|figure{h|
|00002eb0| 74 62 70 7d 7b 5c 66 75 | 6c 6c 62 6f 78 77 69 64 |tbp}{\fu|llboxwid|
|00002ec0| 74 68 7d 7b 0d 0a 20 20 | 5c 62 65 67 69 6e 7b 63 |th}{.. |\begin{c|
|00002ed0| 65 6e 74 65 72 7d 0d 0a | 20 20 20 20 5c 69 6e 70 |enter}..| \inp|
|00002ee0| 75 74 7b 65 67 35 7d 0d | 0a 20 20 5c 65 6e 64 7b |ut{eg5}.|. \end{|
|00002ef0| 63 65 6e 74 65 72 7d 0d | 0a 20 20 5c 63 61 70 74 |center}.|. \capt|
|00002f00| 69 6f 6e 7b 41 20 66 61 | 6e 63 79 20 65 78 61 6d |ion{A fa|ncy exam|
|00002f10| 70 6c 65 20 6f 66 20 74 | 68 65 20 7b 5c 74 74 20 |ple of t|he {\tt |
|00002f20| 73 65 74 20 78 74 69 63 | 73 7d 20 63 6f 6d 6d 61 |set xtic|s} comma|
|00002f30| 6e 64 2e 7d 0d 0a 20 20 | 5c 6c 61 62 65 6c 7b 65 |nd.}.. |\label{e|
|00002f40| 67 35 7d 0d 0a 7d 0d 0a | 0d 0a 5c 70 61 72 61 67 |g5}..}..|..\parag|
|00002f50| 72 61 70 68 7b 47 6f 69 | 6e 67 20 66 75 72 74 68 |raph{Goi|ng furth|
|00002f60| 65 72 3a 7d 20 59 6f 75 | 20 73 68 6f 75 6c 64 20 |er:} You| should |
|00002f70| 6e 6f 77 20 62 65 20 61 | 62 6c 65 20 74 6f 20 6d |now be a|ble to m|
|00002f80| 61 6b 65 20 61 20 76 61 | 72 69 65 74 79 20 6f 66 |ake a va|riety of|
|00002f90| 0d 0a 70 6c 6f 74 73 20 | 66 6f 72 20 79 6f 75 72 |..plots |for your|
|00002fa0| 20 5c 4c 61 54 65 58 5c | 20 64 6f 63 75 6d 65 6e | \LaTeX\| documen|
|00002fb0| 74 2e 20 57 65 20 77 69 | 6c 6c 20 70 72 65 73 65 |t. We wi|ll prese|
|00002fc0| 6e 74 20 61 20 66 69 6e | 61 6c 20 65 78 61 6d 70 |nt a fin|al examp|
|00002fd0| 6c 65 0d 0a 77 69 74 68 | 6f 75 74 20 65 78 70 6c |le..with|out expl|
|00002fe0| 61 6e 61 74 69 6f 6e 20 | 74 68 61 74 20 73 68 6f |anation |that sho|
|00002ff0| 77 63 61 73 65 73 20 73 | 6f 6d 65 20 6f 66 20 74 |wcases s|ome of t|
|00003000| 68 65 20 63 61 70 61 62 | 69 6c 69 74 69 65 73 20 |he capab|ilities |
|00003010| 6f 66 0d 0a 47 4e 55 50 | 4c 4f 54 2e 20 59 6f 75 |of..GNUP|LOT. You|
|00003020| 20 6d 61 79 20 66 69 6e | 64 20 64 6f 63 75 6d 65 | may fin|d docume|
|00003030| 6e 74 61 74 69 6f 6e 20 | 66 6f 72 20 74 68 65 20 |ntation |for the |
|00003040| 76 61 72 69 6f 75 73 20 | 63 6f 6d 6d 61 6e 64 73 |various |commands|
|00003050| 20 69 6e 20 74 68 65 0d | 0a 47 4e 55 50 4c 4f 54 | in the.|.GNUPLOT|
|00003060| 20 6d 61 6e 75 61 6c 2c | 20 74 68 6f 75 67 68 20 | manual,| though |
|00003070| 68 6f 70 65 66 75 6c 6c | 79 20 74 68 69 73 20 65 |hopefull|y this e|
|00003080| 78 61 6d 70 6c 65 20 69 | 73 20 73 6f 6d 65 77 68 |xample i|s somewh|
|00003090| 61 74 0d 0a 73 65 6c 66 | 2d 65 78 70 6c 61 6e 61 |at..self|-explana|
|000030a0| 74 6f 72 79 2e 20 54 68 | 69 73 20 69 73 20 73 68 |tory. Th|is is sh|
|000030b0| 6f 77 6e 20 69 6e 20 46 | 69 67 75 72 65 7e 5c 72 |own in F|igure~\r|
|000030c0| 65 66 7b 65 67 36 7d 2e | 0d 0a 0d 0a 5c 73 69 6e |ef{eg6}.|....\sin|
|000030d0| 67 6c 65 73 70 61 63 65 | 0d 0a 5c 62 65 67 69 6e |glespace|..\begin|
|000030e0| 7b 76 65 72 62 61 74 69 | 6d 7d 0d 0a 20 20 20 20 |{verbati|m}.. |
|000030f0| 73 65 74 20 74 65 72 6d | 69 6e 61 6c 20 6c 61 74 |set term|inal lat|
|00003100| 65 78 0d 0a 20 20 20 20 | 73 65 74 20 6f 75 74 70 |ex.. |set outp|
|00003110| 75 74 20 22 65 67 36 2e | 74 65 78 22 0d 0a 20 20 |ut "eg6.|tex".. |
|00003120| 20 20 73 65 74 20 73 69 | 7a 65 20 33 2e 35 2f 35 | set si|ze 3.5/5|
|00003130| 2c 20 33 2f 33 2e 0d 0a | 20 20 20 20 73 65 74 20 |, 3/3...| set |
|00003140| 66 6f 72 6d 61 74 20 79 | 20 22 24 25 67 24 22 0d |format y| "$%g$".|
|00003150| 0a 20 20 20 20 73 65 74 | 20 66 6f 72 6d 61 74 20 |. set| format |
|00003160| 78 20 22 24 25 35 2e 31 | 66 5c 6d 75 24 22 0d 0a |x "$%5.1|f\mu$"..|
|00003170| 20 20 20 20 73 65 74 20 | 74 69 74 6c 65 20 22 54 | set |title "T|
|00003180| 68 69 73 20 69 73 20 61 | 20 74 69 74 6c 65 22 0d |his is a| title".|
|00003190| 0a 20 20 20 20 73 65 74 | 20 78 6c 61 62 65 6c 20 |. set| xlabel |
|000031a0| 22 54 68 69 73 20 69 73 | 20 74 68 65 20 24 78 24 |"This is| the $x$|
|000031b0| 20 61 78 69 73 22 0d 0a | 20 20 20 20 73 65 74 20 | axis"..| set |
|000031c0| 79 6c 61 62 65 6c 20 22 | 54 68 69 73 20 69 73 5c |ylabel "|This is\|
|000031d0| 5c 61 20 6c 6f 6e 67 65 | 72 5c 5c 76 65 72 73 69 |\a longe|r\\versi|
|000031e0| 6f 6e 5c 5c 20 6f 66 5c | 5c 74 68 65 20 24 79 24 |on\\ of\|\the $y$|
|000031f0| 5c 5c 20 61 78 69 73 22 | 0d 0a 20 20 20 20 73 65 |\\ axis"|.. se|
|00003200| 74 20 6c 61 62 65 6c 20 | 22 44 61 74 61 22 20 61 |t label |"Data" a|
|00003210| 74 20 2d 35 2c 2d 35 20 | 72 69 67 68 74 0d 0a 20 |t -5,-5 |right.. |
|00003220| 20 20 20 73 65 74 20 61 | 72 72 6f 77 20 66 72 6f | set a|rrow fro|
|00003230| 6d 20 2d 35 2c 2d 35 20 | 74 6f 20 2d 33 2e 33 2c |m -5,-5 |to -3.3,|
|00003240| 2d 36 2e 37 0d 0a 20 20 | 20 20 73 65 74 20 6b 65 |-6.7.. | set ke|
|00003250| 79 20 2d 34 2c 38 0d 0a | 20 20 20 20 73 65 74 20 |y -4,8..| set |
|00003260| 78 74 69 63 20 2d 31 30 | 2c 35 2c 31 30 0d 0a 20 |xtic -10|,5,10.. |
|00003270| 20 20 20 70 6c 6f 74 20 | 5b 2d 31 30 3a 31 30 5d | plot |[-10:10]|
|00003280| 20 5b 2d 31 30 3a 31 30 | 5d 20 22 65 67 33 2e 64 | [-10:10|] "eg3.d|
|00003290| 61 74 22 20 74 69 74 6c | 65 20 22 44 61 74 61 20 |at" titl|e "Data |
|000032a0| 46 69 6c 65 22 20 20 77 | 69 74 68 20 6c 69 6e 65 |File" w|ith line|
|000032b0| 73 70 6f 69 6e 74 73 20 | 31 20 37 2c 5c 0d 0a 20 |spoints |1 7,\.. |
|000032c0| 20 20 20 20 20 20 33 2a | 65 78 70 28 2d 78 2a 78 | 3*|exp(-x*x|
|000032d0| 29 2b 31 20 20 74 69 74 | 6c 65 20 22 24 33 65 5e |)+1 tit|le "$3e^|
|000032e0| 7b 2d 78 5e 7b 32 7d 7d | 2b 31 24 22 20 77 69 74 |{-x^{2}}|+1$" wit|
|000032f0| 68 20 6c 69 6e 65 73 20 | 34 0d 0a 5c 65 6e 64 7b |h lines |4..\end{|
|00003300| 76 65 72 62 61 74 69 6d | 7d 0d 0a 5c 63 75 72 72 |verbatim|}..\curr|
|00003310| 65 6e 74 73 70 61 63 65 | 0d 0a 0d 0a 5c 62 6f 78 |entspace|....\box|
|00003320| 66 69 67 75 72 65 7b 68 | 74 62 70 7d 7b 5c 66 75 |figure{h|tbp}{\fu|
|00003330| 6c 6c 62 6f 78 77 69 64 | 74 68 7d 7b 0d 0a 20 20 |llboxwid|th}{.. |
|00003340| 5c 62 65 67 69 6e 7b 63 | 65 6e 74 65 72 7d 0d 0a |\begin{c|enter}..|
|00003350| 20 20 20 20 5c 69 6e 70 | 75 74 7b 65 67 36 7d 0d | \inp|ut{eg6}.|
|00003360| 0a 20 20 5c 65 6e 64 7b | 63 65 6e 74 65 72 7d 0d |. \end{|center}.|
|00003370| 0a 20 20 5c 63 61 70 74 | 69 6f 6e 7b 41 6e 20 65 |. \capt|ion{An e|
|00003380| 78 61 6d 70 6c 65 20 6f | 66 20 6d 61 6e 79 20 66 |xample o|f many f|
|00003390| 65 61 74 75 72 65 73 2e | 7d 0d 0a 20 20 5c 6c 61 |eatures.|}.. \la|
|000033a0| 62 65 6c 7b 65 67 36 7d | 0d 0a 7d 0d 0a 0d 0a 5c |bel{eg6}|..}....\|
|000033b0| 73 75 62 73 65 63 74 69 | 6f 6e 7b 53 75 6d 6d 61 |subsecti|on{Summa|
|000033c0| 72 79 20 2d 2d 2d 20 55 | 73 65 20 77 69 74 68 20 |ry --- U|se with |
|000033d0| 5c 4c 61 54 65 58 7d 0d | 0a 49 6e 20 73 75 6d 6d |\LaTeX}.|.In summ|
|000033e0| 61 72 79 2c 20 74 6f 20 | 75 73 65 20 74 68 65 20 |ary, to |use the |
|000033f0| 5c 4c 61 54 65 58 5c 20 | 66 61 63 69 6c 69 74 69 |\LaTeX\ |faciliti|
|00003400| 65 73 20 6f 66 20 47 4e | 55 50 4c 4f 54 2c 20 74 |es of GN|UPLOT, t|
|00003410| 68 65 20 66 69 72 73 74 | 0d 0a 63 6f 6d 6d 61 6e |he first|..comman|
|00003420| 64 20 74 6f 20 47 4e 55 | 50 4c 4f 54 20 73 68 6f |d to GNU|PLOT sho|
|00003430| 75 6c 64 20 62 65 0d 0a | 5c 62 65 67 69 6e 7b 73 |uld be..|\begin{s|
|00003440| 79 6e 74 61 78 7d 0d 0a | 20 20 20 20 73 65 74 20 |yntax}..| set |
|00003450| 74 65 72 6d 69 6e 61 6c | 20 6c 61 74 65 78 0d 0a |terminal| latex..|
|00003460| 5c 65 6e 64 7b 73 79 6e | 74 61 78 7d 0d 0a 61 6e |\end{syn|tax}..an|
|00003470| 64 20 74 68 65 20 6f 75 | 74 70 75 74 20 6f 66 20 |d the ou|tput of |
|00003480| 47 4e 55 50 4c 4f 54 20 | 73 68 6f 75 6c 64 20 62 |GNUPLOT |should b|
|00003490| 65 20 64 69 72 65 63 74 | 65 64 20 74 6f 20 61 20 |e direct|ed to a |
|000034a0| 66 69 6c 65 2c 20 66 6f | 72 20 65 78 61 6d 70 6c |file, fo|r exampl|
|000034b0| 65 2c 0d 0a 5c 62 65 67 | 69 6e 7b 76 65 72 62 61 |e,..\beg|in{verba|
|000034c0| 74 69 6d 7d 0d 0a 20 20 | 20 20 73 65 74 20 6f 75 |tim}.. | set ou|
|000034d0| 74 70 75 74 20 22 70 6c | 6f 74 2e 74 65 78 22 0d |tput "pl|ot.tex".|
|000034e0| 0a 5c 65 6e 64 7b 76 65 | 72 62 61 74 69 6d 7d 0d |.\end{ve|rbatim}.|
|000034f0| 0a 54 68 69 73 20 6d 61 | 79 20 62 65 20 61 6e 79 |.This ma|y be any|
|00003500| 74 68 69 6e 67 20 79 6f | 75 20 6c 69 6b 65 20 62 |thing yo|u like b|
|00003510| 75 74 20 69 74 20 73 68 | 6f 75 6c 64 20 68 61 76 |ut it sh|ould hav|
|00003520| 65 20 61 20 7b 5c 74 74 | 20 2e 74 65 78 7d 20 65 |e a {\tt| .tex} e|
|00003530| 78 74 65 6e 73 69 6f 6e | 2c 0d 0a 6f 66 20 63 6f |xtension|,..of co|
|00003540| 75 72 73 65 2e 20 54 68 | 65 6e 20 74 68 65 20 73 |urse. Th|en the s|
|00003550| 69 7a 65 20 6f 66 20 74 | 68 65 20 70 6c 6f 74 20 |ize of t|he plot |
|00003560| 73 68 6f 75 6c 64 20 62 | 65 20 67 69 76 65 6e 2e |should b|e given.|
|00003570| 20 46 6f 72 20 65 78 61 | 6d 70 6c 65 2c 20 74 68 | For exa|mple, th|
|00003580| 65 0d 0a 63 6f 6d 6d 61 | 6e 64 20 0d 0a 5c 62 65 |e..comma|nd ..\be|
|00003590| 67 69 6e 7b 76 65 72 62 | 61 74 69 6d 7d 0d 0a 20 |gin{verb|atim}.. |
|000035a0| 20 20 20 73 65 74 20 73 | 69 7a 65 20 31 2c 32 0d | set s|ize 1,2.|
|000035b0| 0a 5c 65 6e 64 7b 76 65 | 72 62 61 74 69 6d 7d 0d |.\end{ve|rbatim}.|
|000035c0| 0a 74 65 6c 6c 73 20 47 | 4e 55 50 4c 4f 54 20 74 |.tells G|NUPLOT t|
|000035d0| 6f 20 75 73 65 20 61 20 | 35 20 69 6e 63 68 20 77 |o use a |5 inch w|
|000035e0| 69 64 65 20 62 79 20 36 | 20 69 6e 63 68 20 68 69 |ide by 6| inch hi|
|000035f0| 67 68 20 62 6f 78 20 66 | 6f 72 20 74 68 65 20 70 |gh box f|or the p|
|00003600| 6c 6f 74 2e 0d 0a 54 68 | 65 20 6e 75 6d 62 65 72 |lot...Th|e number|
|00003610| 73 20 67 69 76 65 6e 20 | 61 72 65 20 7b 5c 65 6d |s given |are {\em|
|00003620| 20 73 63 61 6c 65 20 66 | 61 63 74 6f 72 73 7d 2c | scale f|actors},|
|00003630| 20 6e 6f 74 20 74 68 65 | 20 61 63 74 75 61 6c 20 | not the| actual |
|00003640| 73 69 7a 65 2e 20 20 54 | 68 65 0d 0a 64 65 66 61 |size. T|he..defa|
|00003650| 75 6c 74 20 69 73 20 35 | 20 69 6e 63 68 65 73 20 |ult is 5| inches |
|00003660| 62 79 20 33 20 69 6e 63 | 68 65 73 2e 20 20 54 68 |by 3 inc|hes. Th|
|00003670| 69 73 20 69 73 20 74 68 | 65 20 73 69 7a 65 20 6f |is is th|e size o|
|00003680| 66 20 74 68 65 20 63 6f | 6d 70 6c 65 74 65 0d 0a |f the co|mplete..|
|00003690| 70 6c 6f 74 2c 20 69 6e | 63 6c 75 64 69 6e 67 20 |plot, in|cluding |
|000036a0| 61 6c 6c 20 6c 61 62 65 | 6c 73 2e 0d 0a 0d 0a 57 |all labe|ls.....W|
|000036b0| 68 65 6e 20 66 69 6e 69 | 73 68 65 64 2c 20 74 68 |hen fini|shed, th|
|000036c0| 65 20 66 69 6c 65 20 77 | 69 6c 6c 20 63 6f 6e 74 |e file w|ill cont|
|000036d0| 61 69 6e 20 61 6c 6c 20 | 6f 66 20 74 68 65 20 70 |ain all |of the p|
|000036e0| 6c 6f 74 73 20 79 6f 75 | 20 68 61 76 65 0d 0a 73 |lots you| have..s|
|000036f0| 70 65 63 69 66 69 65 64 | 20 28 79 6f 75 20 70 72 |pecified| (you pr|
|00003700| 6f 62 61 62 6c 79 20 6f | 6e 6c 79 20 77 61 6e 74 |obably o|nly want|
|00003710| 20 6f 6e 65 20 70 6c 6f | 74 20 70 65 72 20 66 69 | one plo|t per fi|
|00003720| 6c 65 29 2e 20 54 68 69 | 73 20 66 69 6c 65 20 63 |le). Thi|s file c|
|00003730| 61 6e 0d 0a 74 68 65 6e | 20 62 65 20 75 73 65 64 |an..then| be used|
|00003740| 20 69 6e 20 61 20 5c 4c | 61 54 65 58 5c 20 64 6f | in a \L|aTeX\ do|
|00003750| 63 75 6d 65 6e 74 2c 20 | 5c 65 67 2c 0d 0a 0d 0a |cument, |\eg,....|
|00003760| 5c 73 69 6e 67 6c 65 73 | 70 61 63 65 0d 0a 5c 62 |\singles|pace..\b|
|00003770| 65 67 69 6e 7b 76 65 72 | 62 61 74 69 6d 7d 0d 0a |egin{ver|batim}..|
|00003780| 20 20 20 20 5c 62 65 67 | 69 6e 20 7b 66 69 67 75 | \beg|in {figu|
|00003790| 72 65 7d 0d 0a 20 20 20 | 20 20 20 5c 62 65 67 69 |re}.. | \begi|
|000037a0| 6e 7b 63 65 6e 74 65 72 | 7d 0d 0a 20 20 20 20 20 |n{center|}.. |
|000037b0| 20 20 20 5c 69 6e 70 75 | 74 7b 70 6c 6f 74 7d 0d | \inpu|t{plot}.|
|000037c0| 0a 20 20 20 20 20 20 5c | 65 6e 64 7b 63 65 6e 74 |. \|end{cent|
|000037d0| 65 72 7d 0d 0a 20 20 20 | 20 5c 65 6e 64 20 7b 66 |er}.. | \end {f|
|000037e0| 69 67 75 72 65 7d 0d 0a | 5c 65 6e 64 7b 76 65 72 |igure}..|\end{ver|
|000037f0| 62 61 74 69 6d 7d 0d 0a | 5c 63 75 72 72 65 6e 74 |batim}..|\current|
|00003800| 73 70 61 63 65 0d 0a 54 | 68 69 73 20 70 75 74 73 |space..T|his puts|
|00003810| 20 74 68 65 20 70 6c 6f | 74 20 69 6e 74 6f 20 61 | the plo|t into a|
|00003820| 20 66 69 67 75 72 65 2e | 20 0d 0a 0d 0a 59 6f 75 | figure.| ....You|
|00003830| 20 77 69 6c 6c 20 61 6c | 73 6f 20 77 61 6e 74 20 | will al|so want |
|00003840| 74 6f 20 72 65 61 64 20 | 61 62 6f 75 74 20 74 68 |to read |about th|
|00003850| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 63 6f 6d 6d |e follow|ing comm|
|00003860| 61 6e 64 73 3a 20 7b 5c | 74 74 20 73 65 74 0d 0a |ands: {\|tt set..|
|00003870| 74 69 74 6c 65 2c 20 73 | 65 74 20 78 6c 61 62 65 |title, s|et xlabe|
|00003880| 6c 2c 20 73 65 74 20 79 | 6c 61 62 65 6c 2c 20 73 |l, set y|label, s|
|00003890| 65 74 20 6b 65 79 2c 20 | 73 65 74 20 6c 61 62 65 |et key, |set labe|
|000038a0| 6c 2c 20 73 65 74 20 78 | 74 69 63 73 2c 20 73 65 |l, set x|tics, se|
|000038b0| 74 0d 0a 79 74 69 63 73 | 7d 2c 20 61 6e 64 20 7b |t..ytics|}, and {|
|000038c0| 5c 74 74 20 73 65 74 20 | 63 6c 69 70 7d 2e 20 20 |\tt set |clip}. |
|000038d0| 54 68 65 73 65 20 61 72 | 65 20 61 6c 6c 20 64 65 |These ar|e all de|
|000038e0| 73 63 72 69 62 65 64 20 | 69 6e 20 74 68 65 20 72 |scribed |in the r|
|000038f0| 65 67 75 6c 61 72 0d 0a | 47 4e 55 50 4c 4f 54 20 |egular..|GNUPLOT |
|00003900| 6d 61 6e 75 61 6c 2e 0d | 0a 0d 0a 5c 73 65 63 74 |manual..|...\sect|
|00003910| 69 6f 6e 7b 55 73 65 20 | 77 69 74 68 20 45 45 50 |ion{Use |with EEP|
|00003920| 49 43 7d 0d 0a 5c 6c 61 | 62 65 6c 7b 73 3a 65 65 |IC}..\la|bel{s:ee|
|00003930| 70 69 63 7d 0d 0a 45 45 | 50 49 43 20 69 73 20 61 |pic}..EE|PIC is a|
|00003940| 20 6d 61 63 72 6f 20 70 | 61 63 6b 61 67 65 20 65 | macro p|ackage e|
|00003950| 78 74 65 6e 64 69 6e 67 | 20 74 68 65 20 70 69 63 |xtending| the pic|
|00003960| 74 75 72 65 20 65 6e 76 | 69 72 6f 6e 6d 65 6e 74 |ture env|ironment|
|00003970| 20 6f 66 20 5c 4c 61 54 | 65 58 2e 0d 0a 49 66 20 | of \LaT|eX...If |
|00003980| 79 6f 75 20 68 61 76 65 | 20 74 68 65 20 45 50 49 |you have| the EPI|
|00003990| 43 20 6f 72 20 45 45 50 | 49 43 20 6d 61 63 72 6f |C or EEP|IC macro|
|000039a0| 73 2c 20 61 6e 64 20 79 | 6f 75 72 20 7b 5c 74 74 |s, and y|our {\tt|
|000039b0| 20 64 76 69 7d 20 74 72 | 61 6e 73 6c 61 74 6f 72 | dvi} tr|anslator|
|000039c0| 0d 0a 73 75 70 70 6f 72 | 74 73 20 74 68 65 20 7b |..suppor|ts the {|
|000039d0| 5c 65 6d 20 74 70 69 63 | 5c 2f 7d 20 5c 76 65 72 |\em tpic|\/} \ver|
|000039e0| 62 2b 5c 73 70 65 63 69 | 61 6c 2b 73 2c 20 74 68 |b+\speci|al+s, th|
|000039f0| 65 6e 20 79 6f 75 20 68 | 61 76 65 20 74 68 65 20 |en you h|ave the |
|00003a00| 70 6f 73 73 69 62 6c 65 | 0d 0a 63 61 70 61 62 69 |possible|..capabi|
|00003a10| 6c 69 74 79 20 66 6f 72 | 20 62 65 74 74 65 72 2d |lity for| better-|
|00003a20| 71 75 61 6c 69 74 79 20 | 6f 75 74 70 75 74 2e 20 |quality |output. |
|00003a30| 57 69 74 68 20 45 45 50 | 49 43 20 70 69 63 74 75 |With EEP|IC pictu|
|00003a40| 72 65 73 2c 20 74 68 65 | 20 7b 5c 74 74 0d 0a 70 |res, the| {\tt..p|
|00003a50| 6c 6f 74 2e 74 65 78 7d | 20 66 69 6c 65 20 77 69 |lot.tex}| file wi|
|00003a60| 6c 6c 20 62 65 20 73 6d | 61 6c 6c 65 72 2c 20 5c |ll be sm|aller, \|
|00003a70| 4c 61 54 65 58 5c 20 77 | 69 6c 6c 20 72 75 6e 20 |LaTeX\ w|ill run |
|00003a80| 6d 75 63 68 20 66 61 73 | 74 65 72 20 28 61 6e 64 |much fas|ter (and|
|00003a90| 20 6e 65 65 64 0d 0a 6d | 75 63 68 20 6c 65 73 73 | need..m|uch less|
|00003aa0| 20 6d 65 6d 6f 72 79 29 | 2c 20 61 6e 64 20 74 68 | memory)|, and th|
|00003ab0| 65 20 7b 5c 74 74 20 64 | 76 69 7d 20 66 69 6c 65 |e {\tt d|vi} file|
|00003ac0| 20 77 69 6c 6c 20 62 65 | 20 73 6d 61 6c 6c 65 72 | will be| smaller|
|00003ad0| 2e 0d 0a 0d 0a 54 6f 20 | 75 73 65 20 45 45 50 49 |.....To |use EEPI|
|00003ae0| 43 2c 20 73 65 74 20 47 | 4e 55 50 4c 4f 54 27 73 |C, set G|NUPLOT's|
|00003af0| 20 74 65 72 6d 69 6e 61 | 6c 20 74 79 70 65 20 74 | termina|l type t|
|00003b00| 6f 20 7b 5c 74 74 20 65 | 65 70 69 63 7d 20 69 6e |o {\tt e|epic} in|
|00003b10| 73 74 65 61 64 20 6f 66 | 0d 0a 7b 5c 74 74 20 6c |stead of|..{\tt l|
|00003b20| 61 74 65 78 7d 2c 20 61 | 6e 64 20 75 73 65 20 47 |atex}, a|nd use G|
|00003b30| 4e 55 50 4c 4f 54 20 61 | 73 20 62 65 66 6f 72 65 |NUPLOT a|s before|
|00003b40| 2e 20 54 68 65 20 6c 69 | 6e 65 20 73 74 79 6c 65 |. The li|ne style|
|00003b50| 73 20 77 69 6c 6c 20 63 | 68 61 6e 67 65 2e 0d 0a |s will c|hange...|
|00003b60| 49 6e 63 6c 75 64 65 20 | 74 68 65 20 66 69 6c 65 |Include |the file|
|00003b70| 20 7b 5c 74 74 20 70 6c | 6f 74 2e 74 65 78 7d 20 | {\tt pl|ot.tex} |
|00003b80| 69 6e 20 79 6f 75 72 20 | 64 6f 63 75 6d 65 6e 74 |in your |document|
|00003b90| 20 61 73 20 62 65 66 6f | 72 65 2c 20 61 6c 6f 6e | as befo|re, alon|
|00003ba0| 67 20 77 69 74 68 0d 0a | 74 68 65 20 64 6f 63 75 |g with..|the docu|
|00003bb0| 6d 65 6e 74 20 73 74 79 | 6c 65 20 6f 70 74 69 6f |ment sty|le optio|
|00003bc0| 6e 73 20 7b 5c 74 74 20 | 5b 65 70 69 63 2c 65 65 |ns {\tt |[epic,ee|
|00003bd0| 70 69 63 5d 7d 2e 0d 0a | 0d 0a 54 68 69 73 20 64 |pic]}...|..This d|
|00003be0| 72 69 76 65 72 20 73 68 | 6f 75 6c 64 20 62 65 20 |river sh|ould be |
|00003bf0| 63 6f 6e 73 69 64 65 72 | 65 64 20 65 78 70 65 72 |consider|ed exper|
|00003c00| 69 6d 65 6e 74 61 6c 2e | 0d 0a 0d 0a 5c 73 65 63 |imental.|....\sec|
|00003c10| 74 69 6f 6e 7b 46 6f 72 | 20 46 6f 72 6d 65 72 20 |tion{For| Former |
|00003c20| 47 6e 75 5c 54 65 58 5c | 20 55 73 65 72 73 7d 0d |Gnu\TeX\| Users}.|
|00003c30| 0a 5c 6c 61 62 65 6c 7b | 6f 6c 64 75 73 65 72 73 |.\label{|oldusers|
|00003c40| 7d 0d 0a 0d 0a 46 6f 72 | 6d 65 72 20 47 6e 75 5c |}....For|mer Gnu\|
|00003c50| 54 65 58 5c 20 75 73 65 | 72 73 20 6d 61 79 20 62 |TeX\ use|rs may b|
|00003c60| 65 20 70 6c 65 61 73 65 | 64 20 77 69 74 68 20 6d |e please|d with m|
|00003c70| 61 6e 79 20 6f 66 20 74 | 68 65 20 6e 65 77 20 66 |any of t|he new f|
|00003c80| 65 61 74 75 72 65 73 0d | 0a 28 6d 61 6e 79 20 69 |eatures.|.(many i|
|00003c90| 6e 73 70 69 72 65 64 20 | 62 79 20 79 6f 75 72 20 |nspired |by your |
|00003ca0| 73 75 67 67 65 73 74 69 | 6f 6e 73 21 29 2c 20 62 |suggesti|ons!), b|
|00003cb0| 75 74 20 77 69 6c 6c 20 | 61 6c 73 6f 20 66 69 6e |ut will |also fin|
|00003cc0| 64 20 6d 61 6e 79 20 63 | 68 61 6e 67 65 73 2e 0d |d many c|hanges..|
|00003cd0| 0a 47 4e 55 50 4c 4f 54 | 20 77 69 6c 6c 20 7b 5c |.GNUPLOT| will {\|
|00003ce0| 65 6d 20 6e 6f 74 5c 2f | 7d 20 72 75 6e 20 61 6c |em not\/|} run al|
|00003cf0| 6c 20 47 6e 75 5c 54 65 | 58 5c 20 69 6e 70 75 74 |l Gnu\Te|X\ input|
|00003d00| 20 66 69 6c 65 73 20 75 | 6e 63 68 61 6e 67 65 64 | files u|nchanged|
|00003d10| 2e 0d 0a 53 65 76 65 72 | 61 6c 20 47 6e 75 5c 54 |...Sever|al Gnu\T|
|00003d20| 65 58 5c 20 66 65 61 74 | 75 72 65 73 20 77 65 72 |eX\ feat|ures wer|
|00003d30| 65 20 6e 6f 74 20 69 6e | 63 6c 75 64 65 64 20 69 |e not in|cluded i|
|00003d40| 6e 20 47 4e 55 50 4c 4f | 54 20 62 65 63 61 75 73 |n GNUPLO|T becaus|
|00003d50| 65 20 74 68 65 79 0d 0a | 77 65 72 65 20 73 70 65 |e they..|were spe|
|00003d60| 63 69 66 69 63 20 74 6f | 20 74 68 65 20 5c 4c 61 |cific to| the \La|
|00003d70| 54 65 58 5c 20 64 72 69 | 76 65 72 2e 20 49 20 65 |TeX\ dri|ver. I e|
|00003d80| 6e 63 6f 75 72 61 67 65 | 20 79 6f 75 20 74 6f 20 |ncourage| you to |
|00003d90| 75 73 65 20 74 68 65 20 | 6e 65 77 65 72 0d 0a 47 |use the |newer..G|
|00003da0| 4e 55 50 4c 4f 54 2e 20 | 20 41 20 74 72 61 6e 73 |NUPLOT. | A trans|
|00003db0| 6c 61 74 6f 72 20 69 73 | 20 73 75 70 70 6c 69 65 |lator is| supplie|
|00003dc0| 64 20 77 69 74 68 20 74 | 68 65 20 47 4e 55 50 4c |d with t|he GNUPL|
|00003dd0| 4f 54 20 64 69 73 74 72 | 69 62 75 74 69 6f 6e 20 |OT distr|ibution |
|00003de0| 74 68 61 74 0d 0a 61 74 | 74 65 6d 70 74 73 20 74 |that..at|tempts t|
|00003df0| 6f 20 74 72 61 6e 73 6c | 61 74 65 20 79 6f 75 72 |o transl|ate your|
|00003e00| 20 6f 6c 64 20 47 6e 75 | 5c 54 65 58 5c 20 31 2e | old Gnu|\TeX\ 1.|
|00003e10| 36 20 69 6e 70 75 74 20 | 66 69 6c 65 73 20 69 6e |6 input |files in|
|00003e20| 74 6f 20 47 4e 55 50 4c | 4f 54 0d 0a 32 2e 30 20 |to GNUPL|OT..2.0 |
|00003e30| 66 69 6c 65 73 2e 0d 0a | 0d 0a 4e 6f 74 65 20 61 |files...|..Note a|
|00003e40| 6c 73 6f 20 74 68 65 20 | 6e 65 77 20 45 45 50 49 |lso the |new EEPI|
|00003e50| 43 20 64 72 69 76 65 72 | 20 28 53 65 63 74 69 6f |C driver| (Sectio|
|00003e60| 6e 7e 5c 72 65 66 7b 73 | 3a 65 65 70 69 63 7d 29 |n~\ref{s|:eepic})|
|00003e70| 2e 0d 0a 0d 0a 5c 73 75 | 62 73 65 63 74 69 6f 6e |.....\su|bsection|
|00003e80| 7b 54 68 65 20 44 69 66 | 66 65 72 65 6e 63 65 73 |{The Dif|ferences|
|00003e90| 7d 0d 0a 5c 62 65 67 69 | 6e 7b 69 74 65 6d 69 7a |}..\begi|n{itemiz|
|00003ea0| 65 7d 0d 0a 5c 69 74 65 | 6d 20 54 68 65 20 7b 5c |e}..\ite|m The {\|
|00003eb0| 74 74 20 6b 65 79 7d 20 | 63 6f 6d 6d 61 6e 64 20 |tt key} |command |
|00003ec0| 77 61 73 20 72 65 70 6c | 61 63 65 64 20 62 79 20 |was repl|aced by |
|00003ed0| 74 68 65 20 7b 5c 74 74 | 20 73 65 74 20 6b 65 79 |the {\tt| set key|
|00003ee0| 7d 0d 0a 63 6f 6d 6d 61 | 6e 64 2c 20 61 6e 64 20 |}..comma|nd, and |
|00003ef0| 73 68 6f 75 6c 64 20 74 | 68 65 72 65 66 6f 72 65 |should t|herefore|
|00003f00| 20 70 72 65 63 65 64 65 | 20 61 6e 79 20 7b 5c 74 | precede| any {\t|
|00003f10| 74 20 70 6c 6f 74 7d 20 | 63 6f 6d 6d 61 6e 64 73 |t plot} |commands|
|00003f20| 2e 20 41 20 6b 65 79 0d | 0a 69 73 20 73 68 6f 77 |. A key.|.is show|
|00003f30| 6e 20 62 79 20 64 65 66 | 61 75 6c 74 2c 20 61 6e |n by def|ault, an|
|00003f40| 64 20 63 61 6e 20 62 65 | 20 74 75 72 6e 65 64 20 |d can be| turned |
|00003f50| 6f 66 66 20 77 69 74 68 | 20 7b 5c 74 74 20 73 65 |off with| {\tt se|
|00003f60| 74 20 6e 6f 6b 65 79 7d | 2e 20 54 68 65 0d 0a 70 |t nokey}|. The..p|
|00003f70| 6f 73 69 74 69 6f 6e 20 | 73 70 65 63 69 66 69 65 |osition |specifie|
|00003f80| 64 20 69 73 20 6e 6f 77 | 20 74 68 65 20 74 6f 70 |d is now| the top|
|00003f90| 20 63 65 6e 74 65 72 20 | 6f 66 20 74 68 65 20 6b | center |of the k|
|00003fa0| 65 79 2c 20 69 6e 73 74 | 65 61 64 20 6f 66 20 74 |ey, inst|ead of t|
|00003fb0| 68 65 0d 0a 62 6f 74 74 | 6f 6d 20 63 65 6e 74 65 |he..bott|om cente|
|00003fc0| 72 2e 20 54 68 65 20 74 | 69 74 6c 65 73 20 61 6e |r. The t|itles an|
|00003fd0| 64 20 73 74 79 6c 65 73 | 20 6f 66 20 74 68 65 20 |d styles| of the |
|00003fe0| 63 75 72 76 65 73 20 61 | 72 65 20 65 78 74 72 61 |curves a|re extra|
|00003ff0| 63 74 65 64 20 66 72 6f | 6d 0d 0a 74 68 65 20 7b |cted fro|m..the {|
|00004000| 5c 74 74 20 70 6c 6f 74 | 7d 20 63 6f 6d 6d 61 6e |\tt plot|} comman|
|00004010| 64 2e 0d 0a 5c 69 74 65 | 6d 20 54 68 65 20 7b 5c |d...\ite|m The {\|
|00004020| 74 74 20 6c 61 62 65 6c | 7d 20 63 6f 6d 6d 61 6e |tt label|} comman|
|00004030| 64 20 77 61 73 20 72 65 | 70 6c 61 63 65 64 20 62 |d was re|placed b|
|00004040| 79 20 74 68 65 20 7b 5c | 74 74 20 73 65 74 20 6c |y the {\|tt set l|
|00004050| 61 62 65 6c 7d 0d 0a 63 | 6f 6d 6d 61 6e 64 2e 20 |abel}..c|ommand. |
|00004060| 54 68 65 20 73 79 6e 74 | 61 78 20 69 73 20 73 6c |The synt|ax is sl|
|00004070| 69 67 68 74 6c 79 20 64 | 69 66 66 65 72 65 6e 74 |ightly d|ifferent|
|00004080| 2e 20 4c 65 66 74 2c 20 | 72 69 67 68 74 2c 20 61 |. Left, |right, a|
|00004090| 6e 64 20 63 65 6e 74 65 | 72 0d 0a 6a 75 73 74 69 |nd cente|r..justi|
|000040a0| 66 69 63 61 74 69 6f 6e | 20 61 72 65 20 73 74 69 |fication| are sti|
|000040b0| 6c 6c 20 61 76 61 69 6c | 61 62 6c 65 2c 20 62 75 |ll avail|able, bu|
|000040c0| 74 20 6f 6e 6c 79 20 76 | 65 72 74 69 63 61 6c 20 |t only v|ertical |
|000040d0| 63 65 6e 74 65 72 69 6e | 67 20 69 73 0d 0a 70 6f |centerin|g is..po|
|000040e0| 73 73 69 62 6c 65 2e 20 | 41 72 72 6f 77 73 20 61 |ssible. |Arrows a|
|000040f0| 72 65 20 64 65 66 69 6e | 65 64 20 62 79 20 74 68 |re defin|ed by th|
|00004100| 65 20 72 65 66 65 72 65 | 6e 63 65 20 70 6f 69 6e |e refere|nce poin|
|00004110| 74 20 6f 66 20 74 68 65 | 20 6c 61 62 65 6c 20 61 |t of the| label a|
|00004120| 6e 64 0d 0a 61 6e 20 65 | 6e 64 69 6e 67 20 70 6f |nd..an e|nding po|
|00004130| 69 6e 74 2e 20 54 68 69 | 73 20 61 6c 6c 6f 77 73 |int. Thi|s allows|
|00004140| 20 61 72 62 69 74 72 61 | 72 79 20 73 6c 6f 70 65 | arbitra|ry slope|
|00004150| 20 61 72 72 6f 77 73 20 | 74 6f 20 62 65 20 64 72 | arrows |to be dr|
|00004160| 61 77 6e 2e 0d 0a 53 69 | 6e 63 65 20 5c 4c 61 54 |awn...Si|nce \LaT|
|00004170| 65 58 5c 20 6c 69 6d 69 | 74 73 20 61 72 72 6f 77 |eX\ limi|ts arrow|
|00004180| 73 20 28 76 65 63 74 6f | 72 73 29 20 74 6f 20 70 |s (vecto|rs) to p|
|00004190| 61 72 74 69 63 75 6c 61 | 72 20 73 6c 6f 70 65 73 |articula|r slopes|
|000041a0| 2c 20 77 65 20 64 72 61 | 77 0d 0a 6e 6f 6e 2d 73 |, we dra|w..non-s|
|000041b0| 74 61 6e 64 61 72 64 2d | 73 6c 6f 70 65 20 61 72 |tandard-|slope ar|
|000041c0| 72 6f 77 73 20 77 69 74 | 68 20 74 68 65 20 73 6f |rows wit|h the so|
|000041d0| 6c 69 64 20 70 6c 6f 74 | 20 6c 69 6e 65 20 74 79 |lid plot| line ty|
|000041e0| 70 65 2c 20 61 6e 64 20 | 74 68 65 6e 20 61 64 64 |pe, and |then add|
|000041f0| 0d 0a 61 6e 20 61 72 72 | 6f 77 68 65 61 64 2e 20 |..an arr|owhead. |
|00004200| 54 68 69 73 20 77 69 6c | 6c 20 72 65 71 75 69 72 |This wil|l requir|
|00004210| 65 20 6c 65 73 73 20 6d | 65 6d 6f 72 79 20 77 69 |e less m|emory wi|
|00004220| 74 68 20 74 68 65 20 45 | 45 50 49 43 20 64 72 69 |th the E|EPIC dri|
|00004230| 76 65 72 2e 0d 0a 5c 69 | 74 65 6d 20 54 68 65 20 |ver...\i|tem The |
|00004240| 75 73 65 72 2d 64 65 66 | 69 6e 65 64 20 73 74 79 |user-def|ined sty|
|00004250| 6c 65 20 66 61 63 69 6c | 69 74 79 2c 20 63 6f 6e |le facil|ity, con|
|00004260| 74 72 6f 6c 6c 65 64 20 | 62 79 20 7b 5c 74 74 20 |trolled |by {\tt |
|00004270| 73 65 74 20 73 74 79 6c | 65 7d 2c 0d 0a 69 73 20 |set styl|e},..is |
|00004280| 63 6f 6d 70 6c 65 74 65 | 6c 79 20 72 65 6d 6f 76 |complete|ly remov|
|00004290| 65 64 2e 20 54 68 69 73 | 20 77 61 73 20 74 6f 6f |ed. This| was too|
|000042a0| 20 73 70 65 63 69 66 69 | 63 20 74 6f 20 74 68 65 | specifi|c to the|
|000042b0| 20 5c 4c 61 54 65 58 5c | 20 64 72 69 76 65 72 20 | \LaTeX\| driver |
|000042c0| 74 6f 0d 0a 62 65 20 6b | 65 70 74 20 69 6e 20 74 |to..be k|ept in t|
|000042d0| 68 69 73 20 47 4e 55 50 | 4c 4f 54 20 72 65 6c 65 |his GNUP|LOT rele|
|000042e0| 61 73 65 2e 20 54 68 65 | 20 5c 4c 61 54 65 58 5c |ase. The| \LaTeX\|
|000042f0| 20 64 72 69 76 65 72 20 | 6e 6f 77 20 73 75 70 70 | driver |now supp|
|00004300| 6f 72 74 73 0d 0a 76 61 | 72 69 6f 75 73 20 6c 69 |orts..va|rious li|
|00004310| 6e 65 20 74 79 70 65 73 | 20 69 6e 20 74 68 65 20 |ne types| in the |
|00004320| 7b 5c 74 74 20 6c 69 6e | 65 73 7d 20 61 6e 64 20 |{\tt lin|es} and |
|00004330| 7b 5c 74 74 20 6c 69 6e | 65 73 70 6f 69 6e 74 73 |{\tt lin|espoints|
|00004340| 7d 20 73 74 79 6c 65 73 | 2e 0d 0a 53 6f 6c 69 64 |} styles|...Solid|
|00004350| 20 6c 69 6e 65 73 20 61 | 72 65 20 74 68 65 20 64 | lines a|re the d|
|00004360| 65 66 61 75 6c 74 2c 20 | 77 69 74 68 20 68 69 67 |efault, |with hig|
|00004370| 68 65 72 2d 6e 75 6d 62 | 65 72 65 64 20 73 74 79 |her-numb|ered sty|
|00004380| 6c 65 73 20 70 72 6f 76 | 69 64 69 6e 67 0d 0a 64 |les prov|iding..d|
|00004390| 6f 74 74 65 64 20 6c 69 | 6e 65 73 2e 20 54 68 65 |otted li|nes. The|
|000043a0| 73 65 20 73 6f 6c 69 64 | 20 6c 69 6e 65 73 20 61 |se solid| lines a|
|000043b0| 72 65 20 65 78 70 65 6e | 73 69 76 65 2e 20 41 76 |re expen|sive. Av|
|000043c0| 6f 69 64 20 74 68 65 6d | 20 69 66 20 79 6f 75 20 |oid them| if you |
|000043d0| 72 75 6e 0d 0a 69 6e 74 | 6f 20 6d 65 6d 6f 72 79 |run..int|o memory|
|000043e0| 20 6f 72 20 74 69 6d 65 | 20 64 69 66 66 69 63 75 | or time| difficu|
|000043f0| 6c 74 69 65 73 2c 20 6f | 72 20 74 72 79 20 74 68 |lties, o|r try th|
|00004400| 65 20 45 45 50 49 43 20 | 64 72 69 76 65 72 2e 20 |e EEPIC |driver. |
|00004410| 54 68 65 0d 0a 5c 4c 61 | 54 65 58 5c 20 64 72 69 |The..\La|TeX\ dri|
|00004420| 76 65 72 20 63 75 72 72 | 65 6e 74 6c 79 20 73 75 |ver curr|ently su|
|00004430| 70 70 6f 72 74 73 20 36 | 20 70 6f 69 6e 74 20 74 |pports 6| point t|
|00004440| 79 70 65 73 20 28 6e 75 | 6d 62 65 72 65 64 20 37 |ypes (nu|mbered 7|
|00004450| 2d 31 32 29 20 69 6e 0d | 0a 61 64 64 69 74 69 6f |-12) in.|.additio|
|00004460| 6e 20 74 6f 20 74 68 65 | 20 36 20 6f 72 69 67 69 |n to the| 6 origi|
|00004470| 6e 61 6c 20 47 4e 55 50 | 4c 4f 54 20 70 6f 69 6e |nal GNUP|LOT poin|
|00004480| 74 73 20 28 6e 75 6d 62 | 65 72 65 64 20 31 2d 36 |ts (numb|ered 1-6|
|00004490| 29 2e 20 54 68 69 73 20 | 73 65 74 20 6d 61 79 0d |). This |set may.|
|000044a0| 0a 62 65 20 65 78 74 65 | 6e 64 65 64 2c 20 73 6f |.be exte|nded, so|
|000044b0| 20 64 6f 20 6e 6f 74 20 | 64 65 70 65 6e 64 20 6f | do not |depend o|
|000044c0| 6e 20 77 72 61 70 2d 61 | 72 6f 75 6e 64 20 66 6f |n wrap-a|round fo|
|000044d0| 72 20 70 6f 69 6e 74 20 | 73 74 79 6c 65 73 20 6f |r point |styles o|
|000044e0| 76 65 72 20 31 32 2e 20 | 0d 0a 5c 69 74 65 6d 20 |ver 12. |..\item |
|000044f0| 4d 75 6c 74 69 70 6c 65 | 2d 6c 69 6e 65 20 78 6c |Multiple|-line xl|
|00004500| 61 62 65 6c 73 20 61 6e | 64 20 74 69 74 6c 65 73 |abels an|d titles|
|00004510| 2c 20 73 70 65 63 69 66 | 69 65 64 20 77 69 74 68 |, specif|ied with|
|00004520| 20 5c 76 65 72 62 2b 5c | 5c 2b 2c 20 61 72 65 0d | \verb+\|\+, are.|
|00004530| 0a 6e 6f 74 20 70 65 72 | 6d 69 74 74 65 64 2e 20 |.not per|mitted. |
|00004540| 54 68 65 79 20 61 72 65 | 20 73 74 69 6c 6c 20 61 |They are| still a|
|00004550| 6c 6c 6f 77 65 64 20 69 | 6e 20 74 68 65 20 79 6c |llowed i|n the yl|
|00004560| 61 62 65 6c 2e 20 54 68 | 65 20 79 6c 61 62 65 6c |abel. Th|e ylabel|
|00004570| 20 7b 5c 74 74 0d 0a 73 | 6b 69 70 7d 20 70 61 72 | {\tt..s|kip} par|
|00004580| 61 6d 65 74 65 72 2c 20 | 68 6f 77 65 76 65 72 2c |ameter, |however,|
|00004590| 20 69 73 20 6e 6f 74 20 | 61 76 61 69 6c 61 62 6c | is not |availabl|
|000045a0| 65 2c 20 73 6f 20 74 68 | 65 20 79 6c 61 62 65 6c |e, so th|e ylabel|
|000045b0| 20 69 73 20 69 6e 20 61 | 0d 0a 66 69 78 65 64 20 | is in a|..fixed |
|000045c0| 70 6f 73 69 74 69 6f 6e | 2e 20 0d 0a 5c 69 74 65 |position|. ..\ite|
|000045d0| 6d 20 54 68 65 20 7b 5c | 74 74 20 73 65 74 20 73 |m The {\|tt set s|
|000045e0| 69 7a 65 7d 20 63 6f 6d | 6d 61 6e 64 20 74 61 6b |ize} com|mand tak|
|000045f0| 65 73 20 61 20 70 61 69 | 72 20 6f 66 20 73 63 61 |es a pai|r of sca|
|00004600| 6c 65 20 66 61 63 74 6f | 72 73 2c 20 72 61 74 68 |le facto|rs, rath|
|00004610| 65 72 0d 0a 74 68 61 6e | 20 61 62 73 6f 6c 75 74 |er..than| absolut|
|00004620| 65 20 73 69 7a 65 73 2e | 20 54 68 65 20 64 65 66 |e sizes.| The def|
|00004630| 61 75 6c 74 20 73 69 7a | 65 20 69 73 20 35 20 69 |ault siz|e is 5 i|
|00004640| 6e 63 68 65 73 20 77 69 | 64 65 20 62 79 20 33 20 |nches wi|de by 3 |
|00004650| 69 6e 63 68 65 73 0d 0a | 68 69 67 68 2e 20 49 6e |inches..|high. In|
|00004660| 20 61 64 64 69 74 69 6f | 6e 2c 20 74 68 69 73 20 | additio|n, this |
|00004670| 73 69 7a 65 20 69 73 20 | 6e 6f 77 20 74 68 65 20 |size is |now the |
|00004680| 73 69 7a 65 20 6f 66 20 | 74 68 65 20 65 6e 74 69 |size of |the enti|
|00004690| 72 65 20 70 6c 6f 74 2c | 0d 0a 69 6e 63 6c 75 64 |re plot,|..includ|
|000046a0| 69 6e 67 20 6c 61 62 65 | 6c 73 2c 20 6e 6f 74 20 |ing labe|ls, not |
|000046b0| 6a 75 73 74 20 74 68 65 | 20 62 6f 78 20 64 65 66 |just the| box def|
|000046c0| 69 6e 69 6e 67 20 74 68 | 65 20 70 6c 6f 74 74 69 |ining th|e plotti|
|000046d0| 6e 67 20 61 72 65 61 2e | 20 53 6f 20 79 6f 75 0d |ng area.| So you.|
|000046e0| 0a 6e 65 65 64 20 74 6f | 20 73 70 65 63 69 66 79 |.need to| specify|
|000046f0| 20 61 20 73 69 7a 65 20 | 61 20 6c 69 74 74 6c 65 | a size |a little|
|00004700| 20 6c 61 72 67 65 72 20 | 74 68 61 6e 20 62 65 66 | larger |than bef|
|00004710| 6f 72 65 2c 20 69 6e 20 | 70 61 72 74 69 63 75 6c |ore, in |particul|
|00004720| 61 72 0d 0a 77 69 64 65 | 72 2e 20 54 68 65 20 65 |ar..wide|r. The e|
|00004730| 61 73 69 65 73 74 20 77 | 61 79 20 74 6f 20 63 6f |asiest w|ay to co|
|00004740| 6e 76 65 72 74 20 69 73 | 20 74 6f 20 75 73 65 20 |nvert is| to use |
|00004750| 74 68 65 20 74 72 61 6e | 73 6c 61 74 6f 72 20 28 |the tran|slator (|
|00004760| 73 65 65 0d 0a 62 65 6c | 6f 77 29 2e 20 0d 0a 5c |see..bel|ow). ..\|
|00004770| 69 74 65 6d 20 43 6c 69 | 70 70 69 6e 67 20 68 61 |item Cli|pping ha|
|00004780| 73 20 62 65 65 6e 20 65 | 78 70 61 6e 64 65 64 2e |s been e|xpanded.|
|00004790| 20 41 20 7b 5c 74 74 20 | 6c 69 6e 65 73 7d 2d 73 | A {\tt |lines}-s|
|000047a0| 74 79 6c 65 20 63 75 72 | 76 65 20 74 68 61 74 0d |tyle cur|ve that.|
|000047b0| 0a 63 72 6f 73 73 65 64 | 20 6f 75 74 20 6f 66 20 |.crossed| out of |
|000047c0| 74 68 65 20 70 6c 6f 74 | 74 69 6e 67 20 61 72 65 |the plot|ting are|
|000047d0| 61 20 75 73 65 64 20 74 | 6f 20 62 65 20 63 75 74 |a used t|o be cut|
|000047e0| 20 61 74 20 74 68 65 20 | 6c 61 73 74 20 69 6e 2d | at the |last in-|
|000047f0| 72 61 6e 67 65 0d 0a 70 | 6f 69 6e 74 2c 20 74 6f |range..p|oint, to|
|00004800| 20 62 65 20 63 6f 6e 74 | 69 6e 75 65 64 20 61 74 | be cont|inued at|
|00004810| 20 74 68 65 20 6e 65 78 | 74 20 69 6e 2d 72 61 6e | the nex|t in-ran|
|00004820| 67 65 20 70 6f 69 6e 74 | 2e 20 4e 6f 77 20 74 68 |ge point|. Now th|
|00004830| 65 20 63 75 72 76 65 20 | 69 73 0d 0a 64 72 61 77 |e curve |is..draw|
|00004840| 6e 20 66 72 6f 6d 20 74 | 68 65 20 6c 61 73 74 20 |n from t|he last |
|00004850| 69 6e 2d 72 61 6e 67 65 | 20 70 6f 69 6e 74 20 74 |in-range| point t|
|00004860| 6f 20 74 68 65 20 65 64 | 67 65 2c 20 74 6f 77 61 |o the ed|ge, towa|
|00004870| 72 64 20 74 68 65 0d 0a | 6f 75 74 2d 6f 66 2d 72 |rd the..|out-of-r|
|00004880| 61 6e 67 65 20 70 6f 69 | 6e 74 2e 20 53 69 6d 69 |ange poi|nt. Simi|
|00004890| 6c 61 72 6c 79 20 66 6f | 72 20 72 65 74 75 72 6e |larly fo|r return|
|000048a0| 69 6e 67 20 66 72 6f 6d | 20 6f 75 74 2d 6f 66 2d |ing from| out-of-|
|000048b0| 72 61 6e 67 65 20 74 6f | 0d 0a 69 6e 2d 72 61 6e |range to|..in-ran|
|000048c0| 67 65 2e 20 41 20 73 65 | 67 6d 65 6e 74 20 6f 66 |ge. A se|gment of|
|000048d0| 20 74 68 65 20 63 75 72 | 76 65 20 63 72 6f 73 73 | the cur|ve cross|
|000048e0| 69 6e 67 20 74 68 65 20 | 70 6c 6f 74 74 69 6e 67 |ing the |plotting|
|000048f0| 20 61 72 65 61 20 62 75 | 74 0d 0a 62 65 67 69 6e | area bu|t..begin|
|00004900| 6e 69 6e 67 20 6f 75 74 | 73 69 64 65 20 61 6e 64 |ning out|side and|
|00004910| 20 65 6e 64 69 6e 67 20 | 6f 75 74 73 69 64 65 20 | ending |outside |
|00004920| 6d 61 79 20 61 6c 73 6f | 20 62 65 20 73 68 6f 77 |may also| be show|
|00004930| 6e 2e 20 54 68 65 73 65 | 20 61 72 65 20 61 6c 6c |n. These| are all|
|00004940| 0d 0a 75 73 65 72 2d 63 | 6f 6e 74 72 6f 6c 6c 65 |..user-c|ontrolle|
|00004950| 64 2e 20 52 65 61 64 20 | 61 62 6f 75 74 20 7b 5c |d. Read |about {\|
|00004960| 74 74 20 73 65 74 20 63 | 6c 69 70 7d 2e 0d 0a 5c |tt set c|lip}...\|
|00004970| 69 74 65 6d 20 54 68 65 | 20 64 65 66 61 75 6c 74 |item The| default|
|00004980| 20 74 69 63 20 6c 61 62 | 65 6c 20 66 6f 72 6d 61 | tic lab|el forma|
|00004990| 74 20 69 73 20 60 60 5c | 25 67 27 27 2c 20 69 6e |t is ``\|%g'', in|
|000049a0| 73 74 65 61 64 20 6f 66 | 20 60 60 5c 24 5c 25 67 |stead of| ``\$\%g|
|000049b0| 5c 24 27 27 2e 0d 0a 5c | 69 74 65 6d 20 54 65 6e |\$''...\|item Ten|
|000049c0| 2d 70 6f 69 6e 74 20 72 | 6f 6d 61 6e 20 28 5c 76 |-point r|oman (\v|
|000049d0| 65 72 62 2b 5c 74 65 6e | 72 6d 2b 29 20 69 73 20 |erb+\ten|rm+) is |
|000049e0| 74 68 65 20 64 65 66 61 | 75 6c 74 20 66 6f 6e 74 |the defa|ult font|
|000049f0| 20 66 6f 72 20 61 6c 6c | 20 74 65 78 74 0d 0a 61 | for all| text..a|
|00004a00| 6e 64 20 73 79 6d 62 6f | 6c 73 20 69 6e 20 74 68 |nd symbo|ls in th|
|00004a10| 65 20 70 6c 6f 74 2e 20 | 0d 0a 5c 69 74 65 6d 20 |e plot. |..\item |
|00004a20| 4e 6f 6e 2d 69 6e 74 65 | 72 61 63 74 69 76 65 20 |Non-inte|ractive |
|00004a30| 62 65 68 61 76 69 6f 72 | 2c 20 69 6e 63 6c 75 64 |behavior|, includ|
|00004a40| 69 6e 67 20 65 72 72 6f | 72 20 6d 65 73 73 61 67 |ing erro|r messag|
|00004a50| 65 73 2c 20 68 61 73 20 | 62 65 65 6e 0d 0a 6d 75 |es, has |been..mu|
|00004a60| 63 68 20 69 6d 70 72 6f | 76 65 64 2e 20 49 6e 70 |ch impro|ved. Inp|
|00004a70| 75 74 20 66 69 6c 65 73 | 20 6d 61 79 20 62 65 20 |ut files| may be |
|00004a80| 73 70 65 63 69 66 69 65 | 64 20 61 73 20 63 6f 6d |specifie|d as com|
|00004a90| 6d 61 6e 64 2d 6c 69 6e | 65 20 61 72 67 75 6d 65 |mand-lin|e argume|
|00004aa0| 6e 74 73 2c 0d 0a 61 73 | 20 77 65 6c 6c 20 61 73 |nts,..as| well as|
|00004ab0| 20 74 68 72 6f 75 67 68 | 20 72 65 64 69 72 65 63 | through| redirec|
|00004ac0| 74 69 6f 6e 2e 0d 0a 5c | 69 74 65 6d 20 54 68 65 |tion...\|item The|
|00004ad0| 20 68 65 6c 70 20 73 79 | 73 74 65 6d 20 77 61 73 | help sy|stem was|
|00004ae0| 20 63 6f 6d 70 6c 65 74 | 65 6c 79 20 72 65 76 61 | complet|ely reva|
|00004af0| 6d 70 65 64 2e 0d 0a 5c | 69 74 65 6d 20 4e 65 77 |mped...\|item New|
|00004b00| 20 66 65 61 74 75 72 65 | 73 20 28 73 65 65 20 74 | feature|s (see t|
|00004b10| 68 65 20 47 4e 55 50 4c | 4f 54 20 6d 61 6e 75 61 |he GNUPL|OT manua|
|00004b20| 6c 29 3a 0d 0a 20 20 5c | 62 65 67 69 6e 7b 69 74 |l):.. \|begin{it|
|00004b30| 65 6d 69 7a 65 7d 0d 0a | 20 20 5c 69 74 65 6d 20 |emize}..| \item |
|00004b40| 54 68 65 20 7b 5c 74 74 | 20 72 65 70 6c 6f 74 7d |The {\tt| replot}|
|00004b50| 20 63 6f 6d 6d 61 6e 64 | 2e 0d 0a 20 20 5c 69 74 | command|... \it|
|00004b60| 65 6d 20 54 68 65 20 7b | 5c 74 74 20 73 61 76 65 |em The {|\tt save|
|00004b70| 7d 20 63 6f 6d 6d 61 6e | 64 20 68 61 73 20 62 65 |} comman|d has be|
|00004b80| 65 6e 20 65 78 70 61 6e | 64 65 64 2e 0d 0a 20 20 |en expan|ded... |
|00004b90| 5c 69 74 65 6d 20 54 68 | 65 20 66 61 63 74 6f 72 |\item Th|e factor|
|00004ba0| 69 61 6c 20 6f 70 65 72 | 61 74 6f 72 2e 0d 0a 20 |ial oper|ator... |
|00004bb0| 20 5c 69 74 65 6d 20 54 | 68 65 20 7b 5c 74 74 20 | \item T|he {\tt |
|00004bc0| 70 61 75 73 65 7d 20 63 | 6f 6d 6d 61 6e 64 2e 0d |pause} c|ommand..|
|00004bd0| 0a 20 20 5c 69 74 65 6d | 20 54 68 65 20 7b 5c 74 |. \item| The {\t|
|00004be0| 74 20 73 65 74 20 64 75 | 6d 6d 79 7d 20 63 6f 6d |t set du|mmy} com|
|00004bf0| 6d 61 6e 64 2e 0d 0a 20 | 20 5c 69 74 65 6d 20 54 |mand... | \item T|
|00004c00| 68 65 20 7b 5c 74 74 20 | 73 65 74 20 74 69 63 73 |he {\tt |set tics|
|00004c10| 7d 20 63 6f 6d 6d 61 6e | 64 2e 0d 0a 20 20 5c 69 |} comman|d... \i|
|00004c20| 74 65 6d 20 54 68 65 20 | 7b 5c 74 74 20 73 65 74 |tem The |{\tt set|
|00004c30| 20 78 74 69 63 73 7d 20 | 61 6e 64 20 7b 5c 74 74 | xtics} |and {\tt|
|00004c40| 20 73 65 74 20 79 74 69 | 63 73 7d 20 63 6f 6d 6d | set yti|cs} comm|
|00004c50| 61 6e 64 73 2e 0d 0a 20 | 20 5c 69 74 65 6d 20 54 |ands... | \item T|
|00004c60| 68 65 20 7b 5c 74 74 20 | 73 65 74 20 6f 66 66 73 |he {\tt |set offs|
|00004c70| 65 74 73 7d 20 63 6f 6d | 6d 61 6e 64 2e 0d 0a 20 |ets} com|mand... |
|00004c80| 20 5c 69 74 65 6d 20 54 | 68 65 20 7b 5c 74 74 20 | \item T|he {\tt |
|00004c90| 73 65 74 20 67 72 69 64 | 7d 20 63 6f 6d 6d 61 6e |set grid|} comman|
|00004ca0| 64 2e 0d 0a 20 20 5c 69 | 74 65 6d 20 54 68 65 20 |d... \i|tem The |
|00004cb0| 7b 5c 74 74 20 73 65 74 | 20 70 6f 6c 61 72 7d 20 |{\tt set| polar} |
|00004cc0| 63 6f 6d 6d 61 6e 64 2e | 0d 0a 20 20 5c 69 74 65 |command.|.. \ite|
|00004cd0| 6d 20 54 68 65 20 7b 5c | 74 74 20 74 69 74 6c 65 |m The {\|tt title|
|00004ce0| 7d 20 6f 70 74 69 6f 6e | 20 6f 6e 20 74 68 65 20 |} option| on the |
|00004cf0| 7b 5c 74 74 20 70 6c 6f | 74 7d 20 63 6f 6d 6d 61 |{\tt plo|t} comma|
|00004d00| 6e 64 20 74 6f 0d 0a 20 | 20 73 70 65 63 69 66 79 |nd to.. | specify|
|00004d10| 20 74 68 65 20 74 69 74 | 6c 65 20 6f 66 20 74 68 | the tit|le of th|
|00004d20| 65 20 63 75 72 76 65 20 | 28 66 6f 72 20 75 73 65 |e curve |(for use|
|00004d30| 20 69 6e 20 74 68 65 20 | 6b 65 79 29 2e 0d 0a 20 | in the |key)... |
|00004d40| 20 5c 69 74 65 6d 20 54 | 68 65 20 6c 69 6e 65 2d | \item T|he line-|
|00004d50| 74 79 70 65 20 61 6e 64 | 20 70 6f 69 6e 74 2d 74 |type and| point-t|
|00004d60| 79 70 65 20 6f 70 74 69 | 6f 6e 73 20 74 6f 20 74 |ype opti|ons to t|
|00004d70| 68 65 20 7b 5c 74 74 20 | 77 69 74 68 7d 20 6f 70 |he {\tt |with} op|
|00004d80| 74 69 6f 6e 0d 0a 20 20 | 6f 66 20 74 68 65 20 7b |tion.. |of the {|
|00004d90| 5c 74 74 20 70 6c 6f 74 | 7d 20 63 6f 6d 6d 61 6e |\tt plot|} comman|
|00004da0| 64 2e 20 0d 0a 20 20 5c | 69 74 65 6d 20 42 72 65 |d. .. \|item Bre|
|00004db0| 61 6b 73 20 61 72 65 20 | 73 70 65 63 69 66 69 65 |aks are |specifie|
|00004dc0| 64 20 69 6e 20 64 61 74 | 61 20 66 69 6c 65 73 20 |d in dat|a files |
|00004dd0| 77 69 74 68 20 62 6c 61 | 6e 6b 20 6c 69 6e 65 73 |with bla|nk lines|
|00004de0| 2e 0d 0a 20 20 5c 69 74 | 65 6d 20 54 68 65 20 6c |... \it|em The l|
|00004df0| 6f 67 69 63 61 6c 20 6f | 70 65 72 61 74 6f 72 73 |ogical o|perators|
|00004e00| 20 6e 6f 77 20 73 68 6f | 72 74 2d 63 69 72 63 75 | now sho|rt-circu|
|00004e10| 69 74 2c 20 74 68 75 73 | 20 0d 0a 5c 62 65 67 69 |it, thus| ..\begi|
|00004e20| 6e 7b 76 65 72 62 61 74 | 69 6d 7d 0d 0a 20 20 20 |n{verbat|im}.. |
|00004e30| 20 20 78 20 3d 20 34 0d | 0a 20 20 20 20 20 79 20 | x = 4.|. y |
|00004e40| 3d 20 28 78 20 21 3d 20 | 34 20 26 26 20 31 30 2f |= (x != |4 && 10/|
|00004e50| 28 78 2d 34 29 20 3c 20 | 30 29 20 0d 0a 5c 65 6e |(x-4) < |0) ..\en|
|00004e60| 64 7b 76 65 72 62 61 74 | 69 6d 7d 0d 0a 20 20 67 |d{verbat|im}.. g|
|00004e70| 69 76 65 73 20 79 20 61 | 20 76 61 6c 75 65 20 6f |ives y a| value o|
|00004e80| 66 20 66 61 6c 73 65 20 | 28 30 29 2c 20 69 6e 73 |f false |(0), ins|
|00004e90| 74 65 61 64 20 6f 66 20 | 63 61 75 73 69 6e 67 20 |tead of |causing |
|00004ea0| 61 6e 20 65 72 72 6f 72 | 2e 0d 0a 20 20 5c 65 6e |an error|... \en|
|00004eb0| 64 7b 69 74 65 6d 69 7a | 65 7d 0d 0a 0d 0a 5c 65 |d{itemiz|e}....\e|
|00004ec0| 6e 64 7b 69 74 65 6d 69 | 7a 65 7d 0d 0a 0d 0a 5c |nd{itemi|ze}....\|
|00004ed0| 73 75 62 73 65 63 74 69 | 6f 6e 7b 54 68 65 20 54 |subsecti|on{The T|
|00004ee0| 72 61 6e 73 6c 61 74 6f | 72 7d 0d 0a 49 20 68 61 |ranslato|r}..I ha|
|00004ef0| 76 65 20 70 72 6f 76 69 | 64 65 64 20 61 20 74 72 |ve provi|ded a tr|
|00004f00| 61 6e 73 6c 61 74 69 6f | 6e 20 70 72 6f 67 72 61 |anslatio|n progra|
|00004f10| 6d 2c 20 7b 5c 74 74 20 | 67 6e 75 74 32 70 7d 2c |m, {\tt |gnut2p},|
|00004f20| 20 74 6f 20 63 6f 6e 76 | 65 72 74 20 67 6e 75 74 | to conv|ert gnut|
|00004f30| 65 78 0d 0a 66 69 6c 65 | 73 20 74 6f 20 67 6e 75 |ex..file|s to gnu|
|00004f40| 70 6c 6f 74 20 66 69 6c | 65 73 2e 20 20 54 68 69 |plot fil|es. Thi|
|00004f50| 73 20 70 72 6f 67 72 61 | 6d 20 64 6f 65 73 20 69 |s progra|m does i|
|00004f60| 74 73 20 62 65 73 74 2c | 20 62 75 74 20 69 73 20 |ts best,| but is |
|00004f70| 6e 6f 74 0d 0a 70 65 72 | 66 65 63 74 2e 20 4d 6f |not..per|fect. Mo|
|00004f80| 73 74 20 6f 66 20 67 6e | 75 74 65 78 20 77 69 6c |st of gn|utex wil|
|00004f90| 6c 20 74 72 61 6e 73 6c | 61 74 65 20 64 69 72 65 |l transl|ate dire|
|00004fa0| 63 74 6c 79 2c 20 73 6f | 6d 65 20 74 68 69 6e 67 |ctly, so|me thing|
|00004fb0| 73 20 77 69 6c 6c 0d 0a | 74 72 61 6e 73 6c 61 74 |s will..|translat|
|00004fc0| 65 64 20 65 61 73 69 6c | 79 20 28 73 75 63 68 20 |ed easil|y (such |
|00004fd0| 61 73 20 7b 5c 74 74 20 | 73 65 74 20 73 69 7a 65 |as {\tt |set size|
|00004fe0| 7d 29 2c 20 62 75 74 20 | 73 6f 6d 65 20 74 68 69 |}), but |some thi|
|00004ff0| 6e 67 73 20 63 61 6e 6e | 6f 74 20 62 65 0d 0a 74 |ngs cann|ot be..t|
|00005000| 72 61 6e 73 6c 61 74 65 | 64 20 28 73 75 63 68 20 |ranslate|d (such |
|00005010| 61 73 20 7b 5c 74 74 20 | 73 65 74 20 73 74 79 6c |as {\tt |set styl|
|00005020| 65 7d 29 2e 20 20 54 68 | 69 73 20 70 72 6f 67 72 |e}). Th|is progr|
|00005030| 61 6d 20 6d 6f 76 65 73 | 20 70 6c 6f 74 0d 0a 63 |am moves| plot..c|
|00005040| 6f 6d 6d 61 6e 64 73 20 | 64 6f 77 6e 20 70 61 73 |ommands |down pas|
|00005050| 74 20 74 68 65 20 7b 5c | 74 74 20 6c 61 62 65 6c |t the {\|tt label|
|00005060| 7d 20 61 6e 64 20 7b 5c | 74 74 20 6b 65 79 7d 20 |} and {\|tt key} |
|00005070| 63 6f 6d 6d 61 6e 64 73 | 20 28 77 68 69 63 68 0d |commands| (which.|
|00005080| 0a 63 68 61 6e 67 65 20 | 69 6e 74 6f 20 7b 5c 74 |.change |into {\t|
|00005090| 74 20 73 65 74 20 6c 61 | 62 65 6c 7d 20 61 6e 64 |t set la|bel} and|
|000050a0| 20 7b 5c 74 74 20 73 65 | 74 20 6b 65 79 7d 20 63 | {\tt se|t key} c|
|000050b0| 6f 6d 6d 61 6e 64 73 29 | 2e 20 54 68 69 73 20 6d |ommands)|. This m|
|000050c0| 61 79 20 6d 6f 76 65 0d | 0a 69 74 20 70 61 73 74 |ay move.|.it past|
|000050d0| 20 6f 74 68 65 72 20 63 | 6f 6d 6d 61 6e 64 73 2e | other c|ommands.|
|000050e0| 20 49 66 20 69 74 20 6d | 6f 76 65 73 20 70 61 73 | If it m|oves pas|
|000050f0| 74 20 76 61 72 69 61 62 | 6c 65 20 6f 72 20 66 75 |t variab|le or fu|
|00005100| 6e 63 74 69 6f 6e 0d 0a | 64 65 66 69 6e 69 74 69 |nction..|definiti|
|00005110| 6f 6e 73 2c 20 7b 5c 74 | 74 20 73 65 74 7d 20 63 |ons, {\t|t set} c|
|00005120| 6f 6d 6d 61 6e 64 73 2c | 20 6f 72 20 6f 74 68 65 |ommands,| or othe|
|00005130| 72 20 63 6f 6d 6d 61 6e | 64 73 20 77 68 69 63 68 |r comman|ds which|
|00005140| 20 61 66 66 65 63 74 20 | 74 68 65 0d 0a 70 6c 6f | affect |the..plo|
|00005150| 74 20 63 6f 6d 6d 61 6e | 64 27 73 20 65 78 65 63 |t comman|d's exec|
|00005160| 75 74 69 6f 6e 2c 20 74 | 68 65 6e 20 74 68 65 20 |ution, t|hen the |
|00005170| 6e 65 77 20 76 65 72 73 | 69 6f 6e 20 77 69 6c 6c |new vers|ion will|
|00005180| 20 62 65 20 69 6e 63 6f | 72 72 65 63 74 2e 20 49 | be inco|rrect. I|
|00005190| 0d 0a 65 78 70 65 63 74 | 20 74 68 69 73 20 63 61 |..expect| this ca|
|000051a0| 73 65 20 74 6f 20 62 65 | 20 72 61 72 65 3b 20 69 |se to be| rare; i|
|000051b0| 6e 64 65 65 64 2c 20 49 | 20 67 65 6e 65 72 61 6c |ndeed, I| general|
|000051c0| 6c 79 20 65 78 70 65 63 | 74 20 74 68 65 20 6c 61 |ly expec|t the la|
|000051d0| 73 74 20 6c 69 6e 65 73 | 0d 0a 69 6e 20 47 6e 75 |st lines|..in Gnu|
|000051e0| 5c 54 65 58 5c 20 69 6e | 70 75 74 20 66 69 6c 65 |\TeX\ in|put file|
|000051f0| 73 20 75 73 65 64 20 77 | 69 74 68 20 5c 4c 61 54 |s used w|ith \LaT|
|00005200| 65 58 5c 20 74 6f 20 63 | 6f 6e 73 69 73 74 20 6f |eX\ to c|onsist o|
|00005210| 66 20 7b 5c 74 74 20 70 | 6c 6f 74 2c 0d 0a 6c 61 |f {\tt p|lot,..la|
|00005220| 62 65 6c 2c 7d 20 61 6e | 64 20 7b 5c 74 74 20 6b |bel,} an|d {\tt k|
|00005230| 65 79 7d 20 63 6f 6d 6d | 61 6e 64 73 2e 0d 0a 0d |ey} comm|ands....|
|00005240| 0a 54 68 65 20 75 73 61 | 67 65 20 6f 66 20 74 68 |.The usa|ge of th|
|00005250| 69 73 20 70 72 6f 67 72 | 61 6d 20 69 73 20 73 69 |is progr|am is si|
|00005260| 6d 70 6c 65 3a 20 0d 0a | 5c 62 65 67 69 6e 7b 76 |mple: ..|\begin{v|
|00005270| 65 72 62 61 74 69 6d 7d | 0d 0a 20 20 20 67 6e 75 |erbatim}|.. gnu|
|00005280| 74 32 70 20 69 6e 66 69 | 6c 65 20 6f 75 74 66 69 |t2p infi|le outfi|
|00005290| 6c 65 0d 0a 5c 65 6e 64 | 7b 76 65 72 62 61 74 69 |le..\end|{verbati|
|000052a0| 6d 7d 0d 0a 7b 5c 74 74 | 20 69 6e 66 69 6c 65 7d |m}..{\tt| infile}|
|000052b0| 20 69 73 20 61 6e 20 65 | 78 69 73 74 69 6e 67 20 | is an e|xisting |
|000052c0| 47 6e 75 5c 54 65 58 5c | 20 66 69 6c 65 2c 20 61 |Gnu\TeX\| file, a|
|000052d0| 6e 64 20 7b 5c 74 74 20 | 6f 75 74 66 69 6c 65 7d |nd {\tt |outfile}|
|000052e0| 20 77 69 6c 6c 20 62 65 | 0d 0a 63 72 65 61 74 65 | will be|..create|
|000052f0| 64 20 61 73 20 74 68 65 | 20 47 4e 55 50 4c 4f 54 |d as the| GNUPLOT|
|00005300| 20 65 71 75 69 76 61 6c | 65 6e 74 2e 20 54 68 65 | equival|ent. The|
|00005310| 20 65 72 72 6f 72 73 2c | 20 77 61 72 6e 69 6e 67 | errors,| warning|
|00005320| 73 2c 20 61 6e 64 0d 0a | 65 78 70 6c 61 6e 61 74 |s, and..|explanat|
|00005330| 6f 72 79 20 63 6f 6d 6d | 65 6e 74 73 20 61 70 70 |ory comm|ents app|
|00005340| 65 61 72 20 6f 6e 20 73 | 74 64 65 72 72 2e 20 41 |ear on s|tderr. A|
|00005350| 6e 79 20 75 73 65 20 6f | 66 20 6c 69 6e 65 20 63 |ny use o|f line c|
|00005360| 6f 6e 74 69 6e 75 61 74 | 69 6f 6e 0d 0a 77 69 6c |ontinuat|ion..wil|
|00005370| 6c 20 62 65 20 6c 6f 73 | 74 2c 20 61 6e 64 20 73 |l be los|t, and s|
|00005380| 6f 6d 65 20 69 6e 73 74 | 61 6e 63 65 73 20 6f 66 |ome inst|ances of|
|00005390| 20 74 68 65 20 69 6e 70 | 75 74 20 73 74 79 6c 65 | the inp|ut style|
|000053a0| 20 28 5c 65 67 2c 20 77 | 68 69 74 65 20 73 70 61 | (\eg, w|hite spa|
|000053b0| 63 65 29 0d 0a 6d 61 79 | 20 62 65 20 63 68 61 6e |ce)..may| be chan|
|000053c0| 67 65 64 2e 0d 0a 0d 0a | 5c 73 65 63 74 69 6f 6e |ged.....|\section|
|000053d0| 7b 43 6f 6e 74 61 63 74 | 7d 0d 0a 50 6c 65 61 73 |{Contact|}..Pleas|
|000053e0| 65 20 63 6f 6e 74 61 63 | 74 20 6d 65 20 61 74 20 |e contac|t me at |
|000053f0| 5c 76 65 72 62 2b 64 66 | 6b 40 63 73 2e 64 75 6b |\verb+df|k@cs.duk|
|00005400| 65 2e 65 64 75 2b 20 77 | 69 74 68 20 61 6e 79 20 |e.edu+ w|ith any |
|00005410| 63 6f 6d 6d 65 6e 74 73 | 20 79 6f 75 20 6d 61 79 |comments| you may|
|00005420| 0d 0a 68 61 76 65 20 6f | 6e 20 47 4e 55 50 4c 4f |..have o|n GNUPLO|
|00005430| 54 27 73 20 5c 4c 61 54 | 65 58 5c 20 64 72 69 76 |T's \LaT|eX\ driv|
|00005440| 65 72 2e 20 46 6f 72 20 | 67 65 6e 65 72 61 6c 20 |er. For |general |
|00005450| 47 4e 55 50 4c 4f 54 20 | 71 75 65 73 74 69 6f 6e |GNUPLOT |question|
|00005460| 73 2c 20 73 65 6e 64 0d | 0a 6d 61 69 6c 20 74 6f |s, send.|.mail to|
|00005470| 20 74 68 65 20 47 4e 55 | 50 4c 4f 54 20 6d 61 69 | the GNU|PLOT mai|
|00005480| 6c 69 6e 67 20 6c 69 73 | 74 0d 0a 28 5c 76 65 72 |ling lis|t..(\ver|
|00005490| 62 2b 70 69 78 61 72 21 | 69 6e 66 6f 2d 67 6e 75 |b+pixar!|info-gnu|
|000054a0| 70 6c 6f 74 40 75 63 62 | 76 61 78 2e 62 65 72 6b |plot@ucb|vax.berk|
|000054b0| 65 6c 65 79 2e 65 64 75 | 2b 29 2e 20 0d 0a 0d 0a |eley.edu|+). ....|
|000054c0| 0d 0a 5c 65 6e 64 7b 64 | 6f 63 75 6d 65 6e 74 7d |..\end{d|ocument}|
|000054d0| 0d 0a 1a | |... | |
+--------+-------------------------+-------------------------+--------+--------+