home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Archives / GNU / GNUPLOTdoc.lha / docs / gnuplot.tex < prev    next >
LaTeX Document  |  1996-01-30  |  165.5 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
100% dexvert Texinfo Document (document/texInfo) magic Supported
1% dexvert Corel 10 Texture (image/corel10Texture) ext Unsupported
1% dexvert Croteam texture file (image/croteamTextureFile) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX document text default
99% file TeX document text default
98% file LaTeX document, ASCII text default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/281 LaTeX (Subdocument) default
100% detectItEasy Format: plain text[LF] default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 69 6e 70 75 74 7b 74 | 69 74 6c 65 70 61 67 2e |\input{t|itlepag.|
|00000010| 74 65 78 7d 0a 5c 73 65 | 63 74 69 6f 6e 7b 47 6e |tex}.\se|ction{Gn|
|00000020| 75 70 6c 6f 74 7d 0a 7b | 5c 62 66 20 67 6e 75 70 |uplot}.{|\bf gnup|
|00000030| 6c 6f 74 7d 20 69 73 20 | 61 20 63 6f 6d 6d 61 6e |lot} is |a comman|
|00000040| 64 2d 64 72 69 76 65 6e | 20 69 6e 74 65 72 61 63 |d-driven| interac|
|00000050| 74 69 76 65 20 66 75 6e | 63 74 69 6f 6e 20 61 6e |tive fun|ction an|
|00000060| 64 20 64 61 74 61 20 70 | 6c 6f 74 74 69 6e 67 20 |d data p|lotting |
|00000070| 70 72 6f 67 72 61 6d 2e | 0a 0a 46 6f 72 20 68 65 |program.|..For he|
|00000080| 6c 70 20 6f 6e 20 61 6e | 79 20 74 6f 70 69 63 2c |lp on an|y topic,|
|00000090| 20 74 79 70 65 20 7b 5c | 62 66 20 68 65 6c 70 7d | type {\|bf help}|
|000000a0| 20 66 6f 6c 6c 6f 77 65 | 64 20 62 79 20 74 68 65 | followe|d by the|
|000000b0| 20 6e 61 6d 65 20 6f 66 | 20 74 68 65 20 74 6f 70 | name of| the top|
|000000c0| 69 63 2e 20 20 49 66 20 | 74 68 65 0a 70 72 65 63 |ic. If |the.prec|
|000000d0| 69 73 65 20 6e 61 6d 65 | 20 6f 66 20 74 68 65 20 |ise name| of the |
|000000e0| 74 6f 70 69 63 20 69 73 | 20 6e 6f 74 20 6b 6e 6f |topic is| not kno|
|000000f0| 77 6e 2c 20 74 79 70 65 | 20 7b 5c 62 66 20 68 65 |wn, type| {\bf he|
|00000100| 6c 70 7d 20 61 6e 64 20 | 61 20 6d 65 6e 75 20 77 |lp} and |a menu w|
|00000110| 69 6c 6c 20 62 65 20 67 | 69 76 65 6e 2e 0a 54 79 |ill be g|iven..Ty|
|00000120| 70 69 6e 67 20 61 20 71 | 75 65 73 74 69 6f 6e 20 |ping a q|uestion |
|00000130| 6d 61 72 6b 20 7b 5c 62 | 66 20 3f 7d 20 61 66 74 |mark {\b|f ?} aft|
|00000140| 65 72 20 61 6e 79 20 7b | 5c 62 66 20 68 65 6c 70 |er any {|\bf help|
|00000150| 7d 20 70 72 6f 6d 70 74 | 20 77 69 6c 6c 20 63 61 |} prompt| will ca|
|00000160| 75 73 65 20 74 68 65 20 | 6d 65 6e 75 20 74 6f 20 |use the |menu to |
|00000170| 62 65 0a 6c 69 73 74 65 | 64 20 61 67 61 69 6e 2e |be.liste|d again.|
|00000180| 0a 0a 54 68 65 20 6e 65 | 77 20 7b 5c 62 66 20 67 |..The ne|w {\bf g|
|00000190| 6e 75 70 6c 6f 74 7d 20 | 75 73 65 72 20 73 68 6f |nuplot} |user sho|
|000001a0| 75 6c 64 20 62 65 67 69 | 6e 20 62 79 20 72 65 61 |uld begi|n by rea|
|000001b0| 64 69 6e 67 20 74 68 65 | 20 7b 5c 62 66 20 69 6e |ding the| {\bf in|
|000001c0| 74 72 6f 64 75 63 74 69 | 6f 6e 7d 20 74 6f 70 69 |troducti|on} topi|
|000001d0| 63 20 28 73 65 65 0a 7b | 5c 62 66 20 68 65 6c 70 |c (see.{|\bf help|
|000001e0| 20 69 6e 74 72 6f 64 75 | 63 74 69 6f 6e 7d 29 20 | introdu|ction}) |
|000001f0| 61 6e 64 20 74 68 65 20 | 7b 5c 62 66 20 70 6c 6f |and the |{\bf plo|
|00000200| 74 7d 20 74 6f 70 69 63 | 20 28 73 65 65 20 7b 5c |t} topic| (see {\|
|00000210| 62 66 20 68 65 6c 70 20 | 70 6c 6f 74 7d 29 2e 20 |bf help |plot}). |
|00000220| 20 41 64 64 69 74 69 6f | 6e 61 6c 20 68 65 6c 70 | Additio|nal help|
|00000230| 0a 63 61 6e 20 62 65 20 | 6f 62 74 61 69 6e 65 64 |.can be |obtained|
|00000240| 20 66 72 6f 6d 20 74 68 | 65 20 55 53 45 4e 45 54 | from th|e USENET|
|00000250| 20 6e 65 77 73 67 72 6f | 75 70 20 63 6f 6d 70 2e | newsgro|up comp.|
|00000260| 67 72 61 70 68 69 63 73 | 2e 61 70 70 73 2e 67 6e |graphics|.apps.gn|
|00000270| 75 70 6c 6f 74 2e 0a 0a | 5c 73 65 63 74 69 6f 6e |uplot...|\section|
|00000280| 7b 43 6f 70 79 72 69 67 | 68 74 7d 0a 5c 62 65 67 |{Copyrig|ht}.\beg|
|00000290| 69 6e 7b 76 65 72 62 61 | 74 69 6d 7d 0a 20 20 20 |in{verba|tim}. |
|000002a0| 20 20 43 6f 70 79 72 69 | 67 68 74 20 28 43 29 20 | Copyri|ght (C) |
|000002b0| 31 39 38 36 20 2d 20 31 | 39 39 33 20 20 20 54 68 |1986 - 1|993 Th|
|000002c0| 6f 6d 61 73 20 57 69 6c | 6c 69 61 6d 73 2c 20 43 |omas Wil|liams, C|
|000002d0| 6f 6c 69 6e 20 4b 65 6c | 6c 65 79 0a 5c 65 6e 64 |olin Kel|ley.\end|
|000002e0| 7b 76 65 72 62 61 74 69 | 6d 7d 0a 0a 50 65 72 6d |{verbati|m}..Perm|
|000002f0| 69 73 73 69 6f 6e 20 74 | 6f 20 75 73 65 2c 20 63 |ission t|o use, c|
|00000300| 6f 70 79 2c 20 61 6e 64 | 20 64 69 73 74 72 69 62 |opy, and| distrib|
|00000310| 75 74 65 20 74 68 69 73 | 20 73 6f 66 74 77 61 72 |ute this| softwar|
|00000320| 65 20 61 6e 64 20 69 74 | 73 20 64 6f 63 75 6d 65 |e and it|s docume|
|00000330| 6e 74 61 74 69 6f 6e 0a | 66 6f 72 20 61 6e 79 20 |ntation.|for any |
|00000340| 70 75 72 70 6f 73 65 20 | 77 69 74 68 20 6f 72 20 |purpose |with or |
|00000350| 77 69 74 68 6f 75 74 20 | 66 65 65 20 69 73 20 68 |without |fee is h|
|00000360| 65 72 65 62 79 20 67 72 | 61 6e 74 65 64 2c 20 70 |ereby gr|anted, p|
|00000370| 72 6f 76 69 64 65 64 20 | 74 68 61 74 20 74 68 65 |rovided |that the|
|00000380| 0a 61 62 6f 76 65 20 63 | 6f 70 79 72 69 67 68 74 |.above c|opyright|
|00000390| 20 6e 6f 74 69 63 65 20 | 61 70 70 65 61 72 73 20 | notice |appears |
|000003a0| 69 6e 20 61 6c 6c 20 63 | 6f 70 69 65 73 20 61 6e |in all c|opies an|
|000003b0| 64 20 74 68 61 74 20 62 | 6f 74 68 20 74 68 61 74 |d that b|oth that|
|000003c0| 20 63 6f 70 79 72 69 67 | 68 74 0a 6e 6f 74 69 63 | copyrig|ht.notic|
|000003d0| 65 20 61 6e 64 20 74 68 | 69 73 20 70 65 72 6d 69 |e and th|is permi|
|000003e0| 73 73 69 6f 6e 20 6e 6f | 74 69 63 65 20 61 70 70 |ssion no|tice app|
|000003f0| 65 61 72 20 69 6e 20 73 | 75 70 70 6f 72 74 69 6e |ear in s|upportin|
|00000400| 67 20 64 6f 63 75 6d 65 | 6e 74 61 74 69 6f 6e 2e |g docume|ntation.|
|00000410| 0a 0a 50 65 72 6d 69 73 | 73 69 6f 6e 20 74 6f 20 |..Permis|sion to |
|00000420| 6d 6f 64 69 66 79 20 74 | 68 65 20 73 6f 66 74 77 |modify t|he softw|
|00000430| 61 72 65 20 69 73 20 67 | 72 61 6e 74 65 64 2c 20 |are is g|ranted, |
|00000440| 62 75 74 20 6e 6f 74 20 | 74 68 65 20 72 69 67 68 |but not |the righ|
|00000450| 74 20 74 6f 20 64 69 73 | 74 72 69 62 75 74 65 0a |t to dis|tribute.|
|00000460| 74 68 65 20 6d 6f 64 69 | 66 69 65 64 20 63 6f 64 |the modi|fied cod|
|00000470| 65 2e 20 20 4d 6f 64 69 | 66 69 63 61 74 69 6f 6e |e. Modi|fication|
|00000480| 73 20 61 72 65 20 74 6f | 20 62 65 20 64 69 73 74 |s are to| be dist|
|00000490| 72 69 62 75 74 65 64 20 | 61 73 20 70 61 74 63 68 |ributed |as patch|
|000004a0| 65 73 20 74 6f 20 74 68 | 65 0a 72 65 6c 65 61 73 |es to th|e.releas|
|000004b0| 65 64 20 76 65 72 73 69 | 6f 6e 2e 0a 0a 54 68 69 |ed versi|on...Thi|
|000004c0| 73 20 73 6f 66 74 77 61 | 72 65 20 69 73 20 70 72 |s softwa|re is pr|
|000004d0| 6f 76 69 64 65 64 20 60 | 60 61 73 20 69 73 27 27 |ovided `|`as is''|
|000004e0| 20 77 69 74 68 6f 75 74 | 20 65 78 70 72 65 73 73 | without| express|
|000004f0| 20 6f 72 20 69 6d 70 6c | 69 65 64 20 77 61 72 72 | or impl|ied warr|
|00000500| 61 6e 74 79 2e 0a 0a 0a | 5c 62 65 67 69 6e 7b 76 |anty....|\begin{v|
|00000510| 65 72 62 61 74 69 6d 7d | 0a 20 20 41 55 54 48 4f |erbatim}|. AUTHO|
|00000520| 52 53 0a 5c 65 6e 64 7b | 76 65 72 62 61 74 69 6d |RS.\end{|verbatim|
|00000530| 7d 0a 0a 5c 62 65 67 69 | 6e 7b 76 65 72 62 61 74 |}..\begi|n{verbat|
|00000540| 69 6d 7d 0a 20 20 20 20 | 4f 72 69 67 69 6e 61 6c |im}. |Original|
|00000550| 20 53 6f 66 74 77 61 72 | 65 3a 0a 20 20 20 20 20 | Softwar|e:. |
|00000560| 20 54 68 6f 6d 61 73 20 | 57 69 6c 6c 69 61 6d 73 | Thomas |Williams|
|00000570| 2c 20 20 43 6f 6c 69 6e | 20 4b 65 6c 6c 65 79 2e |, Colin| Kelley.|
|00000580| 0a 5c 65 6e 64 7b 76 65 | 72 62 61 74 69 6d 7d 0a |.\end{ve|rbatim}.|
|00000590| 0a 5c 62 65 67 69 6e 7b | 76 65 72 62 61 74 69 6d |.\begin{|verbatim|
|000005a0| 7d 0a 20 20 20 20 47 6e | 75 70 6c 6f 74 20 32 2e |}. Gn|uplot 2.|
|000005b0| 30 20 61 64 64 69 74 69 | 6f 6e 73 3a 0a 20 20 20 |0 additi|ons:. |
|000005c0| 20 20 20 20 20 52 75 73 | 73 65 6c 6c 20 4c 61 6e | Rus|sell Lan|
|000005d0| 67 2c 20 44 61 76 65 20 | 4b 6f 74 7a 2c 20 4a 6f |g, Dave |Kotz, Jo|
|000005e0| 68 6e 20 43 61 6d 70 62 | 65 6c 6c 2e 0a 5c 65 6e |hn Campb|ell..\en|
|000005f0| 64 7b 76 65 72 62 61 74 | 69 6d 7d 0a 0a 5c 62 65 |d{verbat|im}..\be|
|00000600| 67 69 6e 7b 76 65 72 62 | 61 74 69 6d 7d 0a 20 20 |gin{verb|atim}. |
|00000610| 20 20 47 6e 75 70 6c 6f | 74 20 33 2e 30 20 61 64 | Gnuplo|t 3.0 ad|
|00000620| 64 69 74 69 6f 6e 73 3a | 0a 20 20 20 20 20 20 20 |ditions:|. |
|00000630| 20 47 65 72 73 68 6f 6e | 20 45 6c 62 65 72 20 61 | Gershon| Elber a|
|00000640| 6e 64 20 6d 61 6e 79 20 | 6f 74 68 65 72 73 2e 0a |nd many |others..|
|00000650| 5c 65 6e 64 7b 76 65 72 | 62 61 74 69 6d 7d 0a 0a |\end{ver|batim}..|
|00000660| 5c 73 65 63 74 69 6f 6e | 7b 53 65 65 6b 69 6e 67 |\section|{Seeking|
|00000670| 2d 61 73 73 69 73 74 61 | 6e 63 65 7d 0a 54 68 65 |-assista|nce}.The|
|00000680| 72 65 20 69 73 20 61 20 | 6d 61 69 6c 69 6e 67 20 |re is a |mailing |
|00000690| 6c 69 73 74 20 66 6f 72 | 20 7b 5c 62 66 20 67 6e |list for| {\bf gn|
|000006a0| 75 70 6c 6f 74 7d 20 75 | 73 65 72 73 2e 20 20 4e |uplot} u|sers. N|
|000006b0| 6f 74 65 2c 20 68 6f 77 | 65 76 65 72 2c 20 74 68 |ote, how|ever, th|
|000006c0| 61 74 20 74 68 65 0a 6e | 65 77 73 67 72 6f 75 70 |at the.n|ewsgroup|
|000006d0| 0a 5c 62 65 67 69 6e 7b | 76 65 72 62 61 74 69 6d |.\begin{|verbatim|
|000006e0| 7d 0a 20 20 20 20 20 20 | 20 20 63 6f 6d 70 2e 67 |}. | comp.g|
|000006f0| 72 61 70 68 69 63 73 2e | 61 70 70 73 2e 67 6e 75 |raphics.|apps.gnu|
|00000700| 70 6c 6f 74 0a 5c 65 6e | 64 7b 76 65 72 62 61 74 |plot.\en|d{verbat|
|00000710| 69 6d 7d 0a 69 73 20 69 | 64 65 6e 74 69 63 61 6c |im}.is i|dentical|
|00000720| 20 74 6f 20 74 68 65 20 | 6d 61 69 6c 69 6e 67 20 | to the |mailing |
|00000730| 6c 69 73 74 20 28 74 68 | 65 79 20 62 6f 74 68 20 |list (th|ey both |
|00000740| 63 61 72 72 79 20 74 68 | 65 20 73 61 6d 65 20 73 |carry th|e same s|
|00000750| 65 74 20 6f 66 20 6d 65 | 73 73 61 67 65 73 29 2e |et of me|ssages).|
|00000760| 0a 57 65 20 70 72 65 66 | 65 72 20 74 68 61 74 20 |.We pref|er that |
|00000770| 79 6f 75 20 72 65 61 64 | 20 74 68 65 20 6d 65 73 |you read| the mes|
|00000780| 73 61 67 65 73 20 74 68 | 72 6f 75 67 68 20 74 68 |sages th|rough th|
|00000790| 65 20 6e 65 77 73 67 72 | 6f 75 70 20 72 61 74 68 |e newsgr|oup rath|
|000007a0| 65 72 20 74 68 61 6e 0a | 73 75 62 73 63 72 69 62 |er than.|subscrib|
|000007b0| 69 6e 67 20 74 6f 20 74 | 68 65 20 6d 61 69 6c 69 |ing to t|he maili|
|000007c0| 6e 67 20 6c 69 73 74 2e | 20 20 41 64 6d 69 6e 69 |ng list.| Admini|
|000007d0| 73 74 72 61 74 69 76 65 | 20 72 65 71 75 65 73 74 |strative| request|
|000007e0| 73 20 73 68 6f 75 6c 64 | 20 62 65 20 73 65 6e 74 |s should| be sent|
|000007f0| 20 74 6f 0a 5c 62 65 67 | 69 6e 7b 76 65 72 62 61 | to.\beg|in{verba|
|00000800| 74 69 6d 7d 0a 20 20 20 | 6d 61 6a 6f 72 64 6f 6d |tim}. |majordom|
|00000810| 6f 40 64 61 72 74 6d 6f | 75 74 68 2e 65 64 75 0a |o@dartmo|uth.edu.|
|00000820| 5c 65 6e 64 7b 76 65 72 | 62 61 74 69 6d 7d 0a 53 |\end{ver|batim}.S|
|00000830| 65 6e 64 20 61 20 6d 65 | 73 73 61 67 65 20 77 69 |end a me|ssage wi|
|00000840| 74 68 20 74 68 65 20 62 | 6f 64 79 20 28 6e 6f 74 |th the b|ody (not|
|00000850| 20 74 68 65 20 73 75 62 | 6a 65 63 74 29 20 63 6f | the sub|ject) co|
|00000860| 6e 73 69 73 74 69 6e 67 | 20 6f 66 20 74 68 65 20 |nsisting| of the |
|00000870| 73 69 6e 67 6c 65 20 77 | 6f 72 64 0a 60 60 68 65 |single w|ord.``he|
|00000880| 6c 70 27 27 20 28 77 69 | 74 68 6f 75 74 20 74 68 |lp'' (wi|thout th|
|00000890| 65 20 71 75 6f 74 65 73 | 29 20 66 6f 72 20 6d 6f |e quotes|) for mo|
|000008a0| 72 65 20 64 65 74 61 69 | 6c 73 2e 0a 0a 54 68 65 |re detai|ls...The|
|000008b0| 20 61 64 64 72 65 73 73 | 20 66 6f 72 20 6d 61 69 | address| for mai|
|000008c0| 6c 69 6e 67 20 74 6f 20 | 6c 69 73 74 20 6d 65 6d |ling to |list mem|
|000008d0| 62 65 72 73 20 69 73 3a | 0a 5c 62 65 67 69 6e 7b |bers is:|.\begin{|
|000008e0| 76 65 72 62 61 74 69 6d | 7d 0a 20 20 69 6e 66 6f |verbatim|}. info|
|000008f0| 2d 67 6e 75 70 6c 6f 74 | 40 64 61 72 74 6d 6f 75 |-gnuplot|@dartmou|
|00000900| 74 68 2e 65 64 75 0a 5c | 65 6e 64 7b 76 65 72 62 |th.edu.\|end{verb|
|00000910| 61 74 69 6d 7d 0a 0a 42 | 75 67 20 72 65 70 6f 72 |atim}..B|ug repor|
|00000920| 74 73 20 61 6e 64 20 63 | 6f 64 65 20 63 6f 6e 74 |ts and c|ode cont|
|00000930| 72 69 62 75 74 69 6f 6e | 73 20 73 68 6f 75 6c 64 |ribution|s should|
|00000940| 20 62 65 20 6d 61 69 6c | 65 64 20 74 6f 3a 0a 5c | be mail|ed to:.\|
|00000950| 62 65 67 69 6e 7b 76 65 | 72 62 61 74 69 6d 7d 0a |begin{ve|rbatim}.|
|00000960| 20 20 62 75 67 2d 67 6e | 75 70 6c 6f 74 40 64 61 | bug-gn|uplot@da|
|00000970| 72 74 6d 6f 75 74 68 2e | 65 64 75 0a 5c 65 6e 64 |rtmouth.|edu.\end|
|00000980| 7b 76 65 72 62 61 74 69 | 6d 7d 0a 0a 54 68 65 20 |{verbati|m}..The |
|00000990| 6c 69 73 74 20 6f 66 20 | 74 68 6f 73 65 20 69 6e |list of |those in|
|000009a0| 74 65 72 65 73 74 65 64 | 20 69 6e 20 62 65 74 61 |terested| in beta|
|000009b0| 2d 74 65 73 74 20 76 65 | 72 73 69 6f 6e 73 20 69 |-test ve|rsions i|
|000009c0| 73 3a 0a 5c 62 65 67 69 | 6e 7b 76 65 72 62 61 74 |s:.\begi|n{verbat|
|000009d0| 69 6d 7d 0a 20 20 69 6e | 66 6f 2d 67 6e 75 70 6c |im}. in|fo-gnupl|
|000009e0| 6f 74 2d 62 65 74 61 40 | 64 61 72 74 6d 6f 75 74 |ot-beta@|dartmout|
|000009f0| 68 2e 65 64 75 0a 5c 65 | 6e 64 7b 76 65 72 62 61 |h.edu.\e|nd{verba|
|00000a00| 74 69 6d 7d 0a 0a 54 68 | 65 72 65 20 69 73 20 61 |tim}..Th|ere is a|
|00000a10| 6c 73 6f 20 61 20 57 6f | 72 6c 64 20 57 69 64 65 |lso a Wo|rld Wide|
|00000a20| 20 57 65 62 20 70 61 67 | 65 20 77 69 74 68 20 75 | Web pag|e with u|
|00000a30| 70 2d 74 6f 2d 64 61 74 | 65 20 69 6e 66 6f 72 6d |p-to-dat|e inform|
|00000a40| 61 74 69 6f 6e 2c 20 69 | 6e 63 6c 75 64 69 6e 67 |ation, i|ncluding|
|00000a50| 0a 6b 6e 6f 77 6e 20 62 | 75 67 73 3a 0a 5c 62 65 |.known b|ugs:.\be|
|00000a60| 67 69 6e 7b 76 65 72 62 | 61 74 69 6d 7d 0a 20 20 |gin{verb|atim}. |
|00000a70| 20 68 74 74 70 3a 2f 2f | 77 77 77 2e 63 73 2e 64 | http://|www.cs.d|
|00000a80| 61 72 74 6d 6f 75 74 68 | 2e 65 64 75 2f 67 6e 75 |artmouth|.edu/gnu|
|00000a90| 70 6c 6f 74 0a 5c 65 6e | 64 7b 76 65 72 62 61 74 |plot.\en|d{verbat|
|00000aa0| 69 6d 7d 0a 0a 42 65 66 | 6f 72 65 20 73 65 65 6b |im}..Bef|ore seek|
|00000ab0| 69 6e 67 20 68 65 6c 70 | 2c 20 70 6c 65 61 73 65 |ing help|, please|
|00000ac0| 20 63 68 65 63 6b 20 74 | 68 65 20 46 41 51 20 28 | check t|he FAQ (|
|00000ad0| 46 72 65 71 75 65 6e 74 | 6c 79 20 41 73 6b 65 64 |Frequent|ly Asked|
|00000ae0| 20 51 75 65 73 74 69 6f | 6e 73 29 20 6c 69 73 74 | Questio|ns) list|
|00000af0| 2e 0a 49 66 20 79 6f 75 | 20 64 6f 20 6e 6f 74 20 |..If you| do not |
|00000b00| 68 61 76 65 20 61 20 63 | 6f 70 79 20 6f 66 20 74 |have a c|opy of t|
|00000b10| 68 65 20 46 41 51 2c 20 | 79 6f 75 20 6d 61 79 20 |he FAQ, |you may |
|00000b20| 72 65 71 75 65 73 74 20 | 61 20 63 6f 70 79 20 62 |request |a copy b|
|00000b30| 79 20 65 6d 61 69 6c 20 | 66 72 6f 6d 0a 74 68 65 |y email |from.the|
|00000b40| 20 4d 61 6a 6f 72 64 6f | 6d 6f 20 61 64 64 72 65 | Majordo|mo addre|
|00000b50| 73 73 20 61 62 6f 76 65 | 2c 20 6f 72 20 73 65 65 |ss above|, or see|
|00000b60| 20 74 68 65 20 57 57 57 | 20 7b 5c 62 66 20 67 6e | the WWW| {\bf gn|
|00000b70| 75 70 6c 6f 74 7d 20 70 | 61 67 65 2e 0a 0a 57 68 |uplot} p|age...Wh|
|00000b80| 65 6e 20 70 6f 73 74 69 | 6e 67 20 61 20 71 75 65 |en posti|ng a que|
|00000b90| 73 74 69 6f 6e 2c 20 70 | 6c 65 61 73 65 20 69 6e |stion, p|lease in|
|00000ba0| 63 6c 75 64 65 20 66 75 | 6c 6c 20 64 65 74 61 69 |clude fu|ll detai|
|00000bb0| 6c 73 20 6f 66 20 74 68 | 65 20 76 65 72 73 69 6f |ls of th|e versio|
|00000bc0| 6e 20 6f 66 0a 7b 5c 62 | 66 20 67 6e 75 70 6c 6f |n of.{\b|f gnuplo|
|00000bd0| 74 7d 2c 20 74 68 65 20 | 6d 61 63 68 69 6e 65 2c |t}, the |machine,|
|00000be0| 20 61 6e 64 20 6f 70 65 | 72 61 74 69 6e 67 20 73 | and ope|rating s|
|00000bf0| 79 73 74 65 6d 20 79 6f | 75 20 61 72 65 20 75 73 |ystem yo|u are us|
|00000c00| 69 6e 67 2e 20 20 41 20 | 5c 5f 73 6d 61 6c 6c 5c |ing. A |\_small\|
|00000c10| 5f 20 73 63 72 69 70 74 | 0a 64 65 6d 6f 6e 73 74 |_ script|.demonst|
|00000c20| 72 61 74 69 6e 67 20 74 | 68 65 20 70 72 6f 62 6c |rating t|he probl|
|00000c30| 65 6d 20 6d 61 79 20 62 | 65 20 75 73 65 66 75 6c |em may b|e useful|
|00000c40| 2e 20 20 46 75 6e 63 74 | 69 6f 6e 20 70 6c 6f 74 |. Funct|ion plot|
|00000c50| 73 20 61 72 65 20 70 72 | 65 66 65 72 61 62 6c 65 |s are pr|eferable|
|00000c60| 20 74 6f 0a 64 61 74 61 | 66 69 6c 65 20 70 6c 6f | to.data|file plo|
|00000c70| 74 73 2e 20 20 49 66 20 | 65 6d 61 69 6c 2d 69 6e |ts. If |email-in|
|00000c80| 67 20 74 6f 20 69 6e 66 | 6f 2d 67 6e 75 70 6c 6f |g to inf|o-gnuplo|
|00000c90| 74 2c 20 70 6c 65 61 73 | 65 20 73 74 61 74 65 20 |t, pleas|e state |
|00000ca0| 77 68 65 74 68 65 72 20 | 6f 72 20 6e 6f 74 0a 79 |whether |or not.y|
|00000cb0| 6f 75 20 61 72 65 20 73 | 75 62 73 63 72 69 62 65 |ou are s|ubscribe|
|00000cc0| 64 20 74 6f 20 74 68 65 | 20 6c 69 73 74 2c 20 73 |d to the| list, s|
|00000cd0| 6f 20 74 68 61 74 20 75 | 73 65 72 73 20 77 68 6f |o that u|sers who|
|00000ce0| 20 75 73 65 20 6e 65 77 | 73 20 77 69 6c 6c 20 6b | use new|s will k|
|00000cf0| 6e 6f 77 20 74 6f 20 65 | 6d 61 69 6c 0a 61 20 72 |now to e|mail.a r|
|00000d00| 65 70 6c 79 20 74 6f 20 | 79 6f 75 2e 20 20 54 68 |eply to |you. Th|
|00000d10| 65 72 65 20 69 73 20 61 | 20 66 6f 72 6d 20 66 6f |ere is a| form fo|
|00000d20| 72 20 73 75 63 68 20 70 | 6f 73 74 69 6e 67 73 20 |r such p|ostings |
|00000d30| 6f 6e 20 74 68 65 20 57 | 57 57 20 73 69 74 65 2e |on the W|WW site.|
|00000d40| 0a 5c 73 65 63 74 69 6f | 6e 7b 49 6e 74 72 6f 64 |.\sectio|n{Introd|
|00000d50| 75 63 74 69 6f 6e 7d 0a | 7b 5c 62 66 20 67 6e 75 |uction}.|{\bf gnu|
|00000d60| 70 6c 6f 74 7d 20 69 73 | 20 61 20 63 6f 6d 6d 61 |plot} is| a comma|
|00000d70| 6e 64 2d 64 72 69 76 65 | 6e 20 69 6e 74 65 72 61 |nd-drive|n intera|
|00000d80| 63 74 69 76 65 20 66 75 | 6e 63 74 69 6f 6e 20 70 |ctive fu|nction p|
|00000d90| 6c 6f 74 74 69 6e 67 20 | 70 72 6f 67 72 61 6d 2e |lotting |program.|
|00000da0| 20 20 49 74 20 69 73 0a | 63 61 73 65 20 73 65 6e | It is.|case sen|
|00000db0| 73 69 74 69 76 65 20 28 | 63 6f 6d 6d 61 6e 64 73 |sitive (|commands|
|00000dc0| 20 61 6e 64 20 66 75 6e | 63 74 69 6f 6e 20 6e 61 | and fun|ction na|
|00000dd0| 6d 65 73 20 77 72 69 74 | 74 65 6e 20 69 6e 20 6c |mes writ|ten in l|
|00000de0| 6f 77 65 72 63 61 73 65 | 20 61 72 65 20 6e 6f 74 |owercase| are not|
|00000df0| 20 74 68 65 0a 73 61 6d | 65 20 61 73 20 74 68 6f | the.sam|e as tho|
|00000e00| 73 65 20 77 72 69 74 74 | 65 6e 20 69 6e 20 43 41 |se writt|en in CA|
|00000e10| 50 53 29 2e 20 20 41 6c | 6c 20 63 6f 6d 6d 61 6e |PS). Al|l comman|
|00000e20| 64 20 6e 61 6d 65 73 20 | 6d 61 79 20 62 65 20 61 |d names |may be a|
|00000e30| 62 62 72 65 76 69 61 74 | 65 64 2c 20 61 73 0a 6c |bbreviat|ed, as.l|
|00000e40| 6f 6e 67 20 61 73 20 74 | 68 65 20 61 62 62 72 65 |ong as t|he abbre|
|00000e50| 76 69 61 74 69 6f 6e 20 | 69 73 20 6e 6f 74 20 61 |viation |is not a|
|00000e60| 6d 62 69 67 75 6f 75 73 | 2e 20 20 41 6e 79 20 6e |mbiguous|. Any n|
|00000e70| 75 6d 62 65 72 20 6f 66 | 20 63 6f 6d 6d 61 6e 64 |umber of| command|
|00000e80| 73 20 6d 61 79 20 61 70 | 70 65 61 72 0a 6f 6e 20 |s may ap|pear.on |
|00000e90| 61 20 6c 69 6e 65 2c 20 | 73 65 70 61 72 61 74 65 |a line, |separate|
|00000ea0| 64 20 62 79 20 73 65 6d | 69 63 6f 6c 6f 6e 73 20 |d by sem|icolons |
|00000eb0| 28 3b 29 2e 20 20 53 74 | 72 69 6e 67 73 20 61 72 |(;). St|rings ar|
|00000ec0| 65 20 69 6e 64 69 63 61 | 74 65 64 20 77 69 74 68 |e indica|ted with|
|00000ed0| 20 71 75 6f 74 65 73 2e | 0a 54 68 65 79 20 6d 61 | quotes.|.They ma|
|00000ee0| 79 20 62 65 20 65 69 74 | 68 65 72 20 73 69 6e 67 |y be eit|her sing|
|00000ef0| 6c 65 20 6f 72 20 64 6f | 75 62 6c 65 20 71 75 6f |le or do|uble quo|
|00000f00| 74 61 74 69 6f 6e 20 6d | 61 72 6b 73 2c 20 65 2e |tation m|arks, e.|
|00000f10| 67 2e 2c 0a 0a 5c 62 65 | 67 69 6e 7b 76 65 72 62 |g.,..\be|gin{verb|
|00000f20| 61 74 69 6d 7d 0a 20 20 | 20 20 20 20 20 20 20 6c |atim}. | l|
|00000f30| 6f 61 64 20 22 66 69 6c | 65 6e 61 6d 65 22 0a 20 |oad "fil|ename". |
|00000f40| 20 20 20 20 20 20 20 20 | 63 64 20 27 64 69 72 27 | |cd 'dir'|
|00000f50| 0a 5c 65 6e 64 7b 76 65 | 72 62 61 74 69 6d 7d 0a |.\end{ve|rbatim}.|
|00000f60| 0a 61 6c 74 68 6f 75 67 | 68 20 74 68 65 72 65 20 |.althoug|h there |
|00000f70| 61 72 65 20 73 6f 6d 65 | 20 73 75 62 74 6c 65 20 |are some| subtle |
|00000f80| 64 69 66 66 65 72 65 6e | 63 65 73 20 28 73 65 65 |differen|ces (see|
|00000f90| 20 7b 5c 62 66 20 73 79 | 6e 74 61 78 7d 20 66 6f | {\bf sy|ntax} fo|
|00000fa0| 72 20 6d 6f 72 65 20 64 | 65 74 61 69 6c 73 29 2e |r more d|etails).|
|00000fb0| 0a 0a 41 6e 79 20 63 6f | 6d 6d 61 6e 64 2d 6c 69 |..Any co|mmand-li|
|00000fc0| 6e 65 20 61 72 67 75 6d | 65 6e 74 73 20 61 72 65 |ne argum|ents are|
|00000fd0| 20 61 73 73 75 6d 65 64 | 20 74 6f 20 62 65 20 6e | assumed| to be n|
|00000fe0| 61 6d 65 73 20 6f 66 20 | 66 69 6c 65 73 20 63 6f |ames of |files co|
|00000ff0| 6e 74 61 69 6e 69 6e 67 | 0a 7b 5c 62 66 20 67 6e |ntaining|.{\bf gn|
|00001000| 75 70 6c 6f 74 7d 20 63 | 6f 6d 6d 61 6e 64 73 2c |uplot} c|ommands,|
|00001010| 20 77 69 74 68 20 74 68 | 65 20 65 78 63 65 70 74 | with th|e except|
|00001020| 69 6f 6e 20 6f 66 20 73 | 74 61 6e 64 61 72 64 20 |ion of s|tandard |
|00001030| 58 31 31 20 61 72 67 75 | 6d 65 6e 74 73 2c 20 77 |X11 argu|ments, w|
|00001040| 68 69 63 68 20 61 72 65 | 0a 70 72 6f 63 65 73 73 |hich are|.process|
|00001050| 65 64 20 66 69 72 73 74 | 2e 20 20 45 61 63 68 20 |ed first|. Each |
|00001060| 66 69 6c 65 20 69 73 20 | 6c 6f 61 64 65 64 20 77 |file is |loaded w|
|00001070| 69 74 68 20 74 68 65 20 | 7b 5c 62 66 20 6c 6f 61 |ith the |{\bf loa|
|00001080| 64 7d 20 63 6f 6d 6d 61 | 6e 64 2c 20 69 6e 20 74 |d} comma|nd, in t|
|00001090| 68 65 20 6f 72 64 65 72 | 0a 73 70 65 63 69 66 69 |he order|.specifi|
|000010a0| 65 64 2e 20 20 7b 5c 62 | 66 20 67 6e 75 70 6c 6f |ed. {\b|f gnuplo|
|000010b0| 74 7d 20 65 78 69 74 73 | 20 61 66 74 65 72 20 74 |t} exits| after t|
|000010c0| 68 65 20 6c 61 73 74 20 | 66 69 6c 65 20 69 73 20 |he last |file is |
|000010d0| 70 72 6f 63 65 73 73 65 | 64 2e 20 20 57 68 65 6e |processe|d. When|
|000010e0| 20 6e 6f 20 6c 6f 61 64 | 0a 66 69 6c 65 73 20 61 | no load|.files a|
|000010f0| 72 65 20 6e 61 6d 65 64 | 2c 20 7b 5c 62 66 20 67 |re named|, {\bf g|
|00001100| 6e 75 70 6c 6f 74 7d 20 | 65 6e 74 65 72 73 20 69 |nuplot} |enters i|
|00001110| 6e 74 6f 20 61 6e 20 69 | 6e 74 65 72 61 63 74 69 |nto an i|nteracti|
|00001120| 76 65 20 6d 6f 64 65 2e | 0a 0a 43 6f 6d 6d 61 6e |ve mode.|..Comman|
|00001130| 64 73 20 6d 61 79 20 65 | 78 74 65 6e 64 20 6f 76 |ds may e|xtend ov|
|00001140| 65 72 20 73 65 76 65 72 | 61 6c 20 69 6e 70 75 74 |er sever|al input|
|00001150| 20 6c 69 6e 65 73 20 62 | 79 20 65 6e 64 69 6e 67 | lines b|y ending|
|00001160| 20 65 61 63 68 20 6c 69 | 6e 65 20 62 75 74 20 74 | each li|ne but t|
|00001170| 68 65 20 6c 61 73 74 0a | 77 69 74 68 20 61 20 62 |he last.|with a b|
|00001180| 61 63 6b 73 6c 61 73 68 | 20 28 24 5c 62 61 63 6b |ackslash| ($\back|
|00001190| 73 6c 61 73 68 24 29 2e | 20 20 54 68 65 20 62 61 |slash$).| The ba|
|000011a0| 63 6b 73 6c 61 73 68 20 | 6d 75 73 74 20 62 65 20 |ckslash |must be |
|000011b0| 74 68 65 20 4c 41 53 54 | 20 63 68 61 72 61 63 74 |the LAST| charact|
|000011c0| 65 72 20 6f 6e 20 65 61 | 63 68 20 6c 69 6e 65 2e |er on ea|ch line.|
|000011d0| 0a 54 68 65 20 65 66 66 | 65 63 74 20 69 73 20 61 |.The eff|ect is a|
|000011e0| 73 20 69 66 20 74 68 65 | 20 62 61 63 6b 73 6c 61 |s if the| backsla|
|000011f0| 73 68 20 61 6e 64 20 6e | 65 77 6c 69 6e 65 20 77 |sh and n|ewline w|
|00001200| 65 72 65 20 6e 6f 74 20 | 74 68 65 72 65 2e 20 20 |ere not |there. |
|00001210| 54 68 61 74 20 69 73 2c | 20 6e 6f 0a 77 68 69 74 |That is,| no.whit|
|00001220| 65 20 73 70 61 63 65 20 | 69 73 20 69 6d 70 6c 69 |e space |is impli|
|00001230| 65 64 2c 20 6e 6f 72 20 | 69 73 20 61 20 63 6f 6d |ed, nor |is a com|
|00001240| 6d 65 6e 74 20 74 65 72 | 6d 69 6e 61 74 65 64 2e |ment ter|minated.|
|00001250| 20 20 54 68 65 72 65 66 | 6f 72 65 2c 20 63 6f 6d | Theref|ore, com|
|00001260| 6d 65 6e 74 69 6e 67 0a | 6f 75 74 20 61 20 63 6f |menting.|out a co|
|00001270| 6e 74 69 6e 75 65 64 20 | 6c 69 6e 65 20 63 6f 6d |ntinued |line com|
|00001280| 6d 65 6e 74 73 20 6f 75 | 74 20 74 68 65 20 65 6e |ments ou|t the en|
|00001290| 74 69 72 65 20 63 6f 6d | 6d 61 6e 64 20 28 73 65 |tire com|mand (se|
|000012a0| 65 20 7b 5c 62 66 20 63 | 6f 6d 6d 65 6e 74 7d 29 |e {\bf c|omment})|
|000012b0| 2e 0a 0a 49 6e 20 74 68 | 69 73 20 64 6f 63 75 6d |...In th|is docum|
|000012c0| 65 6e 74 61 74 69 6f 6e | 2c 20 63 75 72 6c 79 20 |entation|, curly |
|000012d0| 62 72 61 63 65 73 20 28 | 5c 7b 5c 7d 29 20 64 65 |braces (|\{\}) de|
|000012e0| 6e 6f 74 65 20 6f 70 74 | 69 6f 6e 61 6c 20 61 72 |note opt|ional ar|
|000012f0| 67 75 6d 65 6e 74 73 20 | 61 6e 64 20 61 0a 76 65 |guments |and a.ve|
|00001300| 72 74 69 63 61 6c 20 62 | 61 72 20 28 24 7c 24 29 |rtical b|ar ($|$)|
|00001310| 20 73 65 70 61 72 61 74 | 65 73 20 6d 75 74 75 61 | separat|es mutua|
|00001320| 6c 6c 79 20 65 78 63 6c | 75 73 69 76 65 20 63 68 |lly excl|usive ch|
|00001330| 6f 69 63 65 73 2e 20 20 | 7b 5c 62 66 20 67 6e 75 |oices. |{\bf gnu|
|00001340| 70 6c 6f 74 7d 20 6b 65 | 79 77 6f 72 64 73 0a 6f |plot} ke|ywords.o|
|00001350| 72 20 68 65 6c 70 20 74 | 6f 70 69 63 73 20 61 72 |r help t|opics ar|
|00001360| 65 20 69 6e 64 69 63 61 | 74 65 64 20 62 79 20 62 |e indica|ted by b|
|00001370| 61 63 6b 71 75 6f 74 65 | 73 20 6f 72 20 7b 5c 62 |ackquote|s or {\b|
|00001380| 66 20 62 6f 6c 64 66 61 | 63 65 7d 20 28 77 68 65 |f boldfa|ce} (whe|
|00001390| 72 65 20 61 76 61 69 6c | 61 62 6c 65 29 2e 0a 41 |re avail|able)..A|
|000013a0| 6e 67 6c 65 20 62 72 61 | 63 6b 65 74 73 20 28 24 |ngle bra|ckets ($|
|000013b0| 3c 24 24 3e 24 29 20 61 | 72 65 20 75 73 65 64 20 |<$$>$) a|re used |
|000013c0| 74 6f 20 6d 61 72 6b 20 | 72 65 70 6c 61 63 65 61 |to mark |replacea|
|000013d0| 62 6c 65 20 74 6f 6b 65 | 6e 73 2e 0a 0a 46 6f 72 |ble toke|ns...For|
|000013e0| 20 68 65 6c 70 20 6f 6e | 20 61 6e 79 20 74 6f 70 | help on| any top|
|000013f0| 69 63 2c 20 74 79 70 65 | 20 7b 5c 62 66 20 68 65 |ic, type| {\bf he|
|00001400| 6c 70 7d 20 66 6f 6c 6c | 6f 77 65 64 20 62 79 20 |lp} foll|owed by |
|00001410| 74 68 65 20 6e 61 6d 65 | 20 6f 66 20 74 68 65 20 |the name| of the |
|00001420| 74 6f 70 69 63 20 6f 72 | 20 6a 75 73 74 0a 7b 5c |topic or| just.{\|
|00001430| 62 66 20 68 65 6c 70 7d | 20 74 6f 20 67 65 74 20 |bf help}| to get |
|00001440| 61 20 6d 65 6e 75 20 6f | 66 20 61 76 61 69 6c 61 |a menu o|f availa|
|00001450| 62 6c 65 20 74 6f 70 69 | 63 73 2e 0a 0a 54 68 65 |ble topi|cs...The|
|00001460| 20 6e 65 77 20 7b 5c 62 | 66 20 67 6e 75 70 6c 6f | new {\b|f gnuplo|
|00001470| 74 7d 20 75 73 65 72 20 | 73 68 6f 75 6c 64 20 62 |t} user |should b|
|00001480| 65 67 69 6e 20 62 79 20 | 72 65 61 64 69 6e 67 20 |egin by |reading |
|00001490| 61 62 6f 75 74 20 74 68 | 65 20 7b 5c 62 66 20 70 |about th|e {\bf p|
|000014a0| 6c 6f 74 7d 20 63 6f 6d | 6d 61 6e 64 20 28 74 79 |lot} com|mand (ty|
|000014b0| 70 65 0a 7b 5c 62 66 20 | 68 65 6c 70 20 70 6c 6f |pe.{\bf |help plo|
|000014c0| 74 7d 29 2e 0a 5c 73 65 | 63 74 69 6f 6e 7b 43 64 |t})..\se|ction{Cd|
|000014d0| 7d 0a 54 68 65 20 7b 5c | 62 66 20 63 64 7d 20 63 |}.The {\|bf cd} c|
|000014e0| 6f 6d 6d 61 6e 64 20 63 | 68 61 6e 67 65 73 20 74 |ommand c|hanges t|
|000014f0| 68 65 20 77 6f 72 6b 69 | 6e 67 20 64 69 72 65 63 |he worki|ng direc|
|00001500| 74 6f 72 79 2e 0a 0a 53 | 79 6e 74 61 78 3a 0a 5c |tory...S|yntax:.\|
|00001510| 62 65 67 69 6e 7b 76 65 | 72 62 61 74 69 6d 7d 0a |begin{ve|rbatim}.|
|00001520| 20 20 20 20 20 20 20 20 | 63 64 20 27 3c 64 69 72 | |cd '<dir|
|00001530| 65 63 74 6f 72 79 2d 6e | 61 6d 65 3e 27 0a 5c 65 |ectory-n|ame>'.\e|
|00001540| 6e 64 7b 76 65 72 62 61 | 74 69 6d 7d 0a 0a 54 68 |nd{verba|tim}..Th|
|00001550| 65 20 64 69 72 65 63 74 | 6f 72 79 20 6e 61 6d 65 |e direct|ory name|
|00001560| 20 6d 75 73 74 20 62 65 | 20 65 6e 63 6c 6f 73 65 | must be| enclose|
|00001570| 64 20 69 6e 20 71 75 6f | 74 65 73 2e 0a 0a 45 78 |d in quo|tes...Ex|
|00001580| 61 6d 70 6c 65 73 3a 0a | 5c 62 65 67 69 6e 7b 76 |amples:.|\begin{v|
|00001590| 65 72 62 61 74 69 6d 7d | 0a 20 20 20 20 20 20 20 |erbatim}|. |
|000015a0| 20 63 64 20 27 73 75 62 | 64 69 72 27 0a 20 20 20 | cd 'sub|dir'. |
|000015b0| 20 20 20 20 20 63 64 20 | 22 2e 2e 22 0a 5c 65 6e | cd |"..".\en|
|000015c0| 64 7b 76 65 72 62 61 74 | 69 6d 7d 0a 0a 44 4f 53 |d{verbat|im}..DOS|
|000015d0| 20 75 73 65 72 73 20 5c | 5f 6d 75 73 74 5c 5f 20 | users \|_must\_ |
|000015e0| 75 73 65 20 73 69 6e 67 | 6c 65 2d 71 75 6f 74 65 |use sing|le-quote|
|000015f0| 73 2d 2d 2d 62 61 63 6b | 73 6c 61 73 68 20 5b 24 |s---back|slash [$|
|00001600| 5c 62 61 63 6b 73 6c 61 | 73 68 24 5d 20 68 61 73 |\backsla|sh$] has|
|00001610| 20 73 70 65 63 69 61 6c | 20 73 69 67 6e 69 66 69 | special| signifi|
|00001620| 63 61 6e 63 65 0a 69 6e | 73 69 64 65 20 64 6f 75 |cance.in|side dou|
|00001630| 62 6c 65 2d 71 75 6f 74 | 65 73 2e 20 20 46 6f 72 |ble-quot|es. For|
|00001640| 20 65 78 61 6d 70 6c 65 | 2c 0a 0a 5c 62 65 67 69 | example|,..\begi|
|00001650| 6e 7b 76 65 72 62 61 74 | 69 6d 7d 0a 20 20 20 20 |n{verbat|im}. |
|00001660| 20 20 20 20 63 64 20 22 | 63 3a 5c 6e 65 77 64 61 | cd "|c:\newda|
|00001670| 74 61 22 20 20 20 20 20 | 20 66 61 69 6c 73 2c 20 |ta" | fails, |
|00001680| 62 75 74 0a 20 20 20 20 | 20 20 20 20 63 64 20 27 |but. | cd '|
|00001690| 63 3a 5c 6e 65 77 64 61 | 74 61 27 20 20 20 20 20 |c:\newda|ta' |
|000016a0| 20 77 6f 72 6b 73 20 61 | 73 20 65 78 70 65 63 74 | works a|s expect|
|000016b0| 65 64 2e 0a 5c 65 6e 64 | 7b 76 65 72 62 61 74 69 |ed..\end|{verbati|
|000016c0| 6d 7d 0a 5c 73 65 63 74 | 69 6f 6e 7b 43 61 6c 6c |m}.\sect|ion{Call|
|000016d0| 7d 0a 54 68 65 20 7b 5c | 62 66 20 63 61 6c 6c 7d |}.The {\|bf call}|
|000016e0| 20 63 6f 6d 6d 61 6e 64 | 20 69 73 20 69 64 65 6e | command| is iden|
|000016f0| 74 69 63 61 6c 20 74 6f | 20 74 68 65 20 6c 6f 61 |tical to| the loa|
|00001700| 64 20 63 6f 6d 6d 61 6e | 64 20 77 69 74 68 20 6f |d comman|d with o|
|00001710| 6e 65 20 65 78 63 65 70 | 74 69 6f 6e 3a 20 79 6f |ne excep|tion: yo|
|00001720| 75 0a 63 61 6e 20 68 61 | 76 65 20 75 70 20 74 6f |u.can ha|ve up to|
|00001730| 20 74 65 6e 20 61 64 64 | 69 74 69 6f 6e 61 6c 20 | ten add|itional |
|00001740| 70 61 72 61 6d 65 74 65 | 72 73 20 74 6f 20 74 68 |paramete|rs to th|
|00001750| 65 20 63 6f 6d 6d 61 6e | 64 20 28 64 65 6c 69 6d |e comman|d (delim|
|00001760| 69 74 65 64 20 61 63 63 | 6f 72 64 69 6e 67 0a 74 |ited acc|ording.t|
|00001770| 6f 20 74 68 65 20 73 74 | 61 6e 64 61 72 64 20 70 |o the st|andard p|
|00001780| 61 72 73 65 72 20 72 75 | 6c 65 73 29 20 77 68 69 |arser ru|les) whi|
|00001790| 63 68 20 63 61 6e 20 62 | 65 20 73 75 62 73 74 69 |ch can b|e substi|
|000017a0| 74 75 74 65 64 20 69 6e | 74 6f 20 74 68 65 20 6c |tuted in|to the l|
|000017b0| 69 6e 65 73 20 72 65 61 | 64 0a 66 72 6f 6d 20 74 |ines rea|d.from t|
|000017c0| 68 65 20 66 69 6c 65 2e | 20 20 41 73 20 65 61 63 |he file.| As eac|
|000017d0| 68 20 6c 69 6e 65 20 69 | 73 20 72 65 61 64 20 66 |h line i|s read f|
|000017e0| 72 6f 6d 20 74 68 65 20 | 7b 5c 62 66 20 63 61 6c |rom the |{\bf cal|
|000017f0| 6c 7d 65 64 20 69 6e 70 | 75 74 20 66 69 6c 65 2c |l}ed inp|ut file,|
|00001800| 20 69 74 20 69 73 0a 73 | 63 61 6e 6e 65 64 20 66 | it is.s|canned f|
|00001810| 6f 72 20 74 68 65 20 73 | 65 71 75 65 6e 63 65 20 |or the s|equence |
|00001820| 7b 5c 62 66 20 5c 24 7d | 20 28 64 6f 6c 6c 61 72 |{\bf \$}| (dollar|
|00001830| 2d 73 69 67 6e 29 20 66 | 6f 6c 6c 6f 77 65 64 20 |-sign) f|ollowed |
|00001840| 62 79 20 61 20 64 69 67 | 69 74 20 28 30 2d 2d 39 |by a dig|it (0--9|
|00001850| 29 2e 20 20 49 66 0a 66 | 6f 75 6e 64 2c 20 74 68 |). If.f|ound, th|
|00001860| 65 20 73 65 71 75 65 6e | 63 65 20 69 73 20 72 65 |e sequen|ce is re|
|00001870| 70 6c 61 63 65 64 20 62 | 79 20 74 68 65 20 63 6f |placed b|y the co|
|00001880| 72 72 65 73 70 6f 6e 64 | 69 6e 67 20 70 61 72 61 |rrespond|ing para|
|00001890| 6d 65 74 65 72 20 66 72 | 6f 6d 20 74 68 65 0a 7b |meter fr|om the.{|
|000018a0| 5c 62 66 20 63 61 6c 6c | 7d 20 63 6f 6d 6d 61 6e |\bf call|} comman|
|000018b0| 64 20 6c 69 6e 65 2e 20 | 20 49 66 20 74 68 65 20 |d line. | If the |
|000018c0| 70 61 72 61 6d 65 74 65 | 72 20 77 61 73 20 73 70 |paramete|r was sp|
|000018d0| 65 63 69 66 69 65 64 20 | 61 73 20 61 20 73 74 72 |ecified |as a str|
|000018e0| 69 6e 67 20 69 6e 20 74 | 68 65 0a 7b 5c 62 66 20 |ing in t|he.{\bf |
|000018f0| 63 61 6c 6c 7d 20 6c 69 | 6e 65 2c 20 69 74 20 69 |call} li|ne, it i|
|00001900| 73 20 73 75 62 73 74 69 | 74 75 74 65 64 20 77 69 |s substi|tuted wi|
|00001910| 74 68 6f 75 74 20 69 74 | 73 20 65 6e 63 6c 6f 73 |thout it|s enclos|
|00001920| 69 6e 67 20 71 75 6f 74 | 65 73 2e 20 20 7b 5c 62 |ing quot|es. {\b|
|00001930| 66 20 5c 24 7d 20 66 6f | 6c 6c 6f 77 65 64 20 62 |f \$} fo|llowed b|
|00001940| 79 0a 61 6e 79 20 63 68 | 61 72 61 63 74 65 72 20 |y.any ch|aracter |
|00001950| 6f 74 68 65 72 20 74 68 | 61 6e 20 61 20 64 69 67 |other th|an a dig|
|00001960| 69 74 20 77 69 6c 6c 20 | 62 65 20 74 68 61 74 20 |it will |be that |
|00001970| 63 68 61 72 61 63 74 65 | 72 2e 20 20 45 2e 67 2e |characte|r. E.g.|
|00001980| 20 75 73 65 20 7b 5c 62 | 66 20 5c 24 5c 24 7d 20 | use {\b|f \$\$} |
|00001990| 74 6f 0a 67 65 74 20 61 | 20 73 69 6e 67 6c 65 20 |to.get a| single |
|000019a0| 7b 5c 62 66 20 5c 24 7d | 2e 20 20 50 72 6f 76 69 |{\bf \$}|. Provi|
|000019b0| 64 69 6e 67 20 6d 6f 72 | 65 20 74 68 61 6e 20 74 |ding mor|e than t|
|000019c0| 65 6e 20 70 61 72 61 6d | 65 74 65 72 73 20 6f 6e |en param|eters on|
|000019d0| 20 74 68 65 20 7b 5c 62 | 66 20 63 61 6c 6c 7d 20 | the {\b|f call} |
|000019e0| 63 6f 6d 6d 61 6e 64 0a | 6c 69 6e 65 20 77 69 6c |command.|line wil|
|000019f0| 6c 20 63 61 75 73 65 20 | 61 6e 20 65 72 72 6f 72 |l cause |an error|
|00001a00| 2e 20 20 41 20 70 61 72 | 61 6d 65 74 65 72 20 74 |. A par|ameter t|
|00001a10| 68 61 74 20 77 61 73 20 | 6e 6f 74 20 70 72 6f 76 |hat was |not prov|
|00001a20| 69 64 65 64 20 73 75 62 | 73 74 69 74 75 74 65 73 |ided sub|stitutes|
|00001a30| 20 61 73 0a 6e 6f 74 68 | 69 6e 67 2e 20 20 46 69 | as.noth|ing. Fi|
|00001a40| 6c 65 73 20 62 65 69 6e | 67 20 7b 5c 62 66 20 63 |les bein|g {\bf c|
|00001a50| 61 6c 6c 7d 65 64 20 6d | 61 79 20 74 68 65 6d 73 |all}ed m|ay thems|
|00001a60| 65 6c 76 65 73 20 63 6f | 6e 74 61 69 6e 20 7b 5c |elves co|ntain {\|
|00001a70| 62 66 20 63 61 6c 6c 7d | 20 6f 72 20 7b 5c 62 66 |bf call}| or {\bf|
|00001a80| 20 6c 6f 61 64 7d 0a 63 | 6f 6d 6d 61 6e 64 73 2e | load}.c|ommands.|
|00001a90| 0a 0a 54 68 65 20 7b 5c | 62 66 20 63 61 6c 6c 7d |..The {\|bf call}|
|00001aa0| 20 63 6f 6d 6d 61 6e 64 | 20 4d 55 53 54 20 62 65 | command| MUST be|
|00001ab0| 20 74 68 65 20 6c 61 73 | 74 20 63 6f 6d 6d 61 6e | the las|t comman|
|00001ac0| 64 20 6f 6e 20 61 20 6d | 75 6c 74 69 2d 63 6f 6d |d on a m|ulti-com|
|00001ad0| 6d 61 6e 64 20 6c 69 6e | 65 2e 0a 0a 53 79 6e 74 |mand lin|e...Synt|
|00001ae0| 61 78 3a 0a 5c 62 65 67 | 69 6e 7b 76 65 72 62 61 |ax:.\beg|in{verba|
|00001af0| 74 69 6d 7d 0a 20 20 20 | 20 20 20 20 20 63 61 6c |tim}. | cal|
|00001b00| 6c 20 22 3c 69 6e 70 75 | 74 2d 66 69 6c 65 3e 22 |l "<inpu|t-file>"|
|00001b10| 20 3c 70 61 72 61 6d 65 | 74 65 72 2d 30 3e 20 3c | <parame|ter-0> <|
|00001b20| 70 61 72 6d 2d 31 3e 20 | 2e 2e 2e 20 3c 70 61 72 |parm-1> |... <par|
|00001b30| 6d 2d 39 3e 0a 5c 65 6e | 64 7b 76 65 72 62 61 74 |m-9>.\en|d{verbat|
|00001b40| 69 6d 7d 0a 0a 54 68 65 | 20 6e 61 6d 65 20 6f 66 |im}..The| name of|
|00001b50| 20 74 68 65 20 69 6e 70 | 75 74 20 66 69 6c 65 20 | the inp|ut file |
|00001b60| 6d 75 73 74 20 62 65 20 | 65 6e 63 6c 6f 73 65 64 |must be |enclosed|
|00001b70| 20 69 6e 20 71 75 6f 74 | 65 73 2c 20 61 6e 64 20 | in quot|es, and |
|00001b80| 69 74 20 69 73 20 72 65 | 63 6f 6d 6d 65 6e 64 65 |it is re|commende|
|00001b90| 64 0a 74 68 61 74 20 70 | 61 72 61 6d 65 74 65 72 |d.that p|arameter|
|00001ba0| 73 20 61 72 65 20 73 69 | 6d 69 6c 61 72 6c 79 20 |s are si|milarly |
|00001bb0| 65 6e 63 6c 6f 73 65 64 | 20 69 6e 20 71 75 6f 74 |enclosed| in quot|
|00001bc0| 65 73 2e 0a 0a 45 78 61 | 6d 70 6c 65 3a 0a 0a 49 |es...Exa|mple:..I|
|00001bd0| 66 20 74 68 65 20 66 69 | 6c 65 20 27 63 61 6c 6c |f the fi|le 'call|
|00001be0| 74 65 73 74 2e 67 70 27 | 20 63 6f 6e 74 61 69 6e |test.gp'| contain|
|00001bf0| 73 20 74 68 65 20 6c 69 | 6e 65 3a 0a 0a 5c 62 65 |s the li|ne:..\be|
|00001c00| 67 69 6e 7b 76 65 72 62 | 61 74 69 6d 7d 0a 20 20 |gin{verb|atim}. |
|00001c10| 20 20 70 61 75 73 65 20 | 30 20 22 70 30 3d 24 30 | pause |0 "p0=$0|
|00001c20| 20 70 31 3d 24 31 20 70 | 32 3d 24 32 20 70 33 3d | p1=$1 p|2=$2 p3=|
|00001c30| 24 33 20 70 34 3d 24 34 | 20 70 35 3d 24 35 20 70 |$3 p4=$4| p5=$5 p|
|00001c40| 36 3d 24 36 20 70 37 3d | 78 24 37 78 22 0a 5c 65 |6=$6 p7=|x$7x".\e|
|00001c50| 6e 64 7b 76 65 72 62 61 | 74 69 6d 7d 0a 0a 65 6e |nd{verba|tim}..en|
|00001c60| 74 65 72 69 6e 67 20 74 | 68 65 20 63 6f 6d 6d 61 |tering t|he comma|
|00001c70| 6e 64 3a 0a 0a 5c 62 65 | 67 69 6e 7b 76 65 72 62 |nd:..\be|gin{verb|
|00001c80| 61 74 69 6d 7d 0a 20 20 | 20 20 63 61 6c 6c 20 27 |atim}. | call '|
|00001c90| 63 61 6c 6c 74 65 73 74 | 2e 67 70 27 20 22 61 62 |calltest|.gp' "ab|
|00001ca0| 63 64 22 20 31 2e 32 20 | 2b 20 22 27 71 75 6f 74 |cd" 1.2 |+ "'quot|
|00001cb0| 65 64 27 22 20 2d 2d 20 | 22 24 32 22 0a 5c 65 6e |ed'" -- |"$2".\en|
|00001cc0| 64 7b 76 65 72 62 61 74 | 69 6d 7d 0a 0a 77 69 6c |d{verbat|im}..wil|
|00001cd0| 6c 20 64 69 73 70 6c 61 | 79 3a 0a 0a 5c 62 65 67 |l displa|y:..\beg|
|00001ce0| 69 6e 7b 76 65 72 62 61 | 74 69 6d 7d 0a 20 20 20 |in{verba|tim}. |
|00001cf0| 20 70 30 3d 61 62 63 64 | 20 70 31 3d 31 2e 32 20 | p0=abcd| p1=1.2 |
|00001d00| 70 32 3d 2b 20 70 33 3d | 27 71 75 6f 74 65 64 27 |p2=+ p3=|'quoted'|
|00001d10| 20 70 34 3d 2d 20 70 35 | 3d 2d 20 70 36 3d 24 32 | p4=- p5|=- p6=$2|
|00001d20| 20 70 37 3d 78 78 0a 5c | 65 6e 64 7b 76 65 72 62 | p7=xx.\|end{verb|
|00001d30| 61 74 69 6d 7d 0a 0a 4e | 4f 54 45 3a 20 74 68 65 |atim}..N|OTE: the|
|00001d40| 72 65 20 69 73 20 61 20 | 63 6c 61 73 68 20 69 6e |re is a |clash in|
|00001d50| 20 73 79 6e 74 61 78 20 | 77 69 74 68 20 74 68 65 | syntax |with the|
|00001d60| 20 64 61 74 61 66 69 6c | 65 20 7b 5c 62 66 20 75 | datafil|e {\bf u|
|00001d70| 73 69 6e 67 7d 20 63 61 | 6c 6c 62 61 63 6b 0a 6f |sing} ca|llback.o|
|00001d80| 70 65 72 61 74 6f 72 2e | 20 20 55 73 65 20 5c 24 |perator.| Use \$|
|00001d90| 5c 24 6e 20 74 6f 20 61 | 63 63 65 73 73 20 63 6f |\$n to a|ccess co|
|00001da0| 6c 75 6d 6e 20 6e 20 66 | 72 6f 6d 20 61 20 64 61 |lumn n f|rom a da|
|00001db0| 74 61 66 69 6c 65 20 69 | 6e 73 69 64 65 20 61 20 |tafile i|nside a |
|00001dc0| 7b 5c 62 66 20 63 61 6c | 6c 7d 65 64 0a 64 61 74 |{\bf cal|l}ed.dat|
|00001dd0| 61 66 69 6c 65 20 70 6c | 6f 74 2e 0a 5c 73 65 63 |afile pl|ot..\sec|
|00001de0| 74 69 6f 6e 7b 43 6c 65 | 61 72 7d 0a 54 68 65 20 |tion{Cle|ar}.The |
|00001df0| 7b 5c 62 66 20 63 6c 65 | 61 72 7d 20 63 6f 6d 6d |{\bf cle|ar} comm|
|00001e00| 61 6e 64 20 65 72 61 73 | 65 73 20 74 68 65 20 63 |and eras|es the c|
|00001e10| 75 72 72 65 6e 74 20 73 | 63 72 65 65 6e 20 6f 72 |urrent s|creen or|
|00001e20| 20 6f 75 74 70 75 74 20 | 64 65 76 69 63 65 20 61 | output |device a|
|00001e30| 73 20 73 70 65 63 69 66 | 69 65 64 0a 62 79 20 7b |s specif|ied.by {|
|00001e40| 5c 62 66 20 73 65 74 20 | 6f 75 74 70 75 74 7d 2e |\bf set |output}.|
|00001e50| 20 20 54 68 69 73 20 75 | 73 75 61 6c 6c 79 20 67 | This u|sually g|
|00001e60| 65 6e 65 72 61 74 65 73 | 20 61 20 66 6f 72 6d 66 |enerates| a formf|
|00001e70| 65 65 64 20 6f 6e 20 68 | 61 72 64 63 6f 70 79 20 |eed on h|ardcopy |
|00001e80| 64 65 76 69 63 65 73 2e | 20 20 55 73 65 0a 7b 5c |devices.| Use.{\|
|00001e90| 62 66 20 73 65 74 20 74 | 65 72 6d 69 6e 61 6c 7d |bf set t|erminal}|
|00001ea0| 20 74 6f 20 73 65 74 20 | 74 68 65 20 64 65 76 69 | to set |the devi|
|00001eb0| 63 65 20 74 79 70 65 2e | 0a 5c 73 65 63 74 69 6f |ce type.|.\sectio|
|00001ec0| 6e 7b 43 6f 6d 6d 61 6e | 64 2d 6c 69 6e 65 2d 65 |n{Comman|d-line-e|
|00001ed0| 64 69 74 69 6e 67 7d 0a | 43 6f 6d 6d 61 6e 64 2d |diting}.|Command-|
|00001ee0| 6c 69 6e 65 20 65 64 69 | 74 69 6e 67 20 69 73 20 |line edi|ting is |
|00001ef0| 73 75 70 70 6f 72 74 65 | 64 20 62 79 20 74 68 65 |supporte|d by the|
|00001f00| 20 55 6e 69 78 2c 20 41 | 74 61 72 69 2c 20 56 4d | Unix, A|tari, VM|
|00001f10| 53 2c 20 4d 53 2d 44 4f | 53 20 61 6e 64 20 4f 53 |S, MS-DO|S and OS|
|00001f20| 2f 32 0a 76 65 72 73 69 | 6f 6e 73 20 6f 66 20 7b |/2.versi|ons of {|
|00001f30| 5c 62 66 20 67 6e 75 70 | 6c 6f 74 7d 2e 20 20 41 |\bf gnup|lot}. A|
|00001f40| 6c 73 6f 2c 20 61 20 68 | 69 73 74 6f 72 79 20 6d |lso, a h|istory m|
|00001f50| 65 63 68 61 6e 69 73 6d | 20 61 6c 6c 6f 77 73 20 |echanism| allows |
|00001f60| 70 72 65 76 69 6f 75 73 | 20 63 6f 6d 6d 61 6e 64 |previous| command|
|00001f70| 73 20 74 6f 0a 62 65 20 | 65 64 69 74 65 64 20 61 |s to.be |edited a|
|00001f80| 6e 64 20 72 65 2d 65 78 | 65 63 75 74 65 64 2e 20 |nd re-ex|ecuted. |
|00001f90| 20 41 66 74 65 72 20 74 | 68 65 20 63 6f 6d 6d 61 | After t|he comma|
|00001fa0| 6e 64 20 6c 69 6e 65 20 | 68 61 73 20 62 65 65 6e |nd line |has been|
|00001fb0| 20 65 64 69 74 65 64 2c | 20 61 20 6e 65 77 6c 69 | edited,| a newli|
|00001fc0| 6e 65 0a 6f 72 20 63 61 | 72 72 69 61 67 65 20 72 |ne.or ca|rriage r|
|00001fd0| 65 74 75 72 6e 20 77 69 | 6c 6c 20 65 6e 74 65 72 |eturn wi|ll enter|
|00001fe0| 20 74 68 65 20 65 6e 74 | 69 72 65 20 6c 69 6e 65 | the ent|ire line|
|00001ff0| 20 77 69 74 68 6f 75 74 | 20 72 65 67 61 72 64 20 | without| regard |
|00002000| 74 6f 20 77 68 65 72 65 | 20 74 68 65 0a 63 75 72 |to where| the.cur|
|00002010| 73 6f 72 20 69 73 20 70 | 6f 73 69 74 69 6f 6e 65 |sor is p|ositione|
|00002020| 64 2e 0a 0a 54 68 65 20 | 65 64 69 74 69 6e 67 20 |d...The |editing |
|00002030| 63 6f 6d 6d 61 6e 64 73 | 20 61 72 65 20 61 73 20 |commands| are as |
|00002040| 66 6f 6c 6c 6f 77 73 3a | 0a 0a 0a 5c 62 65 67 69 |follows:|...\begi|
|00002050| 6e 7b 63 65 6e 74 65 72 | 7d 0a 5c 62 65 67 69 6e |n{center|}.\begin|
|00002060| 7b 74 61 62 75 6c 61 72 | 7d 7b 7c 63 63 6c 7c 7d |{tabular|}{|ccl|}|
|00002070| 20 5c 68 6c 69 6e 65 0a | 43 68 61 72 61 63 74 65 | \hline.|Characte|
|00002080| 72 20 26 26 20 46 75 6e | 63 74 69 6f 6e 20 5c 5c |r && Fun|ction \\|
|00002090| 20 5c 68 6c 69 6e 65 0a | 5c 6d 75 6c 74 69 63 6f | \hline.|\multico|
|000020a0| 6c 75 6d 6e 7b 33 7d 7b | 7c 63 7c 7d 7b 4c 69 6e |lumn{3}{||c|}{Lin|
|000020b0| 65 20 45 64 69 74 69 6e | 67 7d 5c 5c 0a 5c 76 65 |e Editin|g}\\.\ve|
|000020c0| 72 62 7e 5e 42 7e 20 26 | 26 20 6d 6f 76 65 20 62 |rb~^B~ &|& move b|
|000020d0| 61 63 6b 20 61 20 73 69 | 6e 67 6c 65 20 63 68 61 |ack a si|ngle cha|
|000020e0| 72 61 63 74 65 72 2e 5c | 5c 0a 5c 76 65 72 62 7e |racter.\|\.\verb~|
|000020f0| 5e 46 7e 20 26 26 20 6d | 6f 76 65 20 66 6f 72 77 |^F~ && m|ove forw|
|00002100| 61 72 64 20 61 20 73 69 | 6e 67 6c 65 20 63 68 61 |ard a si|ngle cha|
|00002110| 72 61 63 74 65 72 2e 5c | 5c 0a 5c 76 65 72 62 7e |racter.\|\.\verb~|
|00002120| 5e 41 7e 20 26 26 20 6d | 6f 76 65 20 74 6f 20 74 |^A~ && m|ove to t|
|00002130| 68 65 20 62 65 67 69 6e | 6e 69 6e 67 20 6f 66 20 |he begin|ning of |
|00002140| 74 68 65 20 6c 69 6e 65 | 2e 5c 5c 0a 5c 76 65 72 |the line|.\\.\ver|
|00002150| 62 7e 5e 45 7e 20 26 26 | 20 6d 6f 76 65 20 74 6f |b~^E~ &&| move to|
|00002160| 20 74 68 65 20 65 6e 64 | 20 6f 66 20 74 68 65 20 | the end| of the |
|00002170| 6c 69 6e 65 2e 5c 5c 0a | 5c 76 65 72 62 7e 5e 48 |line.\\.|\verb~^H|
|00002180| 2c 20 44 45 4c 7e 20 26 | 26 20 64 65 6c 65 74 65 |, DEL~ &|& delete|
|00002190| 20 74 68 65 20 70 72 65 | 76 69 6f 75 73 20 63 68 | the pre|vious ch|
|000021a0| 61 72 61 63 74 65 72 2e | 5c 5c 0a 5c 76 65 72 62 |aracter.|\\.\verb|
|000021b0| 7e 5e 44 7e 20 26 26 20 | 64 65 6c 65 74 65 20 74 |~^D~ && |delete t|
|000021c0| 68 65 20 63 75 72 72 65 | 6e 74 20 63 68 61 72 61 |he curre|nt chara|
|000021d0| 63 74 65 72 2e 5c 5c 0a | 5c 76 65 72 62 7e 5e 4b |cter.\\.|\verb~^K|
|000021e0| 7e 20 26 26 20 64 65 6c | 65 74 65 20 66 72 6f 6d |~ && del|ete from|
|000021f0| 20 63 75 72 72 65 6e 74 | 20 70 6f 73 69 74 69 6f | current| positio|
|00002200| 6e 20 74 6f 20 74 68 65 | 20 65 6e 64 20 6f 66 20 |n to the| end of |
|00002210| 6c 69 6e 65 2e 5c 5c 0a | 5c 76 65 72 62 7e 5e 4c |line.\\.|\verb~^L|
|00002220| 2c 20 5e 52 7e 20 26 26 | 20 72 65 64 72 61 77 20 |, ^R~ &&| redraw |
|00002230| 6c 69 6e 65 20 69 6e 20 | 63 61 73 65 20 69 74 20 |line in |case it |
|00002240| 67 65 74 73 20 74 72 61 | 73 68 65 64 2e 5c 5c 0a |gets tra|shed.\\.|
|00002250| 5c 76 65 72 62 7e 5e 55 | 7e 20 26 26 20 64 65 6c |\verb~^U|~ && del|
|00002260| 65 74 65 20 74 68 65 20 | 65 6e 74 69 72 65 20 6c |ete the |entire l|
|00002270| 69 6e 65 2e 20 5c 5c 0a | 5c 76 65 72 62 7e 5e 57 |ine. \\.|\verb~^W|
|00002280| 7e 20 26 26 20 64 65 6c | 65 74 65 20 66 72 6f 6d |~ && del|ete from|
|00002290| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 77 6f 72 | the cur|rent wor|
|000022a0| 64 20 74 6f 20 74 68 65 | 20 65 6e 64 20 6f 66 20 |d to the| end of |
|000022b0| 6c 69 6e 65 2e 20 5c 5c | 20 5c 68 6c 69 6e 65 0a |line. \\| \hline.|
|000022c0| 5c 6d 75 6c 74 69 63 6f | 6c 75 6d 6e 7b 33 7d 7b |\multico|lumn{3}{|
|000022d0| 7c 63 7c 7d 7b 48 69 73 | 74 6f 72 79 7d 20 5c 5c ||c|}{His|tory} \\|
|000022e0| 0a 5c 76 65 72 62 7e 5e | 50 7e 20 26 26 20 6d 6f |.\verb~^|P~ && mo|
|000022f0| 76 65 20 62 61 63 6b 20 | 74 68 72 6f 75 67 68 20 |ve back |through |
|00002300| 68 69 73 74 6f 72 79 2e | 5c 5c 0a 5c 76 65 72 62 |history.|\\.\verb|
|00002310| 7e 5e 4e 7e 20 26 26 20 | 6d 6f 76 65 20 66 6f 72 |~^N~ && |move for|
|00002320| 77 61 72 64 20 74 68 72 | 6f 75 67 68 20 68 69 73 |ward thr|ough his|
|00002330| 74 6f 72 79 2e 5c 5c 0a | 5c 68 6c 69 6e 65 0a 5c |tory.\\.|\hline.\|
|00002340| 65 6e 64 7b 74 61 62 75 | 6c 61 72 7d 0a 5c 65 6e |end{tabu|lar}.\en|
|00002350| 64 7b 63 65 6e 74 65 72 | 7d 0a 0a 4f 6e 20 74 68 |d{center|}..On th|
|00002360| 65 20 49 42 4d 20 50 43 | 2c 20 74 68 65 20 75 73 |e IBM PC|, the us|
|00002370| 65 20 6f 66 20 61 20 54 | 53 52 20 70 72 6f 67 72 |e of a T|SR progr|
|00002380| 61 6d 20 73 75 63 68 20 | 61 73 20 44 4f 53 45 44 |am such |as DOSED|
|00002390| 49 54 20 6f 72 20 43 45 | 44 20 6d 61 79 20 62 65 |IT or CE|D may be|
|000023a0| 20 64 65 73 69 72 65 64 | 0a 66 6f 72 20 6c 69 6e | desired|.for lin|
|000023b0| 65 20 65 64 69 74 69 6e | 67 2e 20 20 54 68 65 20 |e editin|g. The |
|000023c0| 64 65 66 61 75 6c 74 20 | 6d 61 6b 65 66 69 6c 65 |default |makefile|
|000023d0| 20 61 73 73 75 6d 65 73 | 20 74 68 61 74 20 74 68 | assumes| that th|
|000023e0| 69 73 20 69 73 20 74 68 | 65 20 63 61 73 65 3b 20 |is is th|e case; |
|000023f0| 20 62 79 0a 64 65 66 61 | 75 6c 74 20 7b 5c 62 66 | by.defa|ult {\bf|
|00002400| 20 67 6e 75 70 6c 6f 74 | 7d 20 77 69 6c 6c 20 62 | gnuplot|} will b|
|00002410| 65 20 63 6f 6d 70 69 6c | 65 64 20 77 69 74 68 20 |e compil|ed with |
|00002420| 6e 6f 20 6c 69 6e 65 2d | 65 64 69 74 69 6e 67 20 |no line-|editing |
|00002430| 63 61 70 61 62 69 6c 69 | 74 79 2e 20 20 49 66 20 |capabili|ty. If |
|00002440| 79 6f 75 0a 77 61 6e 74 | 20 74 6f 20 75 73 65 20 |you.want| to use |
|00002450| 7b 5c 62 66 20 67 6e 75 | 70 6c 6f 74 7d 27 73 20 |{\bf gnu|plot}'s |
|00002460| 6c 69 6e 65 20 65 64 69 | 74 69 6e 67 2c 20 73 65 |line edi|ting, se|
|00002470| 74 20 52 45 41 44 4c 49 | 4e 45 20 69 6e 20 74 68 |t READLI|NE in th|
|00002480| 65 20 6d 61 6b 65 66 69 | 6c 65 20 61 6e 64 20 61 |e makefi|le and a|
|00002490| 64 64 0a 72 65 61 64 6c | 69 6e 65 2e 6f 62 6a 20 |dd.readl|ine.obj |
|000024a0| 74 6f 20 74 68 65 20 6c | 69 6e 6b 20 66 69 6c 65 |to the l|ink file|
|000024b0| 2e 20 20 54 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |. The f|ollowing|
|000024c0| 20 61 72 72 6f 77 20 6b | 65 79 73 20 6d 61 79 20 | arrow k|eys may |
|000024d0| 62 65 20 75 73 65 64 20 | 6f 6e 20 74 68 65 0a 49 |be used |on the.I|
|000024e0| 42 4d 20 50 43 20 61 6e | 64 20 41 74 61 72 69 20 |BM PC an|d Atari |
|000024f0| 76 65 72 73 69 6f 6e 73 | 20 69 66 20 72 65 61 64 |versions| if read|
|00002500| 6c 69 6e 65 20 69 73 20 | 75 73 65 64 3a 0a 0a 0a |line is |used:...|
|00002510| 5c 62 65 67 69 6e 7b 63 | 65 6e 74 65 72 7d 0a 5c |\begin{c|enter}.\|
|00002520| 62 65 67 69 6e 7b 74 61 | 62 75 6c 61 72 7d 7b 7c |begin{ta|bular}{||
|00002530| 63 63 6c 7c 7d 20 5c 68 | 6c 69 6e 65 0a 41 72 72 |ccl|} \h|line.Arr|
|00002540| 6f 77 20 6b 65 79 20 20 | 26 20 46 75 6e 63 74 69 |ow key |& Functi|
|00002550| 6f 6e 20 26 20 5c 5c 20 | 5c 68 6c 69 6e 65 0a 4c |on & \\ |\hline.L|
|00002560| 65 66 74 20 20 20 20 20 | 20 20 26 20 73 61 6d 65 |eft | & same|
|00002570| 20 61 73 20 5c 76 65 72 | 62 7e 5e 42 7e 2e 20 26 | as \ver|b~^B~. &|
|00002580| 20 5c 5c 0a 52 69 67 68 | 74 20 20 20 20 20 20 26 | \\.Righ|t &|
|00002590| 20 73 61 6d 65 20 61 73 | 20 5c 76 65 72 62 7e 5e | same as| \verb~^|
|000025a0| 46 7e 2e 20 26 20 5c 5c | 0a 43 74 72 6c 20 4c 65 |F~. & \\|.Ctrl Le|
|000025b0| 66 74 20 20 26 20 73 61 | 6d 65 20 61 73 20 5c 76 |ft & sa|me as \v|
|000025c0| 65 72 62 7e 5e 41 7e 2e | 20 26 20 5c 5c 0a 43 74 |erb~^A~.| & \\.Ct|
|000025d0| 72 6c 20 52 69 67 68 74 | 20 26 20 73 61 6d 65 20 |rl Right| & same |
|000025e0| 61 73 20 5c 76 65 72 62 | 7e 5e 45 7e 2e 20 26 20 |as \verb|~^E~. & |
|000025f0| 5c 5c 0a 55 70 20 20 20 | 20 20 20 20 20 20 26 20 |\\.Up | & |
|00002600| 73 61 6d 65 20 61 73 20 | 5c 76 65 72 62 7e 5e 50 |same as |\verb~^P|
|00002610| 7e 2e 20 26 20 5c 5c 0a | 44 6f 77 6e 20 20 20 20 |~. & \\.|Down |
|00002620| 20 20 20 26 20 73 61 6d | 65 20 61 73 20 5c 76 65 | & sam|e as \ve|
|00002630| 72 62 7e 5e 4e 7e 2e 20 | 26 20 5c 5c 0a 5c 68 6c |rb~^N~. |& \\.\hl|
|00002640| 69 6e 65 0a 5c 65 6e 64 | 7b 74 61 62 75 6c 61 72 |ine.\end|{tabular|
|00002650| 7d 0a 5c 65 6e 64 7b 63 | 65 6e 74 65 72 7d 0a 0a |}.\end{c|enter}..|
|00002660| 54 68 65 20 41 74 61 72 | 69 20 76 65 72 73 69 6f |The Atar|i versio|
|00002670| 6e 20 6f 66 20 72 65 61 | 64 6c 69 6e 65 20 64 65 |n of rea|dline de|
|00002680| 66 69 6e 65 73 20 73 6f | 6d 65 20 61 64 64 69 74 |fines so|me addit|
|00002690| 69 6f 6e 61 6c 20 6b 65 | 79 20 61 6c 69 61 73 65 |ional ke|y aliase|
|000026a0| 73 3a 0a 0a 0a 5c 62 65 | 67 69 6e 7b 63 65 6e 74 |s:...\be|gin{cent|
|000026b0| 65 72 7d 0a 5c 62 65 67 | 69 6e 7b 74 61 62 75 6c |er}.\beg|in{tabul|
|000026c0| 61 72 7d 7b 7c 63 63 6c | 7c 7d 20 5c 68 6c 69 6e |ar}{|ccl||} \hlin|
|000026d0| 65 0a 41 72 72 6f 77 20 | 6b 65 79 20 26 20 46 75 |e.Arrow |key & Fu|
|000026e0| 6e 63 74 69 6f 6e 20 26 | 20 5c 5c 20 5c 68 6c 69 |nction &| \\ \hli|
|000026f0| 6e 65 0a 55 6e 64 6f 20 | 20 20 20 20 20 26 20 73 |ne.Undo | & s|
|00002700| 61 6d 65 20 61 73 20 5c | 76 65 72 62 7e 5e 4c 7e |ame as \|verb~^L~|
|00002710| 2e 20 26 20 5c 5c 0a 48 | 6f 6d 65 20 20 20 20 20 |. & \\.H|ome |
|00002720| 20 26 20 73 61 6d 65 20 | 61 73 20 5c 76 65 72 62 | & same |as \verb|
|00002730| 7e 5e 41 7e 2e 20 26 20 | 5c 5c 0a 43 74 72 6c 20 |~^A~. & |\\.Ctrl |
|00002740| 48 6f 6d 65 20 26 20 73 | 61 6d 65 20 61 73 20 5c |Home & s|ame as \|
|00002750| 76 65 72 62 7e 5e 45 7e | 2e 20 26 20 5c 5c 0a 45 |verb~^E~|. & \\.E|
|00002760| 73 63 20 20 20 20 20 20 | 20 26 20 73 61 6d 65 20 |sc | & same |
|00002770| 61 73 20 5c 76 65 72 62 | 7e 5e 55 7e 2e 20 26 20 |as \verb|~^U~. & |
|00002780| 5c 5c 0a 48 65 6c 70 20 | 20 20 20 20 20 26 20 60 |\\.Help | & `|
|00002790| 7b 5c 62 66 20 68 65 6c | 70 7d 27 20 70 6c 75 73 |{\bf hel|p}' plus|
|000027a0| 20 72 65 74 75 72 6e 2e | 20 26 20 5c 5c 0a 43 74 | return.| & \\.Ct|
|000027b0| 72 6c 20 48 65 6c 70 20 | 26 20 60 7b 5c 62 66 20 |rl Help |& `{\bf |
|000027c0| 68 65 6c 70 20 7d 27 2e | 20 26 20 5c 5c 0a 5c 68 |help }'.| & \\.\h|
|000027d0| 6c 69 6e 65 0a 5c 65 6e | 64 7b 74 61 62 75 6c 61 |line.\en|d{tabula|
|000027e0| 72 7d 0a 5c 65 6e 64 7b | 63 65 6e 74 65 72 7d 0a |r}.\end{|center}.|
|000027f0| 0a 28 54 68 65 20 72 65 | 61 64 6c 69 6e 65 20 66 |.(The re|adline f|
|00002800| 75 6e 63 74 69 6f 6e 20 | 69 6e 20 7b 5c 62 66 20 |unction |in {\bf |
|00002810| 67 6e 75 70 6c 6f 74 7d | 20 69 73 20 6e 6f 74 20 |gnuplot}| is not |
|00002820| 74 68 65 20 73 61 6d 65 | 20 61 73 20 74 68 65 20 |the same| as the |
|00002830| 72 65 61 64 6c 69 6e 65 | 20 75 73 65 64 20 69 6e |readline| used in|
|00002840| 0a 47 4e 55 20 42 61 73 | 68 20 61 6e 64 20 47 4e |.GNU Bas|h and GN|
|00002850| 55 20 45 6d 61 63 73 2e | 20 20 49 74 20 69 73 20 |U Emacs.| It is |
|00002860| 73 6f 6d 65 77 68 61 74 | 20 63 6f 6d 70 61 74 69 |somewhat| compati|
|00002870| 62 6c 65 2c 20 68 6f 77 | 65 76 65 72 2e 29 0a 5c |ble, how|ever.).\|
|00002880| 73 65 63 74 69 6f 6e 7b | 43 6f 6d 6d 65 6e 74 7d |section{|Comment}|
|00002890| 0a 43 6f 6d 6d 65 6e 74 | 73 20 61 72 65 20 73 75 |.Comment|s are su|
|000028a0| 70 70 6f 72 74 65 64 20 | 61 73 20 66 6f 6c 6c 6f |pported |as follo|
|000028b0| 77 73 3a 20 61 20 5c 23 | 20 6d 61 79 20 61 70 70 |ws: a \#| may app|
|000028c0| 65 61 72 20 69 6e 20 6d | 6f 73 74 20 70 6c 61 63 |ear in m|ost plac|
|000028d0| 65 73 20 69 6e 20 61 20 | 6c 69 6e 65 0a 61 6e 64 |es in a |line.and|
|000028e0| 20 7b 5c 62 66 20 67 6e | 75 70 6c 6f 74 7d 20 77 | {\bf gn|uplot} w|
|000028f0| 69 6c 6c 20 69 67 6e 6f | 72 65 20 74 68 65 20 72 |ill igno|re the r|
|00002900| 65 73 74 20 6f 66 20 74 | 68 65 20 6c 69 6e 65 2e |est of t|he line.|
|00002910| 20 20 49 74 20 77 69 6c | 6c 20 6e 6f 74 20 68 61 | It wil|l not ha|
|00002920| 76 65 20 74 68 69 73 20 | 65 66 66 65 63 74 0a 69 |ve this |effect.i|
|00002930| 6e 73 69 64 65 20 71 75 | 6f 74 65 73 2c 20 69 6e |nside qu|otes, in|
|00002940| 73 69 64 65 20 6e 75 6d | 62 65 72 73 20 28 69 6e |side num|bers (in|
|00002950| 63 6c 75 64 69 6e 67 20 | 63 6f 6d 70 6c 65 78 20 |cluding |complex |
|00002960| 6e 75 6d 62 65 72 73 29 | 2c 20 69 6e 73 69 64 65 |numbers)|, inside|
|00002970| 20 63 6f 6d 6d 61 6e 64 | 0a 73 75 62 73 74 69 74 | command|.substit|
|00002980| 75 74 69 6f 6e 73 2c 20 | 65 74 63 2e 20 20 49 6e |utions, |etc. In|
|00002990| 20 73 68 6f 72 74 2c 20 | 69 74 20 77 6f 72 6b 73 | short, |it works|
|000029a0| 20 61 6e 79 77 68 65 72 | 65 20 69 74 20 6d 61 6b | anywher|e it mak|
|000029b0| 65 73 20 73 65 6e 73 65 | 20 74 6f 20 77 6f 72 6b |es sense| to work|
|000029c0| 2e 0a 5c 73 65 63 74 69 | 6f 6e 7b 45 6e 76 69 72 |..\secti|on{Envir|
|000029d0| 6f 6e 6d 65 6e 74 7d 0a | 41 20 6e 75 6d 62 65 72 |onment}.|A number|
|000029e0| 20 6f 66 20 73 68 65 6c | 6c 20 65 6e 76 69 72 6f | of shel|l enviro|
|000029f0| 6e 6d 65 6e 74 20 76 61 | 72 69 61 62 6c 65 73 20 |nment va|riables |
|00002a00| 61 72 65 20 75 6e 64 65 | 72 73 74 6f 6f 64 20 62 |are unde|rstood b|
|00002a10| 79 20 7b 5c 62 66 20 67 | 6e 75 70 6c 6f 74 7d 2e |y {\bf g|nuplot}.|
|00002a20| 20 20 4e 6f 6e 65 20 6f | 66 0a 74 68 65 73 65 20 | None o|f.these |
|00002a30| 61 72 65 20 72 65 71 75 | 69 72 65 64 2c 20 62 75 |are requ|ired, bu|
|00002a40| 74 20 6d 61 79 20 62 65 | 20 75 73 65 66 75 6c 2e |t may be| useful.|
|00002a50| 0a 0a 49 66 20 47 4e 55 | 54 45 52 4d 20 69 73 20 |..If GNU|TERM is |
|00002a60| 64 65 66 69 6e 65 64 2c | 20 69 74 20 69 73 20 75 |defined,| it is u|
|00002a70| 73 65 64 20 61 73 20 74 | 68 65 20 6e 61 6d 65 20 |sed as t|he name |
|00002a80| 6f 66 20 74 68 65 20 74 | 65 72 6d 69 6e 61 6c 20 |of the t|erminal |
|00002a90| 74 79 70 65 20 74 6f 20 | 62 65 0a 75 73 65 64 2e |type to |be.used.|
|00002aa0| 20 20 54 68 69 73 20 6f | 76 65 72 72 69 64 65 73 | This o|verrides|
|00002ab0| 20 61 6e 79 20 74 65 72 | 6d 69 6e 61 6c 20 74 79 | any ter|minal ty|
|00002ac0| 70 65 20 73 65 6e 73 65 | 64 20 62 79 20 7b 5c 62 |pe sense|d by {\b|
|00002ad0| 66 20 67 6e 75 70 6c 6f | 74 7d 20 6f 6e 20 73 74 |f gnuplo|t} on st|
|00002ae0| 61 72 74 2d 75 70 2c 20 | 62 75 74 0a 69 73 20 69 |art-up, |but.is i|
|00002af0| 74 73 65 6c 66 20 6f 76 | 65 72 72 69 64 64 65 6e |tself ov|erridden|
|00002b00| 20 62 79 20 74 68 65 20 | 2e 67 6e 75 70 6c 6f 74 | by the |.gnuplot|
|00002b10| 20 28 6f 72 20 65 71 75 | 69 76 61 6c 65 6e 74 29 | (or equ|ivalent)|
|00002b20| 20 73 74 61 72 74 2d 75 | 70 20 66 69 6c 65 20 28 | start-u|p file (|
|00002b30| 73 65 65 0a 7b 5c 62 66 | 20 73 74 61 72 74 2d 75 |see.{\bf| start-u|
|00002b40| 70 7d 29 20 61 6e 64 2c | 20 6f 66 20 63 6f 75 72 |p}) and,| of cour|
|00002b50| 73 65 2c 20 62 79 20 6c | 61 74 65 72 20 65 78 70 |se, by l|ater exp|
|00002b60| 6c 69 63 69 74 20 63 68 | 61 6e 67 65 73 2e 0a 0a |licit ch|anges...|
|00002b70| 4f 6e 20 55 6e 69 78 2c | 20 41 6d 69 67 61 44 4f |On Unix,| AmigaDO|
|00002b80| 53 2c 20 41 74 61 72 69 | 54 4f 53 2c 20 4d 53 2d |S, Atari|TOS, MS-|
|00002b90| 44 4f 53 20 61 6e 64 20 | 4f 53 2f 32 2c 20 47 4e |DOS and |OS/2, GN|
|00002ba0| 55 48 45 4c 50 20 6d 61 | 79 20 62 65 20 64 65 66 |UHELP ma|y be def|
|00002bb0| 69 6e 65 64 20 74 6f 20 | 62 65 0a 74 68 65 20 70 |ined to |be.the p|
|00002bc0| 61 74 68 6e 61 6d 65 20 | 6f 66 20 74 68 65 20 48 |athname |of the H|
|00002bd0| 45 4c 50 20 66 69 6c 65 | 20 28 67 6e 75 70 6c 6f |ELP file| (gnuplo|
|00002be0| 74 2e 67 69 68 29 2e 0a | 0a 4f 6e 20 56 4d 53 2c |t.gih)..|.On VMS,|
|00002bf0| 20 74 68 65 20 6c 6f 67 | 69 63 61 6c 20 6e 61 6d | the log|ical nam|
|00002c00| 65 20 67 6e 75 70 6c 6f | 74 5c 24 48 45 4c 50 20 |e gnuplo|t\$HELP |
|00002c10| 73 68 6f 75 6c 64 20 62 | 65 20 64 65 66 69 6e 65 |should b|e define|
|00002c20| 64 20 61 73 20 74 68 65 | 20 6e 61 6d 65 20 6f 66 |d as the| name of|
|00002c30| 20 74 68 65 0a 68 65 6c | 70 20 6c 69 62 72 61 72 | the.hel|p librar|
|00002c40| 79 20 66 6f 72 20 7b 5c | 62 66 20 67 6e 75 70 6c |y for {\|bf gnupl|
|00002c50| 6f 74 7d 2e 20 20 54 68 | 65 20 7b 5c 62 66 20 67 |ot}. Th|e {\bf g|
|00002c60| 6e 75 70 6c 6f 74 7d 20 | 68 65 6c 70 20 63 61 6e |nuplot} |help can|
|00002c70| 20 62 65 20 70 75 74 20 | 69 6e 73 69 64 65 20 61 | be put |inside a|
|00002c80| 6e 79 20 73 79 73 74 65 | 6d 0a 68 65 6c 70 20 6c |ny syste|m.help l|
|00002c90| 69 62 72 61 72 79 2c 20 | 61 6c 6c 6f 77 69 6e 67 |ibrary, |allowing|
|00002ca0| 20 61 63 63 65 73 73 20 | 74 6f 20 68 65 6c 70 20 | access |to help |
|00002cb0| 66 72 6f 6d 20 62 6f 74 | 68 20 77 69 74 68 69 6e |from bot|h within|
|00002cc0| 20 61 6e 64 20 6f 75 74 | 73 69 64 65 20 7b 5c 62 | and out|side {\b|
|00002cd0| 66 20 67 6e 75 70 6c 6f | 74 7d 0a 69 66 20 64 65 |f gnuplo|t}.if de|
|00002ce0| 73 69 72 65 64 2e 0a 0a | 4f 6e 20 55 6e 69 78 2c |sired...|On Unix,|
|00002cf0| 20 48 4f 4d 45 20 69 73 | 20 75 73 65 64 20 61 73 | HOME is| used as|
|00002d00| 20 74 68 65 20 6e 61 6d | 65 20 6f 66 20 61 20 64 | the nam|e of a d|
|00002d10| 69 72 65 63 74 6f 72 79 | 20 74 6f 20 73 65 61 72 |irectory| to sear|
|00002d20| 63 68 20 66 6f 72 20 61 | 20 2e 67 6e 75 70 6c 6f |ch for a| .gnuplo|
|00002d30| 74 0a 66 69 6c 65 20 69 | 66 20 6e 6f 6e 65 20 69 |t.file i|f none i|
|00002d40| 73 20 66 6f 75 6e 64 20 | 69 6e 20 74 68 65 20 63 |s found |in the c|
|00002d50| 75 72 72 65 6e 74 20 64 | 69 72 65 63 74 6f 72 79 |urrent d|irectory|
|00002d60| 2e 20 20 4f 6e 20 41 6d | 69 67 61 44 4f 53 2c 20 |. On Am|igaDOS, |
|00002d70| 41 74 61 72 69 54 4f 53 | 2c 0a 4d 53 2d 44 4f 53 |AtariTOS|,.MS-DOS|
|00002d80| 20 61 6e 64 20 4f 53 2f | 32 2c 20 7b 5c 62 66 20 | and OS/|2, {\bf |
|00002d90| 67 6e 75 70 6c 6f 74 7d | 20 69 73 20 75 73 65 64 |gnuplot}| is used|
|00002da0| 2e 20 20 4f 6e 20 56 4d | 53 2c 20 53 59 53 5c 24 |. On VM|S, SYS\$|
|00002db0| 4c 4f 47 49 4e 3a 20 69 | 73 20 75 73 65 64 2e 20 |LOGIN: i|s used. |
|00002dc0| 53 65 65 20 7b 5c 62 66 | 20 68 65 6c 70 0a 73 74 |See {\bf| help.st|
|00002dd0| 61 72 74 2d 75 70 7d 2e | 0a 0a 4f 6e 20 55 6e 69 |art-up}.|..On Uni|
|00002de0| 78 2c 20 50 41 47 45 52 | 20 69 73 20 75 73 65 64 |x, PAGER| is used|
|00002df0| 20 61 73 20 61 6e 20 6f | 75 74 70 75 74 20 66 69 | as an o|utput fi|
|00002e00| 6c 74 65 72 20 66 6f 72 | 20 68 65 6c 70 20 6d 65 |lter for| help me|
|00002e10| 73 73 61 67 65 73 2e 0a | 0a 4f 6e 20 55 6e 69 78 |ssages..|.On Unix|
|00002e20| 2c 20 41 74 61 72 69 54 | 4f 53 20 61 6e 64 20 41 |, AtariT|OS and A|
|00002e30| 6d 69 67 61 44 4f 53 2c | 20 53 48 45 4c 4c 20 69 |migaDOS,| SHELL i|
|00002e40| 73 20 75 73 65 64 20 66 | 6f 72 20 74 68 65 20 7b |s used f|or the {|
|00002e50| 5c 62 66 20 73 68 65 6c | 6c 7d 20 63 6f 6d 6d 61 |\bf shel|l} comma|
|00002e60| 6e 64 2e 20 20 4f 6e 0a | 4d 53 2d 44 4f 53 20 61 |nd. On.|MS-DOS a|
|00002e70| 6e 64 20 4f 53 2f 32 2c | 20 43 4f 4d 53 50 45 43 |nd OS/2,| COMSPEC|
|00002e80| 20 69 73 20 75 73 65 64 | 20 66 6f 72 20 74 68 65 | is used| for the|
|00002e90| 20 7b 5c 62 66 20 73 68 | 65 6c 6c 7d 20 63 6f 6d | {\bf sh|ell} com|
|00002ea0| 6d 61 6e 64 2e 0a 0a 4f | 6e 20 4d 53 2d 44 4f 53 |mand...O|n MS-DOS|
|00002eb0| 2c 20 69 66 20 74 68 65 | 20 42 47 49 20 69 6e 74 |, if the| BGI int|
|00002ec0| 65 72 66 61 63 65 20 69 | 73 20 75 73 65 64 2c 20 |erface i|s used, |
|00002ed0| 74 68 65 20 76 61 72 69 | 61 62 6c 65 20 7b 5c 62 |the vari|able {\b|
|00002ee0| 66 20 42 47 49 7d 20 69 | 73 20 75 73 65 64 20 74 |f BGI} i|s used t|
|00002ef0| 6f 20 70 6f 69 6e 74 0a | 74 6f 20 74 68 65 20 66 |o point.|to the f|
|00002f00| 75 6c 6c 20 70 61 74 68 | 20 6f 66 20 74 68 65 20 |ull path| of the |
|00002f10| 42 47 49 20 64 72 69 76 | 65 72 73 20 64 69 72 65 |BGI driv|ers dire|
|00002f20| 63 74 6f 72 79 2e 20 20 | 46 75 72 74 68 65 72 6d |ctory. |Furtherm|
|00002f30| 6f 72 65 2c 20 53 56 47 | 41 20 69 73 20 75 73 65 |ore, SVG|A is use|
|00002f40| 64 20 74 6f 0a 6e 61 6d | 65 20 74 68 65 20 53 75 |d to.nam|e the Su|
|00002f50| 70 65 72 20 56 47 41 20 | 42 47 49 20 64 72 69 76 |per VGA |BGI driv|
|00002f60| 65 72 20 69 6e 20 38 30 | 30 78 36 30 30 20 72 65 |er in 80|0x600 re|
|00002f70| 73 6f 6c 75 74 69 6f 6e | 20 61 6e 64 20 69 74 73 |solution| and its|
|00002f80| 20 6d 6f 64 65 20 6f 66 | 20 6f 70 65 72 61 74 69 | mode of| operati|
|00002f90| 6f 6e 0a 61 73 20 27 4e | 61 6d 65 2e 4d 6f 64 65 |on.as 'N|ame.Mode|
|00002fa0| 27 2e 20 20 45 2e 67 2e | 2c 20 69 66 20 74 68 65 |'. E.g.|, if the|
|00002fb0| 20 53 75 70 65 72 20 56 | 47 41 20 64 72 69 76 65 | Super V|GA drive|
|00002fc0| 72 20 69 73 20 43 3a 24 | 5c 62 61 63 6b 73 6c 61 |r is C:$|\backsla|
|00002fd0| 73 68 24 54 43 24 5c 62 | 61 63 6b 73 6c 61 73 68 |sh$TC$\b|ackslash|
|00002fe0| 24 42 47 49 24 5c 62 61 | 63 6b 73 6c 61 73 68 24 |$BGI$\ba|ckslash$|
|00002ff0| 53 56 47 41 44 52 56 2e | 42 47 49 20 61 6e 64 0a |SVGADRV.|BGI and.|
|00003000| 6d 6f 64 65 20 33 20 69 | 73 20 75 73 65 64 20 66 |mode 3 i|s used f|
|00003010| 6f 72 20 38 30 30 78 36 | 30 30 20 72 65 73 6f 6c |or 800x6|00 resol|
|00003020| 75 74 69 6f 6e 2c 20 74 | 68 65 6e 20 75 73 65 20 |ution, t|hen use |
|00003030| 27 73 65 74 20 42 47 49 | 3d 43 3a 24 5c 62 61 63 |'set BGI|=C:$\bac|
|00003040| 6b 73 6c 61 73 68 24 54 | 43 24 5c 62 61 63 6b 73 |kslash$T|C$\backs|
|00003050| 6c 61 73 68 24 42 47 49 | 27 20 61 6e 64 20 27 73 |lash$BGI|' and 's|
|00003060| 65 74 0a 53 56 47 41 3d | 53 56 47 41 44 52 56 2e |et.SVGA=|SVGADRV.|
|00003070| 33 27 2e 0a 0a 46 49 54 | 5c 5f 53 43 52 49 50 54 |3'...FIT|\_SCRIPT|
|00003080| 20 6d 61 79 20 62 65 20 | 75 73 65 64 20 74 6f 20 | may be |used to |
|00003090| 73 70 65 63 69 66 79 20 | 61 20 7b 5c 62 66 20 67 |specify |a {\bf g|
|000030a0| 6e 75 70 6c 6f 74 7d 20 | 63 6f 6d 6d 61 6e 64 20 |nuplot} |command |
|000030b0| 74 6f 20 62 65 20 65 78 | 65 63 75 74 65 64 20 77 |to be ex|ecuted w|
|000030c0| 68 65 6e 20 61 0a 66 69 | 74 20 69 73 20 69 6e 74 |hen a.fi|t is int|
|000030d0| 65 72 72 75 70 74 65 64 | 2d 2d 2d 73 65 65 20 7b |errupted|---see {|
|000030e0| 5c 62 66 20 66 69 74 7d | 2e 20 20 46 49 54 5c 5f |\bf fit}|. FIT\_|
|000030f0| 4c 4f 47 20 73 70 65 63 | 69 66 69 65 73 20 74 68 |LOG spec|ifies th|
|00003100| 65 20 66 69 6c 65 6e 61 | 6d 65 20 6f 66 20 74 68 |e filena|me of th|
|00003110| 65 0a 6c 6f 67 66 69 6c | 65 20 6d 61 69 6e 74 61 |e.logfil|e mainta|
|00003120| 69 6e 65 64 20 62 79 20 | 66 69 74 2e 0a 5c 73 65 |ined by |fit..\se|
|00003130| 63 74 69 6f 6e 7b 45 78 | 69 74 7d 0a 54 68 65 20 |ction{Ex|it}.The |
|00003140| 63 6f 6d 6d 61 6e 64 73 | 20 7b 5c 62 66 20 65 78 |commands| {\bf ex|
|00003150| 69 74 7d 20 61 6e 64 20 | 7b 5c 62 66 20 71 75 69 |it} and |{\bf qui|
|00003160| 74 7d 20 61 6e 64 20 74 | 68 65 20 45 4e 44 2d 4f |t} and t|he END-O|
|00003170| 46 2d 46 49 4c 45 20 63 | 68 61 72 61 63 74 65 72 |F-FILE c|haracter|
|00003180| 20 77 69 6c 6c 20 65 78 | 69 74 0a 7b 5c 62 66 20 | will ex|it.{\bf |
|00003190| 67 6e 75 70 6c 6f 74 7d | 2e 20 20 45 61 63 68 20 |gnuplot}|. Each |
|000031a0| 6f 66 20 74 68 65 73 65 | 20 63 6f 6d 6d 61 6e 64 |of these| command|
|000031b0| 73 20 77 69 6c 6c 20 63 | 6c 65 61 72 20 74 68 65 |s will c|lear the|
|000031c0| 20 6f 75 74 70 75 74 20 | 64 65 76 69 63 65 20 28 | output |device (|
|000031d0| 61 73 20 64 6f 65 73 0a | 74 68 65 20 7b 5c 62 66 |as does.|the {\bf|
|000031e0| 20 63 6c 65 61 72 7d 20 | 63 6f 6d 6d 61 6e 64 29 | clear} |command)|
|000031f0| 20 62 65 66 6f 72 65 20 | 65 78 69 74 69 6e 67 2e | before |exiting.|
|00003200| 0a 5c 73 65 63 74 69 6f | 6e 7b 45 78 70 72 65 73 |.\sectio|n{Expres|
|00003210| 73 69 6f 6e 73 7d 0a 49 | 6e 20 67 65 6e 65 72 61 |sions}.I|n genera|
|00003220| 6c 2c 20 61 6e 79 20 6d | 61 74 68 65 6d 61 74 69 |l, any m|athemati|
|00003230| 63 61 6c 20 65 78 70 72 | 65 73 73 69 6f 6e 20 61 |cal expr|ession a|
|00003240| 63 63 65 70 74 65 64 20 | 62 79 20 43 2c 20 46 4f |ccepted |by C, FO|
|00003250| 52 54 52 41 4e 2c 20 50 | 61 73 63 61 6c 2c 20 6f |RTRAN, P|ascal, o|
|00003260| 72 0a 42 41 53 49 43 20 | 69 73 20 76 61 6c 69 64 |r.BASIC |is valid|
|00003270| 2e 20 20 54 68 65 20 70 | 72 65 63 65 64 65 6e 63 |. The p|recedenc|
|00003280| 65 20 6f 66 20 74 68 65 | 73 65 20 6f 70 65 72 61 |e of the|se opera|
|00003290| 74 6f 72 73 20 69 73 20 | 64 65 74 65 72 6d 69 6e |tors is |determin|
|000032a0| 65 64 20 62 79 20 74 68 | 65 0a 73 70 65 63 69 66 |ed by th|e.specif|
|000032b0| 69 63 61 74 69 6f 6e 73 | 20 6f 66 20 74 68 65 20 |ications| of the |
|000032c0| 43 20 70 72 6f 67 72 61 | 6d 6d 69 6e 67 20 6c 61 |C progra|mming la|
|000032d0| 6e 67 75 61 67 65 2e 20 | 20 57 68 69 74 65 20 73 |nguage. | White s|
|000032e0| 70 61 63 65 20 28 73 70 | 61 63 65 73 20 61 6e 64 |pace (sp|aces and|
|000032f0| 20 74 61 62 73 29 0a 69 | 73 20 69 67 6e 6f 72 65 | tabs).i|s ignore|
|00003300| 64 20 69 6e 73 69 64 65 | 20 65 78 70 72 65 73 73 |d inside| express|
|00003310| 69 6f 6e 73 2e 0a 0a 43 | 6f 6d 70 6c 65 78 20 63 |ions...C|omplex c|
|00003320| 6f 6e 73 74 61 6e 74 73 | 20 61 72 65 20 65 78 70 |onstants| are exp|
|00003330| 72 65 73 73 65 64 20 61 | 73 20 5c 7b 24 3c 24 72 |ressed a|s \{$<$r|
|00003340| 65 61 6c 24 3e 24 2c 24 | 3c 24 69 6d 61 67 24 3e |eal$>$,$|<$imag$>|
|00003350| 24 5c 7d 2c 20 77 68 65 | 72 65 20 24 3c 24 72 65 |$\}, whe|re $<$re|
|00003360| 61 6c 24 3e 24 20 61 6e | 64 20 24 3c 24 69 6d 61 |al$>$ an|d $<$ima|
|00003370| 67 24 3e 24 0a 6d 75 73 | 74 20 62 65 20 6e 75 6d |g$>$.mus|t be num|
|00003380| 65 72 69 63 61 6c 20 63 | 6f 6e 73 74 61 6e 74 73 |erical c|onstants|
|00003390| 2e 20 20 46 6f 72 20 65 | 78 61 6d 70 6c 65 2c 20 |. For e|xample, |
|000033a0| 5c 7b 33 2c 32 5c 7d 20 | 72 65 70 72 65 73 65 6e |\{3,2\} |represen|
|000033b0| 74 73 20 33 20 2b 20 32 | 69 3b 20 5c 7b 30 2c 31 |ts 3 + 2|i; \{0,1|
|000033c0| 5c 7d 0a 72 65 70 72 65 | 73 65 6e 74 73 20 7b 5c |\}.repre|sents {\|
|000033d0| 62 66 20 69 7d 20 69 74 | 73 65 6c 66 2e 20 20 54 |bf i} it|self. T|
|000033e0| 68 65 20 63 75 72 6c 79 | 20 62 72 61 63 65 73 20 |he curly| braces |
|000033f0| 61 72 65 20 65 78 70 6c | 69 63 69 74 6c 79 20 72 |are expl|icitly r|
|00003400| 65 71 75 69 72 65 64 20 | 68 65 72 65 2e 0a 0a 4e |equired |here...N|
|00003410| 6f 74 65 20 74 68 61 74 | 20 67 6e 75 70 6c 6f 74 |ote that| gnuplot|
|00003420| 20 75 73 65 73 20 62 6f | 74 68 20 60 60 72 65 61 | uses bo|th ``rea|
|00003430| 6c 27 27 20 61 6e 64 20 | 60 60 69 6e 74 65 67 65 |l'' and |``intege|
|00003440| 72 27 27 20 61 72 69 74 | 68 6d 65 74 69 63 2c 20 |r'' arit|hmetic, |
|00003450| 6c 69 6b 65 20 46 4f 52 | 54 52 41 4e 20 61 6e 64 |like FOR|TRAN and|
|00003460| 0a 43 2e 20 20 49 6e 74 | 65 67 65 72 73 20 61 72 |.C. Int|egers ar|
|00003470| 65 20 65 6e 74 65 72 65 | 64 20 61 73 20 60 60 31 |e entere|d as ``1|
|00003480| 27 27 2c 20 27 27 2d 31 | 30 27 27 2c 20 65 74 63 |'', ''-1|0'', etc|
|00003490| 3b 20 72 65 61 6c 73 20 | 61 73 20 60 60 31 2e 30 |; reals |as ``1.0|
|000034a0| 27 27 2c 20 27 27 2d 31 | 30 2e 30 27 27 2c 20 60 |'', ''-1|0.0'', `|
|000034b0| 60 31 65 31 27 27 2c 0a | 33 2e 35 65 2d 31 2c 20 |`1e1'',.|3.5e-1, |
|000034c0| 65 74 63 2e 20 20 54 68 | 65 20 6d 6f 73 74 20 69 |etc. Th|e most i|
|000034d0| 6d 70 6f 72 74 61 6e 74 | 20 64 69 66 66 65 72 65 |mportant| differe|
|000034e0| 6e 63 65 20 62 65 74 77 | 65 65 6e 20 74 68 65 20 |nce betw|een the |
|000034f0| 74 77 6f 20 66 6f 72 6d | 73 20 69 73 20 69 6e 0a |two form|s is in.|
|00003500| 64 69 76 69 73 69 6f 6e | 3a 20 64 69 76 69 73 69 |division|: divisi|
|00003510| 6f 6e 20 6f 66 20 69 6e | 74 65 67 65 72 73 20 74 |on of in|tegers t|
|00003520| 72 75 6e 63 61 74 65 73 | 3a 20 35 2f 32 20 3d 20 |runcates|: 5/2 = |
|00003530| 31 3b 20 64 69 76 69 73 | 69 6f 6e 20 6f 66 20 72 |1; divis|ion of r|
|00003540| 65 61 6c 73 20 64 6f 65 | 73 0a 6e 6f 74 3a 20 35 |eals doe|s.not: 5|
|00003550| 2e 30 2f 32 2e 30 20 3d | 20 32 2e 35 2e 20 20 49 |.0/2.0 =| 2.5. I|
|00003560| 6e 20 6d 69 78 65 64 20 | 65 78 70 72 65 73 73 69 |n mixed |expressi|
|00003570| 6f 6e 73 2c 20 69 6e 74 | 65 67 65 72 73 20 61 72 |ons, int|egers ar|
|00003580| 65 20 60 60 70 72 6f 6d | 6f 74 65 64 27 27 20 74 |e ``prom|oted'' t|
|00003590| 6f 20 72 65 61 6c 73 0a | 62 65 66 6f 72 65 20 65 |o reals.|before e|
|000035a0| 76 61 6c 75 61 74 69 6f | 6e 3a 20 35 2f 32 65 31 |valuatio|n: 5/2e1|
|000035b0| 20 3d 20 32 2e 35 2e 20 | 20 54 68 65 20 72 65 73 | = 2.5. | The res|
|000035c0| 75 6c 74 20 6f 66 20 64 | 69 76 69 73 69 6f 6e 20 |ult of d|ivision |
|000035d0| 6f 66 20 61 20 6e 65 67 | 61 74 69 76 65 20 69 6e |of a neg|ative in|
|000035e0| 74 65 67 65 72 0a 62 79 | 20 61 20 70 6f 73 69 74 |teger.by| a posit|
|000035f0| 69 76 65 20 6f 6e 65 20 | 6d 61 79 20 76 61 72 79 |ive one |may vary|
|00003600| 20 61 6d 6f 6e 67 20 63 | 6f 6d 70 69 6c 65 72 73 | among c|ompilers|
|00003610| 2e 20 20 54 72 79 20 61 | 20 74 65 73 74 20 6c 69 |. Try a| test li|
|00003620| 6b 65 20 60 60 70 72 69 | 6e 74 20 2d 35 2f 32 27 |ke ``pri|nt -5/2'|
|00003630| 27 20 74 6f 0a 64 65 74 | 65 72 6d 69 6e 65 20 69 |' to.det|ermine i|
|00003640| 66 20 79 6f 75 72 20 73 | 79 73 74 65 6d 20 63 68 |f your s|ystem ch|
|00003650| 6f 6f 73 65 73 20 2d 32 | 20 6f 72 20 2d 33 20 61 |ooses -2| or -3 a|
|00003660| 73 20 74 68 65 20 61 6e | 73 77 65 72 2e 0a 0a 54 |s the an|swer...T|
|00003670| 68 65 20 72 65 61 6c 20 | 61 6e 64 20 69 6d 61 67 |he real |and imag|
|00003680| 69 6e 61 72 79 20 70 61 | 72 74 73 20 6f 66 20 63 |inary pa|rts of c|
|00003690| 6f 6d 70 6c 65 78 20 65 | 78 70 72 65 73 73 69 6f |omplex e|xpressio|
|000036a0| 6e 73 20 61 72 65 20 61 | 6c 77 61 79 73 20 72 65 |ns are a|lways re|
|000036b0| 61 6c 2c 20 77 68 61 74 | 65 76 65 72 0a 74 68 65 |al, what|ever.the|
|000036c0| 20 66 6f 72 6d 20 69 6e | 20 77 68 69 63 68 20 74 | form in| which t|
|000036d0| 68 65 79 20 61 72 65 20 | 65 6e 74 65 72 65 64 3a |hey are |entered:|
|000036e0| 20 69 6e 20 5c 7b 33 2c | 32 5c 7d 20 74 68 65 20 | in \{3,|2\} the |
|000036f0| 60 60 33 27 27 20 61 6e | 64 20 60 60 32 27 27 20 |``3'' an|d ``2'' |
|00003700| 61 72 65 20 72 65 61 6c | 73 2c 20 6e 6f 74 0a 69 |are real|s, not.i|
|00003710| 6e 74 65 67 65 72 73 2e | 0a 5c 73 75 62 73 65 63 |ntegers.|.\subsec|
|00003720| 74 69 6f 6e 7b 46 75 6e | 63 74 69 6f 6e 73 7d 0a |tion{Fun|ctions}.|
|00003730| 54 68 65 20 66 75 6e 63 | 74 69 6f 6e 73 20 69 6e |The func|tions in|
|00003740| 20 7b 5c 62 66 20 67 6e | 75 70 6c 6f 74 7d 20 61 | {\bf gn|uplot} a|
|00003750| 72 65 20 74 68 65 20 73 | 61 6d 65 20 61 73 20 74 |re the s|ame as t|
|00003760| 68 65 20 63 6f 72 72 65 | 73 70 6f 6e 64 69 6e 67 |he corre|sponding|
|00003770| 20 66 75 6e 63 74 69 6f | 6e 73 20 69 6e 0a 74 68 | functio|ns in.th|
|00003780| 65 20 55 6e 69 78 20 6d | 61 74 68 20 6c 69 62 72 |e Unix m|ath libr|
|00003790| 61 72 79 2c 20 65 78 63 | 65 70 74 20 74 68 61 74 |ary, exc|ept that|
|000037a0| 20 61 6c 6c 20 66 75 6e | 63 74 69 6f 6e 73 20 61 | all fun|ctions a|
|000037b0| 63 63 65 70 74 20 69 6e | 74 65 67 65 72 2c 20 72 |ccept in|teger, r|
|000037c0| 65 61 6c 2c 20 61 6e 64 | 0a 63 6f 6d 70 6c 65 78 |eal, and|.complex|
|000037d0| 20 61 72 67 75 6d 65 6e | 74 73 2c 20 75 6e 6c 65 | argumen|ts, unle|
|000037e0| 73 73 20 6f 74 68 65 72 | 77 69 73 65 20 6e 6f 74 |ss other|wise not|
|000037f0| 65 64 2e 20 20 54 68 65 | 20 7b 5c 62 66 20 73 67 |ed. The| {\bf sg|
|00003800| 6e 7d 20 66 75 6e 63 74 | 69 6f 6e 20 69 73 20 61 |n} funct|ion is a|
|00003810| 6c 73 6f 0a 73 75 70 70 | 6f 72 74 65 64 2c 20 61 |lso.supp|orted, a|
|00003820| 73 20 69 6e 20 42 41 53 | 49 43 2e 0a 0a 5c 62 65 |s in BAS|IC...\be|
|00003830| 67 69 6e 7b 63 65 6e 74 | 65 72 7d 0a 5c 62 65 67 |gin{cent|er}.\beg|
|00003840| 69 6e 7b 74 61 62 75 6c | 61 72 7d 7b 7c 63 63 6c |in{tabul|ar}{|ccl|
|00003850| 7c 7d 20 5c 68 6c 69 6e | 65 0a 46 75 6e 63 74 69 ||} \hlin|e.Functi|
|00003860| 6f 6e 20 26 20 41 72 67 | 75 6d 65 6e 74 73 20 26 |on & Arg|uments &|
|00003870| 20 52 65 74 75 72 6e 73 | 20 5c 5c 20 5c 68 6c 69 | Returns| \\ \hli|
|00003880| 6e 65 0a 61 62 73 28 78 | 29 20 26 20 61 6e 79 20 |ne.abs(x|) & any |
|00003890| 20 26 20 20 61 62 73 6f | 6c 75 74 65 20 76 61 6c | & abso|lute val|
|000038a0| 75 65 20 6f 66 20 7b 5c | 74 74 20 78 7d 2c 20 24 |ue of {\|tt x}, $|
|000038b0| 7c 78 7c 24 3b 20 73 61 | 6d 65 20 74 79 70 65 20 ||x|$; sa|me type |
|000038c0| 5c 5c 0a 61 62 73 28 78 | 29 20 26 20 63 6f 6d 70 |\\.abs(x|) & comp|
|000038d0| 6c 65 78 20 26 20 20 6c | 65 6e 67 74 68 20 6f 66 |lex & l|ength of|
|000038e0| 20 7b 5c 74 74 20 78 7d | 2c 20 24 5c 73 71 72 74 | {\tt x}|, $\sqrt|
|000038f0| 7b 7b 5c 6d 62 6f 78 7b | 72 65 61 6c 7d 28 78 29 |{{\mbox{|real}(x)|
|00003900| 5e 7b 32 7d 20 2b 0a 5c | 6d 62 6f 78 7b 69 6d 61 |^{2} +.\|mbox{ima|
|00003910| 67 7d 28 78 29 5e 7b 32 | 7d 7d 7d 24 20 5c 5c 0a |g}(x)^{2|}}}$ \\.|
|00003920| 61 63 6f 73 28 78 29 20 | 26 20 61 6e 79 20 20 26 |acos(x) |& any &|
|00003930| 20 24 5c 63 6f 73 5e 7b | 2d 31 7d 20 78 24 20 28 | $\cos^{|-1} x$ (|
|00003940| 69 6e 76 65 72 73 65 20 | 63 6f 73 69 6e 65 29 20 |inverse |cosine) |
|00003950| 69 6e 20 72 61 64 69 61 | 6e 73 20 5c 5c 0a 61 72 |in radia|ns \\.ar|
|00003960| 67 28 78 29 20 26 20 63 | 6f 6d 70 6c 65 78 20 26 |g(x) & c|omplex &|
|00003970| 20 74 68 65 20 70 68 61 | 73 65 20 6f 66 20 24 78 | the pha|se of $x|
|00003980| 24 20 69 6e 20 72 61 64 | 69 61 6e 73 5c 5c 0a 61 |$ in rad|ians\\.a|
|00003990| 73 69 6e 28 78 29 20 26 | 20 61 6e 79 20 20 26 20 |sin(x) &| any & |
|000039a0| 24 5c 73 69 6e 5e 7b 2d | 31 7d 20 78 24 20 28 69 |$\sin^{-|1} x$ (i|
|000039b0| 6e 76 65 72 73 65 20 73 | 69 6e 29 20 69 6e 20 72 |nverse s|in) in r|
|000039c0| 61 64 69 61 6e 73 20 5c | 5c 0a 61 74 61 6e 28 78 |adians \|\.atan(x|
|000039d0| 29 20 26 20 61 6e 79 20 | 20 26 20 24 5c 74 61 6e |) & any | & $\tan|
|000039e0| 5e 7b 2d 31 7d 20 78 24 | 20 28 69 6e 76 65 72 73 |^{-1} x$| (invers|
|000039f0| 65 20 74 61 6e 67 65 6e | 74 29 20 69 6e 20 72 61 |e tangen|t) in ra|
|00003a00| 64 69 61 6e 73 20 5c 5c | 0a 62 65 73 6a 30 28 78 |dians \\|.besj0(x|
|00003a10| 29 20 26 20 72 61 64 69 | 61 6e 73 20 26 20 20 24 |) & radi|ans & $|
|00003a20| 6a 5f 7b 30 7d 24 20 42 | 65 73 73 65 6c 20 66 75 |j_{0}$ B|essel fu|
|00003a30| 6e 63 74 69 6f 6e 20 6f | 66 20 24 78 24 20 5c 5c |nction o|f $x$ \\|
|00003a40| 0a 62 65 73 6a 31 28 78 | 29 20 26 20 72 61 64 69 |.besj1(x|) & radi|
|00003a50| 61 6e 73 20 26 20 24 6a | 5f 7b 31 7d 24 20 42 65 |ans & $j|_{1}$ Be|
|00003a60| 73 73 65 6c 20 66 75 6e | 63 74 69 6f 6e 20 6f 66 |ssel fun|ction of|
|00003a70| 20 24 78 24 20 5c 5c 0a | 62 65 73 79 30 28 78 29 | $x$ \\.|besy0(x)|
|00003a80| 20 26 20 72 61 64 69 61 | 6e 73 20 26 20 24 79 5f | & radia|ns & $y_|
|00003a90| 7b 30 7d 24 20 42 65 73 | 73 65 6c 20 66 75 6e 63 |{0}$ Bes|sel func|
|00003aa0| 74 69 6f 6e 20 6f 66 20 | 24 78 24 20 5c 5c 0a 62 |tion of |$x$ \\.b|
|00003ab0| 65 73 79 31 28 78 29 20 | 26 20 72 61 64 69 61 6e |esy1(x) |& radian|
|00003ac0| 73 20 26 20 24 79 5f 7b | 31 7d 24 20 42 65 73 73 |s & $y_{|1}$ Bess|
|00003ad0| 65 6c 20 66 75 6e 63 74 | 69 6f 6e 20 6f 66 20 24 |el funct|ion of $|
|00003ae0| 78 24 20 5c 5c 0a 63 65 | 69 6c 28 78 29 20 26 20 |x$ \\.ce|il(x) & |
|00003af0| 61 6e 79 20 26 20 24 5c | 6c 63 65 69 6c 20 78 20 |any & $\|lceil x |
|00003b00| 5c 72 63 65 69 6c 24 2c | 20 73 6d 61 6c 6c 65 73 |\rceil$,| smalles|
|00003b10| 74 20 69 6e 74 65 67 65 | 72 20 6e 6f 74 20 6c 65 |t intege|r not le|
|00003b20| 73 73 20 74 68 61 6e 20 | 24 78 24 0a 28 72 65 61 |ss than |$x$.(rea|
|00003b30| 6c 20 70 61 72 74 29 20 | 5c 5c 0a 63 6f 6c 75 6d |l part) |\\.colum|
|00003b40| 6e 28 78 29 20 26 20 69 | 6e 74 20 26 20 63 6f 6c |n(x) & i|nt & col|
|00003b50| 75 6d 6e 20 24 78 24 20 | 64 75 72 69 6e 67 20 64 |umn $x$ |during d|
|00003b60| 61 74 61 66 69 6c 65 20 | 6d 61 6e 69 70 75 6c 61 |atafile |manipula|
|00003b70| 74 69 6f 6e 2e 20 5c 5c | 0a 63 6f 73 28 78 29 20 |tion. \\|.cos(x) |
|00003b80| 26 20 72 61 64 69 61 6e | 73 20 26 20 24 5c 63 6f |& radian|s & $\co|
|00003b90| 73 20 78 24 2c 20 63 6f | 73 69 6e 65 20 6f 66 20 |s x$, co|sine of |
|00003ba0| 24 78 24 20 5c 5c 0a 63 | 6f 73 68 28 78 29 20 26 |$x$ \\.c|osh(x) &|
|00003bb0| 20 72 61 64 69 61 6e 73 | 20 26 20 24 5c 63 6f 73 | radians| & $\cos|
|00003bc0| 68 20 78 24 2c 20 68 79 | 70 65 72 62 6f 6c 69 63 |h x$, hy|perbolic|
|00003bd0| 20 63 6f 73 69 6e 65 20 | 6f 66 20 24 78 24 20 5c | cosine |of $x$ \|
|00003be0| 5c 0a 65 72 66 28 78 29 | 20 26 20 61 6e 79 20 26 |\.erf(x)| & any &|
|00003bf0| 20 24 5c 6d 62 6f 78 7b | 45 72 66 7d 28 5c 6d 62 | $\mbox{|Erf}(\mb|
|00003c00| 6f 78 7b 72 65 61 6c 7d | 28 78 29 29 24 2c 20 20 |ox{real}|(x))$, |
|00003c10| 65 72 72 6f 72 20 66 75 | 6e 63 74 69 6f 6e 20 6f |error fu|nction o|
|00003c20| 66 20 72 65 61 6c 28 24 | 78 24 29 20 5c 5c 0a 65 |f real($|x$) \\.e|
|00003c30| 72 66 63 28 78 29 20 26 | 20 61 6e 79 20 26 20 24 |rfc(x) &| any & $|
|00003c40| 5c 6d 62 6f 78 7b 45 72 | 66 63 7d 28 5c 6d 62 6f |\mbox{Er|fc}(\mbo|
|00003c50| 78 7b 72 65 61 6c 7d 28 | 78 29 29 24 2c 20 20 31 |x{real}(|x))$, 1|
|00003c60| 2e 30 20 2d 20 65 72 72 | 6f 72 20 66 75 6e 63 74 |.0 - err|or funct|
|00003c70| 69 6f 6e 20 6f 66 20 72 | 65 61 6c 28 24 78 24 29 |ion of r|eal($x$)|
|00003c80| 20 5c 5c 0a 65 78 70 28 | 78 29 20 26 20 61 6e 79 | \\.exp(|x) & any|
|00003c90| 20 26 20 24 65 5e 7b 78 | 7d 24 2c 20 20 65 78 70 | & $e^{x|}$, exp|
|00003ca0| 6f 6e 65 6e 74 69 61 6c | 20 66 75 6e 63 74 69 6f |onential| functio|
|00003cb0| 6e 20 6f 66 20 24 78 24 | 20 5c 5c 0a 66 6c 6f 6f |n of $x$| \\.floo|
|00003cc0| 72 28 78 29 20 26 20 61 | 6e 79 20 26 20 24 5c 6c |r(x) & a|ny & $\l|
|00003cd0| 66 6c 6f 6f 72 20 78 20 | 5c 72 66 6c 6f 6f 72 24 |floor x |\rfloor$|
|00003ce0| 2c 20 20 6c 61 72 67 65 | 73 74 20 69 6e 74 65 67 |, large|st integ|
|00003cf0| 65 72 20 6e 6f 74 20 67 | 72 65 61 74 65 72 0a 74 |er not g|reater.t|
|00003d00| 68 61 6e 20 24 78 24 20 | 28 72 65 61 6c 20 70 61 |han $x$ |(real pa|
|00003d10| 72 74 29 20 5c 5c 0a 67 | 61 6d 6d 61 28 78 29 20 |rt) \\.g|amma(x) |
|00003d20| 26 20 61 6e 79 20 26 20 | 24 5c 6d 62 6f 78 7b 47 |& any & |$\mbox{G|
|00003d30| 61 6d 6d 61 7d 28 5c 6d | 62 6f 78 7b 72 65 61 6c |amma}(\m|box{real|
|00003d40| 7d 28 78 29 29 24 2c 20 | 20 67 61 6d 6d 61 20 66 |}(x))$, | gamma f|
|00003d50| 75 6e 63 74 69 6f 6e 20 | 6f 66 20 72 65 61 6c 28 |unction |of real(|
|00003d60| 24 78 24 29 20 5c 5c 0a | 69 62 65 74 61 28 70 2c |$x$) \\.|ibeta(p,|
|00003d70| 71 2c 78 29 20 26 20 61 | 6e 79 20 26 20 24 5c 6d |q,x) & a|ny & $\m|
|00003d80| 62 6f 78 7b 49 62 65 74 | 61 7d 28 5c 6d 62 6f 78 |box{Ibet|a}(\mbox|
|00003d90| 7b 72 65 61 6c 7d 28 70 | 2c 71 2c 78 29 29 24 2c |{real}(p|,q,x))$,|
|00003da0| 20 20 69 62 65 74 61 20 | 66 75 6e 63 74 69 6f 6e | ibeta |function|
|00003db0| 20 6f 66 20 72 65 61 6c | 28 24 70 24 2c 24 71 24 | of real|($p$,$q$|
|00003dc0| 2c 24 78 24 29 20 5c 5c | 0a 69 6e 76 65 72 66 28 |,$x$) \\|.inverf(|
|00003dd0| 78 29 20 26 20 61 6e 79 | 20 26 20 20 69 6e 76 65 |x) & any| & inve|
|00003de0| 72 73 65 20 65 72 72 6f | 72 20 66 75 6e 63 74 69 |rse erro|r functi|
|00003df0| 6f 6e 20 6f 66 20 72 65 | 61 6c 28 24 78 24 29 20 |on of re|al($x$) |
|00003e00| 20 5c 5c 0a 69 67 61 6d | 6d 61 28 61 2c 78 29 20 | \\.igam|ma(a,x) |
|00003e10| 26 20 61 6e 79 20 26 20 | 24 5c 6d 62 6f 78 7b 49 |& any & |$\mbox{I|
|00003e20| 67 61 6d 6d 61 7d 28 5c | 6d 62 6f 78 7b 72 65 61 |gamma}(\|mbox{rea|
|00003e30| 6c 7d 28 61 2c 78 29 29 | 24 2c 20 20 69 67 61 6d |l}(a,x))|$, igam|
|00003e40| 6d 61 20 66 75 6e 63 74 | 69 6f 6e 20 6f 66 20 72 |ma funct|ion of r|
|00003e50| 65 61 6c 28 24 61 24 2c | 24 78 24 29 20 5c 5c 0a |eal($a$,|$x$) \\.|
|00003e60| 69 6d 61 67 28 78 29 20 | 26 20 63 6f 6d 70 6c 65 |imag(x) |& comple|
|00003e70| 78 20 26 20 20 69 6d 61 | 67 69 6e 61 72 79 20 70 |x & ima|ginary p|
|00003e80| 61 72 74 20 6f 66 20 24 | 78 24 20 61 73 20 61 20 |art of $|x$ as a |
|00003e90| 72 65 61 6c 20 6e 75 6d | 62 65 72 20 5c 5c 0a 69 |real num|ber \\.i|
|00003ea0| 6e 76 6e 6f 72 6d 28 78 | 29 20 26 20 61 6e 79 20 |nvnorm(x|) & any |
|00003eb0| 26 20 20 69 6e 76 65 72 | 73 65 20 6e 6f 72 6d 61 |& inver|se norma|
|00003ec0| 6c 20 64 69 73 74 72 69 | 62 75 74 69 6f 6e 20 66 |l distri|bution f|
|00003ed0| 75 6e 63 74 69 6f 6e 20 | 6f 66 20 72 65 61 6c 28 |unction |of real(|
|00003ee0| 24 78 24 29 20 20 5c 5c | 0a 69 6e 74 28 78 29 20 |$x$) \\|.int(x) |
|00003ef0| 26 20 72 65 61 6c 20 26 | 20 20 69 6e 74 65 67 65 |& real &| intege|
|00003f00| 72 20 70 61 72 74 20 6f | 66 20 24 78 24 2c 20 74 |r part o|f $x$, t|
|00003f10| 72 75 6e 63 61 74 65 64 | 20 74 6f 77 61 72 64 20 |runcated| toward |
|00003f20| 7a 65 72 6f 20 5c 5c 0a | 6c 67 61 6d 6d 61 28 78 |zero \\.|lgamma(x|
|00003f30| 29 20 26 20 61 6e 79 20 | 26 20 24 5c 6d 62 6f 78 |) & any |& $\mbox|
|00003f40| 7b 4c 67 61 6d 6d 61 7d | 28 5c 6d 62 6f 78 7b 72 |{Lgamma}|(\mbox{r|
|00003f50| 65 61 6c 7d 28 78 29 29 | 24 2c 20 20 6c 67 61 6d |eal}(x))|$, lgam|
|00003f60| 6d 61 20 66 75 6e 63 74 | 69 6f 6e 20 6f 66 20 72 |ma funct|ion of r|
|00003f70| 65 61 6c 28 24 78 24 29 | 20 5c 5c 0a 6c 6f 67 28 |eal($x$)| \\.log(|
|00003f80| 78 29 20 26 20 61 6e 79 | 20 26 20 24 5c 6c 6f 67 |x) & any| & $\log|
|00003f90| 5f 7b 65 7d 20 78 24 2c | 20 20 6e 61 74 75 72 61 |_{e} x$,| natura|
|00003fa0| 6c 20 6c 6f 67 61 72 69 | 74 68 6d 20 28 62 61 73 |l logari|thm (bas|
|00003fb0| 65 20 24 65 24 29 20 6f | 66 20 24 78 24 20 5c 5c |e $e$) o|f $x$ \\|
|00003fc0| 0a 6c 6f 67 31 30 28 78 | 29 20 26 20 61 6e 79 20 |.log10(x|) & any |
|00003fd0| 26 20 24 5c 6c 6f 67 5f | 7b 31 30 7d 20 78 24 2c |& $\log_|{10} x$,|
|00003fe0| 20 20 6c 6f 67 61 72 69 | 74 68 6d 20 28 62 61 73 | logari|thm (bas|
|00003ff0| 65 20 24 31 30 24 29 20 | 6f 66 20 24 78 24 20 5c |e $10$) |of $x$ \|
|00004000| 5c 0a 6e 6f 72 6d 28 78 | 29 20 26 20 61 6e 79 20 |\.norm(x|) & any |
|00004010| 26 20 6e 6f 72 6d 61 6c | 20 64 69 73 74 72 69 62 |& normal| distrib|
|00004020| 75 74 69 6f 6e 20 28 47 | 61 75 73 73 69 61 6e 29 |ution (G|aussian)|
|00004030| 20 66 75 6e 63 74 69 6f | 6e 20 6f 66 20 72 65 61 | functio|n of rea|
|00004040| 6c 28 24 78 24 29 20 5c | 5c 0a 72 61 6e 64 28 78 |l($x$) \|\.rand(x|
|00004050| 29 20 26 20 61 6e 79 20 | 26 20 24 5c 6d 62 6f 78 |) & any |& $\mbox|
|00004060| 7b 52 61 6e 64 7d 28 5c | 6d 62 6f 78 7b 72 65 61 |{Rand}(\|mbox{rea|
|00004070| 6c 7d 28 78 29 29 24 2c | 20 20 70 73 65 75 64 6f |l}(x))$,| pseudo|
|00004080| 20 72 61 6e 64 6f 6d 20 | 6e 75 6d 62 65 72 20 67 | random |number g|
|00004090| 65 6e 65 72 61 74 6f 72 | 20 5c 5c 0a 72 65 61 6c |enerator| \\.real|
|000040a0| 28 78 29 20 26 20 61 6e | 79 20 26 20 20 72 65 61 |(x) & an|y & rea|
|000040b0| 6c 20 70 61 72 74 20 6f | 66 20 24 78 24 20 5c 5c |l part o|f $x$ \\|
|000040c0| 0a 73 67 6e 28 78 29 20 | 26 20 61 6e 79 20 26 20 |.sgn(x) |& any & |
|000040d0| 31 20 69 66 20 24 78 3e | 30 24 2c 20 2d 31 20 69 |1 if $x>|0$, -1 i|
|000040e0| 66 20 24 78 3c 30 24 2c | 20 30 20 69 66 20 24 78 |f $x<0$,| 0 if $x|
|000040f0| 3d 30 24 2e 20 69 6d 61 | 67 28 24 78 24 29 20 69 |=0$. ima|g($x$) i|
|00004100| 67 6e 6f 72 65 64 20 5c | 5c 0a 73 69 6e 28 78 29 |gnored \|\.sin(x)|
|00004110| 20 26 20 72 61 64 69 61 | 6e 73 20 26 20 24 5c 73 | & radia|ns & $\s|
|00004120| 69 6e 20 78 24 2c 20 73 | 69 6e 65 20 6f 66 20 24 |in x$, s|ine of $|
|00004130| 78 24 20 5c 5c 0a 73 69 | 6e 68 28 78 29 20 26 20 |x$ \\.si|nh(x) & |
|00004140| 72 61 64 69 61 6e 73 20 | 26 20 24 5c 73 69 6e 68 |radians |& $\sinh|
|00004150| 20 78 24 2c 20 68 79 70 | 65 72 62 6f 6c 69 63 20 | x$, hyp|erbolic |
|00004160| 73 69 6e 65 20 24 78 24 | 20 5c 5c 0a 73 71 72 74 |sine $x$| \\.sqrt|
|00004170| 28 78 29 20 26 20 61 6e | 79 20 26 20 24 5c 73 71 |(x) & an|y & $\sq|
|00004180| 72 74 7b 78 7d 24 2c 20 | 20 73 71 75 61 72 65 20 |rt{x}$, | square |
|00004190| 72 6f 6f 74 20 6f 66 20 | 24 78 24 20 5c 5c 0a 74 |root of |$x$ \\.t|
|000041a0| 61 6e 28 78 29 20 26 20 | 72 61 64 69 61 6e 73 20 |an(x) & |radians |
|000041b0| 26 20 24 5c 74 61 6e 20 | 78 24 2c 20 20 74 61 6e |& $\tan |x$, tan|
|000041c0| 67 65 6e 74 20 6f 66 20 | 24 78 24 20 5c 5c 0a 74 |gent of |$x$ \\.t|
|000041d0| 61 6e 68 28 78 29 20 26 | 20 72 61 64 69 61 6e 73 |anh(x) &| radians|
|000041e0| 20 26 20 24 5c 74 61 6e | 68 20 78 24 2c 20 68 79 | & $\tan|h x$, hy|
|000041f0| 70 65 72 62 6f 6c 69 63 | 20 74 61 6e 67 65 6e 74 |perbolic| tangent|
|00004200| 20 6f 66 20 24 78 24 5c | 5c 0a 76 61 6c 69 64 28 | of $x$\|\.valid(|
|00004210| 78 29 20 26 20 69 6e 74 | 20 26 20 74 65 73 74 20 |x) & int| & test |
|00004220| 76 61 6c 69 64 69 74 79 | 20 6f 66 20 24 5c 6d 62 |validity| of $\mb|
|00004230| 6f 78 7b 63 6f 6c 75 6d | 6e 7d 28 78 29 24 20 64 |ox{colum|n}(x)$ d|
|00004240| 75 72 69 6e 67 20 64 61 | 74 61 66 69 6c 65 20 6d |uring da|tafile m|
|00004250| 61 6e 69 70 2e 5c 5c 0a | 5c 68 6c 69 6e 65 0a 5c |anip.\\.|\hline.\|
|00004260| 65 6e 64 7b 74 61 62 75 | 6c 61 72 7d 0a 5c 65 6e |end{tabu|lar}.\en|
|00004270| 64 7b 63 65 6e 74 65 72 | 7d 0a 5c 73 75 62 73 65 |d{center|}.\subse|
|00004280| 63 74 69 6f 6e 7b 4f 70 | 65 72 61 74 6f 72 73 7d |ction{Op|erators}|
|00004290| 0a 54 68 65 20 6f 70 65 | 72 61 74 6f 72 73 20 69 |.The ope|rators i|
|000042a0| 6e 20 7b 5c 62 66 20 67 | 6e 75 70 6c 6f 74 7d 20 |n {\bf g|nuplot} |
|000042b0| 61 72 65 20 74 68 65 20 | 73 61 6d 65 20 61 73 20 |are the |same as |
|000042c0| 74 68 65 20 63 6f 72 72 | 65 73 70 6f 6e 64 69 6e |the corr|espondin|
|000042d0| 67 20 6f 70 65 72 61 74 | 6f 72 73 20 69 6e 20 74 |g operat|ors in t|
|000042e0| 68 65 0a 43 20 70 72 6f | 67 72 61 6d 6d 69 6e 67 |he.C pro|gramming|
|000042f0| 20 6c 61 6e 67 75 61 67 | 65 2c 20 65 78 63 65 70 | languag|e, excep|
|00004300| 74 20 74 68 61 74 20 61 | 6c 6c 20 6f 70 65 72 61 |t that a|ll opera|
|00004310| 74 6f 72 73 20 61 63 63 | 65 70 74 20 69 6e 74 65 |tors acc|ept inte|
|00004320| 67 65 72 2c 20 72 65 61 | 6c 2c 20 61 6e 64 0a 63 |ger, rea|l, and.c|
|00004330| 6f 6d 70 6c 65 78 20 61 | 72 67 75 6d 65 6e 74 73 |omplex a|rguments|
|00004340| 2c 20 75 6e 6c 65 73 73 | 20 6f 74 68 65 72 77 69 |, unless| otherwi|
|00004350| 73 65 20 6e 6f 74 65 64 | 2e 20 20 54 68 65 20 2a |se noted|. The *|
|00004360| 2a 20 6f 70 65 72 61 74 | 6f 72 20 28 65 78 70 6f |* operat|or (expo|
|00004370| 6e 65 6e 74 69 61 74 69 | 6f 6e 29 0a 69 73 20 73 |nentiati|on).is s|
|00004380| 75 70 70 6f 72 74 65 64 | 2c 20 61 73 20 69 6e 20 |upported|, as in |
|00004390| 46 4f 52 54 52 41 4e 2e | 0a 0a 50 61 72 65 6e 74 |FORTRAN.|..Parent|
|000043a0| 68 65 73 65 73 20 6d 61 | 79 20 62 65 20 75 73 65 |heses ma|y be use|
|000043b0| 64 20 74 6f 20 63 68 61 | 6e 67 65 20 6f 72 64 65 |d to cha|nge orde|
|000043c0| 72 20 6f 66 20 65 76 61 | 6c 75 61 74 69 6f 6e 2e |r of eva|luation.|
|000043d0| 0a 5c 73 75 62 73 75 62 | 73 65 63 74 69 6f 6e 7b |.\subsub|section{|
|000043e0| 55 6e 61 72 79 7d 0a 54 | 68 65 20 66 6f 6c 6c 6f |Unary}.T|he follo|
|000043f0| 77 69 6e 67 20 69 73 20 | 61 20 6c 69 73 74 20 6f |wing is |a list o|
|00004400| 66 20 61 6c 6c 20 74 68 | 65 20 75 6e 61 72 79 20 |f all th|e unary |
|00004410| 6f 70 65 72 61 74 6f 72 | 73 20 61 6e 64 20 74 68 |operator|s and th|
|00004420| 65 69 72 20 75 73 61 67 | 65 73 3a 0a 0a 0a 5c 62 |eir usag|es:...\b|
|00004430| 65 67 69 6e 7b 63 65 6e | 74 65 72 7d 0a 5c 62 65 |egin{cen|ter}.\be|
|00004440| 67 69 6e 7b 74 61 62 75 | 6c 61 72 7d 7b 7c 63 63 |gin{tabu|lar}{|cc|
|00004450| 6c 7c 7d 20 5c 68 6c 69 | 6e 65 0a 5c 6d 75 6c 74 |l|} \hli|ne.\mult|
|00004460| 69 63 6f 6c 75 6d 6e 7b | 33 7d 7b 7c 63 7c 7d 7b |icolumn{|3}{|c|}{|
|00004470| 55 6e 61 72 79 20 4f 70 | 65 72 61 74 6f 72 73 7d |Unary Op|erators}|
|00004480| 5c 5c 0a 53 79 6d 62 6f | 6c 20 26 20 45 78 61 6d |\\.Symbo|l & Exam|
|00004490| 70 6c 65 20 26 20 45 78 | 70 6c 61 6e 61 74 69 6f |ple & Ex|planatio|
|000044a0| 6e 20 5c 5c 20 5c 68 6c | 69 6e 65 0a 5c 76 65 72 |n \\ \hl|ine.\ver|
|000044b0| 62 40 2d 40 20 26 20 5c | 76 65 72 62 40 2d 61 40 |b@-@ & \|verb@-a@|
|000044c0| 20 26 20 75 6e 61 72 79 | 20 6d 69 6e 75 73 20 5c | & unary| minus \|
|000044d0| 5c 0a 5c 76 65 72 62 40 | 2b 40 20 26 20 5c 76 65 |\.\verb@|+@ & \ve|
|000044e0| 72 62 40 2b 61 40 20 26 | 20 75 6e 61 72 79 20 70 |rb@+a@ &| unary p|
|000044f0| 6c 75 73 20 28 6e 6f 2d | 6f 70 65 72 61 74 69 6f |lus (no-|operatio|
|00004500| 6e 29 20 5c 5c 0a 5c 76 | 65 72 62 40 7e 40 20 26 |n) \\.\v|erb@~@ &|
|00004510| 20 5c 76 65 72 62 40 7e | 61 40 20 26 20 2a 20 6f | \verb@~|a@ & * o|
|00004520| 6e 65 27 73 20 63 6f 6d | 70 6c 65 6d 65 6e 74 20 |ne's com|plement |
|00004530| 5c 5c 0a 5c 76 65 72 62 | 40 21 40 20 26 20 5c 76 |\\.\verb|@!@ & \v|
|00004540| 65 72 62 40 21 61 40 20 | 26 20 2a 20 6c 6f 67 69 |erb@!a@ |& * logi|
|00004550| 63 61 6c 20 6e 65 67 61 | 74 69 6f 6e 20 5c 5c 0a |cal nega|tion \\.|
|00004560| 5c 76 65 72 62 40 21 40 | 20 26 20 5c 76 65 72 62 |\verb@!@| & \verb|
|00004570| 40 61 21 40 20 26 20 2a | 20 66 61 63 74 6f 72 69 |@a!@ & *| factori|
|00004580| 61 6c 20 5c 5c 0a 5c 76 | 65 72 62 40 24 40 20 26 |al \\.\v|erb@$@ &|
|00004590| 20 5c 76 65 72 62 40 24 | 33 40 20 26 20 2a 20 63 | \verb@$|3@ & * c|
|000045a0| 61 6c 6c 20 61 72 67 2f | 63 6f 6c 75 6d 6e 20 64 |all arg/|column d|
|000045b0| 75 72 69 6e 67 20 60 75 | 73 69 6e 67 60 20 6d 61 |uring `u|sing` ma|
|000045c0| 6e 69 70 75 6c 61 74 69 | 6f 6e 20 5c 5c 0a 5c 68 |nipulati|on \\.\h|
|000045d0| 6c 69 6e 65 0a 5c 65 6e | 64 7b 74 61 62 75 6c 61 |line.\en|d{tabula|
|000045e0| 72 7d 0a 5c 65 6e 64 7b | 63 65 6e 74 65 72 7d 0a |r}.\end{|center}.|
|000045f0| 28 2a 29 20 53 74 61 72 | 72 65 64 20 65 78 70 6c |(*) Star|red expl|
|00004600| 61 6e 61 74 69 6f 6e 73 | 20 69 6e 64 69 63 61 74 |anations| indicat|
|00004610| 65 20 74 68 61 74 20 74 | 68 65 20 6f 70 65 72 61 |e that t|he opera|
|00004620| 74 6f 72 20 72 65 71 75 | 69 72 65 73 20 61 6e 20 |tor requ|ires an |
|00004630| 69 6e 74 65 67 65 72 0a | 61 72 67 75 6d 65 6e 74 |integer.|argument|
|00004640| 2e 0a 0a 54 68 65 20 66 | 61 63 74 6f 72 69 61 6c |...The f|actorial|
|00004650| 20 6f 70 65 72 61 74 6f | 72 20 72 65 74 75 72 6e | operato|r return|
|00004660| 73 20 61 20 72 65 61 6c | 20 6e 75 6d 62 65 72 20 |s a real| number |
|00004670| 74 6f 20 61 6c 6c 6f 77 | 20 61 20 67 72 65 61 74 |to allow| a great|
|00004680| 65 72 20 72 61 6e 67 65 | 2e 0a 5c 73 75 62 73 75 |er range|..\subsu|
|00004690| 62 73 65 63 74 69 6f 6e | 7b 42 69 6e 61 72 79 7d |bsection|{Binary}|
|000046a0| 0a 54 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 69 |.The fol|lowing i|
|000046b0| 73 20 61 20 6c 69 73 74 | 20 6f 66 20 61 6c 6c 20 |s a list| of all |
|000046c0| 74 68 65 20 62 69 6e 61 | 72 79 20 6f 70 65 72 61 |the bina|ry opera|
|000046d0| 74 6f 72 73 20 61 6e 64 | 20 74 68 65 69 72 20 75 |tors and| their u|
|000046e0| 73 61 67 65 73 3a 0a 0a | 0a 5c 62 65 67 69 6e 7b |sages:..|.\begin{|
|000046f0| 63 65 6e 74 65 72 7d 0a | 5c 62 65 67 69 6e 7b 74 |center}.|\begin{t|
|00004700| 61 62 75 6c 61 72 7d 7b | 7c 63 63 6c 7c 7d 20 5c |abular}{||ccl|} \|
|00004710| 68 6c 69 6e 65 0a 5c 6d | 75 6c 74 69 63 6f 6c 75 |hline.\m|ulticolu|
|00004720| 6d 6e 7b 33 7d 7b 7c 63 | 7c 7d 7b 42 69 6e 61 72 |mn{3}{|c||}{Binar|
|00004730| 79 20 4f 70 65 72 61 74 | 6f 72 73 7d 20 5c 5c 0a |y Operat|ors} \\.|
|00004740| 53 79 6d 62 6f 6c 20 26 | 20 45 78 61 6d 70 6c 65 |Symbol &| Example|
|00004750| 20 26 20 45 78 70 6c 61 | 6e 61 74 69 6f 6e 20 5c | & Expla|nation \|
|00004760| 5c 20 5c 68 6c 69 6e 65 | 0a 5c 76 65 72 62 7e 2a |\ \hline|.\verb~*|
|00004770| 2a 7e 20 26 20 5c 76 65 | 72 62 7e 61 2a 2a 62 7e |*~ & \ve|rb~a**b~|
|00004780| 20 26 20 65 78 70 6f 6e | 65 6e 74 69 61 74 69 6f | & expon|entiatio|
|00004790| 6e 5c 5c 0a 5c 76 65 72 | 62 7e 2a 7e 20 26 20 5c |n\\.\ver|b~*~ & \|
|000047a0| 76 65 72 62 7e 61 2a 62 | 7e 20 26 20 6d 75 6c 74 |verb~a*b|~ & mult|
|000047b0| 69 70 6c 69 63 61 74 69 | 6f 6e 5c 5c 0a 5c 76 65 |iplicati|on\\.\ve|
|000047c0| 72 62 7e 2f 7e 20 26 20 | 5c 76 65 72 62 7e 61 2f |rb~/~ & |\verb~a/|
|000047d0| 62 7e 20 26 20 64 69 76 | 69 73 69 6f 6e 5c 5c 0a |b~ & div|ision\\.|
|000047e0| 5c 76 65 72 62 7e 25 7e | 20 26 20 5c 76 65 72 62 |\verb~%~| & \verb|
|000047f0| 7e 61 25 62 7e 20 26 20 | 2a 20 6d 6f 64 75 6c 6f |~a%b~ & |* modulo|
|00004800| 5c 5c 0a 5c 76 65 72 62 | 7e 2b 7e 20 26 20 5c 76 |\\.\verb|~+~ & \v|
|00004810| 65 72 62 7e 61 2b 62 7e | 20 26 20 61 64 64 69 74 |erb~a+b~| & addit|
|00004820| 69 6f 6e 5c 5c 0a 5c 76 | 65 72 62 7e 2d 7e 20 26 |ion\\.\v|erb~-~ &|
|00004830| 20 5c 76 65 72 62 7e 61 | 2d 62 7e 20 26 20 73 75 | \verb~a|-b~ & su|
|00004840| 62 74 72 61 63 74 69 6f | 6e 5c 5c 0a 5c 76 65 72 |btractio|n\\.\ver|
|00004850| 62 7e 3d 3d 7e 20 26 20 | 5c 76 65 72 62 7e 61 3d |b~==~ & |\verb~a=|
|00004860| 3d 62 7e 20 26 20 65 71 | 75 61 6c 69 74 79 5c 5c |=b~ & eq|uality\\|
|00004870| 0a 5c 76 65 72 62 7e 21 | 3d 7e 20 26 20 5c 76 65 |.\verb~!|=~ & \ve|
|00004880| 72 62 7e 61 21 3d 62 7e | 20 26 20 69 6e 65 71 75 |rb~a!=b~| & inequ|
|00004890| 61 6c 69 74 79 5c 5c 0a | 5c 76 65 72 62 7e 3c 7e |ality\\.|\verb~<~|
|000048a0| 20 26 20 5c 76 65 72 62 | 7e 61 3c 62 7e 20 26 20 | & \verb|~a<b~ & |
|000048b0| 6c 65 73 73 20 74 68 61 | 6e 5c 5c 0a 5c 76 65 72 |less tha|n\\.\ver|
|000048c0| 62 7e 3c 3d 7e 20 26 20 | 5c 76 65 72 62 7e 61 3c |b~<=~ & |\verb~a<|
|000048d0| 3d 62 7e 20 26 20 6c 65 | 73 73 20 74 68 61 6e 20 |=b~ & le|ss than |
|000048e0| 6f 72 20 65 71 75 61 6c | 20 74 6f 5c 5c 0a 5c 76 |or equal| to\\.\v|
|000048f0| 65 72 62 7e 3e 7e 20 26 | 20 5c 76 65 72 62 7e 61 |erb~>~ &| \verb~a|
|00004900| 3e 62 7e 20 26 20 67 72 | 65 61 74 65 72 20 74 68 |>b~ & gr|eater th|
|00004910| 61 6e 5c 5c 0a 5c 76 65 | 72 62 7e 3e 3d 7e 20 26 |an\\.\ve|rb~>=~ &|
|00004920| 20 5c 76 65 72 62 7e 61 | 3e 3d 62 7e 20 26 20 67 | \verb~a|>=b~ & g|
|00004930| 72 65 61 74 65 72 20 74 | 68 61 6e 20 6f 72 20 65 |reater t|han or e|
|00004940| 71 75 61 6c 20 74 6f 5c | 5c 0a 5c 76 65 72 62 7e |qual to\|\.\verb~|
|00004950| 26 7e 20 26 20 5c 76 65 | 72 62 7e 61 26 62 7e 20 |&~ & \ve|rb~a&b~ |
|00004960| 26 20 2a 20 62 69 74 77 | 69 73 65 20 41 4e 44 5c |& * bitw|ise AND\|
|00004970| 5c 0a 5c 76 65 72 62 7e | 5e 7e 20 26 20 5c 76 65 |\.\verb~|^~ & \ve|
|00004980| 72 62 7e 61 5e 62 7e 20 | 26 20 2a 20 62 69 74 77 |rb~a^b~ |& * bitw|
|00004990| 69 73 65 20 65 78 63 6c | 75 73 69 76 65 20 4f 52 |ise excl|usive OR|
|000049a0| 5c 5c 0a 5c 76 65 72 62 | 7e 7c 7e 20 26 20 5c 76 |\\.\verb|~|~ & \v|
|000049b0| 65 72 62 7e 61 7c 62 7e | 20 26 20 2a 20 62 69 74 |erb~a|b~| & * bit|
|000049c0| 77 69 73 65 20 69 6e 63 | 6c 75 73 69 76 65 20 4f |wise inc|lusive O|
|000049d0| 52 5c 5c 0a 5c 76 65 72 | 62 7e 26 26 7e 20 26 20 |R\\.\ver|b~&&~ & |
|000049e0| 5c 76 65 72 62 7e 61 26 | 26 62 7e 20 26 20 2a 20 |\verb~a&|&b~ & * |
|000049f0| 6c 6f 67 69 63 61 6c 20 | 41 4e 44 5c 5c 0a 5c 76 |logical |AND\\.\v|
|00004a00| 65 72 62 7e 7c 7c 7e 20 | 26 20 5c 76 65 72 62 7e |erb~||~ |& \verb~|
|00004a10| 61 7c 7c 62 7e 20 26 20 | 2a 20 6c 6f 67 69 63 61 |a||b~ & |* logica|
|00004a20| 6c 20 4f 52 5c 5c 0a 5c | 68 6c 69 6e 65 0a 5c 65 |l OR\\.\|hline.\e|
|00004a30| 6e 64 7b 74 61 62 75 6c | 61 72 7d 0a 5c 65 6e 64 |nd{tabul|ar}.\end|
|00004a40| 7b 63 65 6e 74 65 72 7d | 0a 28 2a 29 20 53 74 61 |{center}|.(*) Sta|
|00004a50| 72 72 65 64 20 65 78 70 | 6c 61 6e 61 74 69 6f 6e |rred exp|lanation|
|00004a60| 73 20 69 6e 64 69 63 61 | 74 65 20 74 68 61 74 20 |s indica|te that |
|00004a70| 74 68 65 20 6f 70 65 72 | 61 74 6f 72 20 72 65 71 |the oper|ator req|
|00004a80| 75 69 72 65 73 20 69 6e | 74 65 67 65 72 0a 61 72 |uires in|teger.ar|
|00004a90| 67 75 6d 65 6e 74 73 2e | 0a 0a 4c 6f 67 69 63 61 |guments.|..Logica|
|00004aa0| 6c 20 41 4e 44 20 28 5c | 26 5c 26 29 20 61 6e 64 |l AND (\|&\&) and|
|00004ab0| 20 4f 52 20 28 24 7c 24 | 24 7c 24 29 20 73 68 6f | OR ($|$|$|$) sho|
|00004ac0| 72 74 2d 63 69 72 63 75 | 69 74 20 74 68 65 20 77 |rt-circu|it the w|
|00004ad0| 61 79 20 74 68 65 79 20 | 64 6f 20 69 6e 20 43 2e |ay they |do in C.|
|00004ae0| 20 20 54 68 61 74 20 69 | 73 2c 0a 74 68 65 20 73 | That i|s,.the s|
|00004af0| 65 63 6f 6e 64 20 5c 26 | 5c 26 20 6f 70 65 72 61 |econd \&|\& opera|
|00004b00| 6e 64 20 69 73 20 6e 6f | 74 20 65 76 61 6c 75 61 |nd is no|t evalua|
|00004b10| 74 65 64 20 69 66 20 74 | 68 65 20 66 69 72 73 74 |ted if t|he first|
|00004b20| 20 69 73 20 66 61 6c 73 | 65 3b 20 74 68 65 20 73 | is fals|e; the s|
|00004b30| 65 63 6f 6e 64 20 24 7c | 24 24 7c 24 0a 6f 70 65 |econd $||$$|$.ope|
|00004b40| 72 61 6e 64 20 69 73 20 | 6e 6f 74 20 65 76 61 6c |rand is |not eval|
|00004b50| 75 61 74 65 64 20 69 66 | 20 74 68 65 20 66 69 72 |uated if| the fir|
|00004b60| 73 74 20 69 73 20 74 72 | 75 65 2e 0a 5c 73 75 62 |st is tr|ue..\sub|
|00004b70| 73 75 62 73 65 63 74 69 | 6f 6e 7b 54 65 72 6e 61 |subsecti|on{Terna|
|00004b80| 72 79 7d 0a 54 68 65 72 | 65 20 69 73 20 61 20 73 |ry}.Ther|e is a s|
|00004b90| 69 6e 67 6c 65 20 74 65 | 72 6e 61 72 79 20 6f 70 |ingle te|rnary op|
|00004ba0| 65 72 61 74 6f 72 3a 0a | 0a 0a 5c 62 65 67 69 6e |erator:.|..\begin|
|00004bb0| 7b 63 65 6e 74 65 72 7d | 0a 5c 62 65 67 69 6e 7b |{center}|.\begin{|
|00004bc0| 74 61 62 75 6c 61 72 7d | 7b 7c 63 63 6c 7c 7d 20 |tabular}|{|ccl|} |
|00004bd0| 5c 68 6c 69 6e 65 0a 5c | 6d 75 6c 74 69 63 6f 6c |\hline.\|multicol|
|00004be0| 75 6d 6e 7b 33 7d 7b 7c | 63 7c 7d 7b 54 65 72 6e |umn{3}{||c|}{Tern|
|00004bf0| 61 72 79 20 4f 70 65 72 | 61 74 6f 72 7d 20 5c 5c |ary Oper|ator} \\|
|00004c00| 0a 53 79 6d 62 6f 6c 20 | 26 20 45 78 61 6d 70 6c |.Symbol |& Exampl|
|00004c10| 65 20 26 20 45 78 70 6c | 61 6e 61 74 69 6f 6e 20 |e & Expl|anation |
|00004c20| 5c 5c 20 5c 68 6c 69 6e | 65 0a 5c 76 65 72 62 7e |\\ \hlin|e.\verb~|
|00004c30| 3f 3a 7e 20 26 20 5c 76 | 65 72 62 7e 61 3f 62 3a |?:~ & \v|erb~a?b:|
|00004c40| 63 7e 20 26 20 74 65 72 | 6e 61 72 79 20 6f 70 65 |c~ & ter|nary ope|
|00004c50| 72 61 74 69 6f 6e 5c 5c | 0a 5c 68 6c 69 6e 65 0a |ration\\|.\hline.|
|00004c60| 5c 65 6e 64 7b 74 61 62 | 75 6c 61 72 7d 0a 5c 65 |\end{tab|ular}.\e|
|00004c70| 6e 64 7b 63 65 6e 74 65 | 72 7d 0a 54 68 65 20 74 |nd{cente|r}.The t|
|00004c80| 65 72 6e 61 72 79 20 6f | 70 65 72 61 74 6f 72 20 |ernary o|perator |
|00004c90| 62 65 68 61 76 65 73 20 | 61 73 20 69 74 20 64 6f |behaves |as it do|
|00004ca0| 65 73 20 69 6e 20 43 2e | 20 20 54 68 65 20 66 69 |es in C.| The fi|
|00004cb0| 72 73 74 20 61 72 67 75 | 6d 65 6e 74 20 28 61 29 |rst argu|ment (a)|
|00004cc0| 2c 20 77 68 69 63 68 0a | 6d 75 73 74 20 62 65 20 |, which.|must be |
|00004cd0| 61 6e 20 69 6e 74 65 67 | 65 72 2c 20 69 73 20 65 |an integ|er, is e|
|00004ce0| 76 61 6c 75 61 74 65 64 | 2e 20 20 49 66 20 69 74 |valuated|. If it|
|00004cf0| 20 69 73 20 74 72 75 65 | 20 28 6e 6f 6e 2d 7a 65 | is true| (non-ze|
|00004d00| 72 6f 29 2c 20 74 68 65 | 20 73 65 63 6f 6e 64 0a |ro), the| second.|
|00004d10| 61 72 67 75 6d 65 6e 74 | 20 28 62 29 20 69 73 20 |argument| (b) is |
|00004d20| 65 76 61 6c 75 61 74 65 | 64 20 61 6e 64 20 72 65 |evaluate|d and re|
|00004d30| 74 75 72 6e 65 64 3b 20 | 6f 74 68 65 72 77 69 73 |turned; |otherwis|
|00004d40| 65 20 74 68 65 20 74 68 | 69 72 64 20 61 72 67 75 |e the th|ird argu|
|00004d50| 6d 65 6e 74 20 28 63 29 | 20 69 73 0a 65 76 61 6c |ment (c)| is.eval|
|00004d60| 75 61 74 65 64 20 61 6e | 64 20 72 65 74 75 72 6e |uated an|d return|
|00004d70| 65 64 2e 0a 0a 54 68 65 | 20 74 65 72 6e 61 72 79 |ed...The| ternary|
|00004d80| 20 6f 70 65 72 61 74 6f | 72 20 69 73 20 76 65 72 | operato|r is ver|
|00004d90| 79 20 75 73 65 66 75 6c | 20 62 6f 74 68 20 69 6e |y useful| both in|
|00004da0| 20 63 6f 6e 73 74 72 75 | 63 74 69 6e 67 20 70 69 | constru|cting pi|
|00004db0| 65 63 65 77 69 73 65 20 | 66 75 6e 63 74 69 6f 6e |ecewise |function|
|00004dc0| 73 0a 61 6e 64 20 69 6e | 20 70 6c 6f 74 74 69 6e |s.and in| plottin|
|00004dd0| 67 20 70 6f 69 6e 74 73 | 20 6f 6e 6c 79 20 77 68 |g points| only wh|
|00004de0| 65 6e 20 63 65 72 74 61 | 69 6e 20 63 6f 6e 64 69 |en certa|in condi|
|00004df0| 74 69 6f 6e 73 20 61 72 | 65 20 6d 65 74 2e 0a 0a |tions ar|e met...|
|00004e00| 45 78 61 6d 70 6c 65 73 | 3a 0a 0a 50 6c 6f 74 20 |Examples|:..Plot |
|00004e10| 61 20 66 75 6e 63 74 69 | 6f 6e 20 74 68 61 74 20 |a functi|on that |
|00004e20| 69 73 20 74 6f 20 65 71 | 75 61 6c 20 73 69 6e 28 |is to eq|ual sin(|
|00004e30| 78 29 20 66 6f 72 20 30 | 20 24 3c 24 3d 20 78 20 |x) for 0| $<$= x |
|00004e40| 24 3c 24 20 31 2c 20 31 | 2f 78 20 66 6f 72 20 31 |$<$ 1, 1|/x for 1|
|00004e50| 20 24 3c 24 3d 20 78 20 | 24 3c 24 20 32 2c 0a 61 | $<$= x |$<$ 2,.a|
|00004e60| 6e 64 20 75 6e 64 65 66 | 69 6e 65 64 20 65 6c 73 |nd undef|ined els|
|00004e70| 65 77 68 65 72 65 3a 0a | 0a 5c 62 65 67 69 6e 7b |ewhere:.|.\begin{|
|00004e80| 76 65 72 62 61 74 69 6d | 7d 0a 20 20 20 20 20 20 |verbatim|}. |
|00004e90| 20 66 28 78 29 20 3d 20 | 30 3c 3d 78 20 26 20 78 | f(x) = |0<=x & x|
|00004ea0| 3c 31 20 3f 20 73 69 6e | 28 78 29 20 3a 20 31 3c |<1 ? sin|(x) : 1<|
|00004eb0| 3d 78 20 26 20 78 3c 32 | 20 3f 20 31 2f 78 20 3a |=x & x<2| ? 1/x :|
|00004ec0| 20 31 2f 30 0a 20 20 20 | 20 20 20 20 70 6c 6f 74 | 1/0. | plot|
|00004ed0| 20 66 28 78 29 0a 5c 65 | 6e 64 7b 76 65 72 62 61 | f(x).\e|nd{verba|
|00004ee0| 74 69 6d 7d 0a 0a 4e 6f | 74 65 20 74 68 61 74 20 |tim}..No|te that |
|00004ef0| 7b 5c 62 66 20 67 6e 75 | 70 6c 6f 74 7d 20 71 75 |{\bf gnu|plot} qu|
|00004f00| 69 65 74 6c 79 20 69 67 | 6e 6f 72 65 73 20 75 6e |ietly ig|nores un|
|00004f10| 64 65 66 69 6e 65 64 20 | 76 61 6c 75 65 73 2c 20 |defined |values, |
|00004f20| 73 6f 20 74 68 65 20 66 | 69 6e 61 6c 20 62 72 61 |so the f|inal bra|
|00004f30| 6e 63 68 20 6f 66 0a 74 | 68 65 20 66 75 6e 63 74 |nch of.t|he funct|
|00004f40| 69 6f 6e 20 28 31 2f 30 | 29 20 77 69 6c 6c 20 70 |ion (1/0|) will p|
|00004f50| 72 6f 64 75 63 65 20 6e | 6f 20 70 6c 6f 74 74 61 |roduce n|o plotta|
|00004f60| 62 6c 65 20 70 6f 69 6e | 74 73 2e 20 20 4e 6f 74 |ble poin|ts. Not|
|00004f70| 65 20 61 6c 73 6f 20 74 | 68 61 74 20 69 74 20 69 |e also t|hat it i|
|00004f80| 73 0a 70 6c 6f 74 74 65 | 64 20 61 73 20 61 20 63 |s.plotte|d as a c|
|00004f90| 6f 6e 74 69 6e 75 6f 75 | 73 20 66 75 6e 63 74 69 |ontinuou|s functi|
|00004fa0| 6f 6e 20 61 63 72 6f 73 | 73 20 74 68 65 20 64 69 |on acros|s the di|
|00004fb0| 73 63 6f 6e 74 69 6e 75 | 69 74 79 20 69 66 20 61 |scontinu|ity if a|
|00004fc0| 20 6c 69 6e 65 20 73 74 | 79 6c 65 20 69 73 0a 75 | line st|yle is.u|
|00004fd0| 73 65 64 2e 20 20 49 66 | 20 79 6f 75 20 77 61 6e |sed. If| you wan|
|00004fe0| 74 20 69 74 20 74 6f 20 | 62 65 20 70 6c 6f 74 74 |t it to |be plott|
|00004ff0| 65 64 20 64 69 73 63 6f | 6e 74 69 6e 75 6f 75 73 |ed disco|ntinuous|
|00005000| 6c 79 2c 20 63 72 65 61 | 74 65 20 73 65 70 61 72 |ly, crea|te separ|
|00005010| 61 74 65 0a 66 75 6e 63 | 74 69 6f 6e 73 20 66 6f |ate.func|tions fo|
|00005020| 72 20 74 68 65 20 74 77 | 6f 20 70 69 65 63 65 73 |r the tw|o pieces|
|00005030| 2e 0a 0a 46 6f 72 20 64 | 61 74 61 20 69 6e 20 61 |...For d|ata in a|
|00005040| 20 66 69 6c 65 2c 20 70 | 6c 6f 74 20 74 68 65 20 | file, p|lot the |
|00005050| 61 76 65 72 61 67 65 20 | 6f 66 20 74 68 65 20 64 |average |of the d|
|00005060| 61 74 61 20 69 6e 20 63 | 6f 6c 75 6d 6e 73 20 32 |ata in c|olumns 2|
|00005070| 20 61 6e 64 20 33 20 61 | 67 61 69 6e 73 74 0a 74 | and 3 a|gainst.t|
|00005080| 68 65 20 64 61 74 75 6d | 20 69 6e 20 63 6f 6c 75 |he datum| in colu|
|00005090| 6d 6e 20 31 2c 20 62 75 | 74 20 6f 6e 6c 79 20 69 |mn 1, bu|t only i|
|000050a0| 66 20 74 68 65 20 64 61 | 74 75 6d 20 69 6e 20 63 |f the da|tum in c|
|000050b0| 6f 6c 75 6d 6e 20 34 20 | 69 73 20 6e 6f 6e 2d 6e |olumn 4 |is non-n|
|000050c0| 65 67 61 74 69 76 65 3a | 0a 0a 5c 62 65 67 69 6e |egative:|..\begin|
|000050d0| 7b 76 65 72 62 61 74 69 | 6d 7d 0a 20 20 20 20 20 |{verbati|m}. |
|000050e0| 20 20 70 6c 6f 74 20 27 | 66 69 6c 65 27 20 75 73 | plot '|file' us|
|000050f0| 69 6e 67 20 31 3a 28 20 | 24 34 3c 30 20 3f 20 31 |ing 1:( |$4<0 ? 1|
|00005100| 2f 30 20 3a 20 28 24 32 | 2b 24 33 29 2f 32 20 29 |/0 : ($2|+$3)/2 )|
|00005110| 0a 5c 65 6e 64 7b 76 65 | 72 62 61 74 69 6d 7d 0a |.\end{ve|rbatim}.|
|00005120| 0a 50 6c 65 61 73 65 20 | 73 65 65 20 7b 5c 62 66 |.Please |see {\bf|
|00005130| 20 70 6c 6f 74 20 64 61 | 74 61 2d 66 69 6c 65 20 | plot da|ta-file |
|00005140| 75 73 69 6e 67 7d 20 66 | 6f 72 20 61 6e 20 65 78 |using} f|or an ex|
|00005150| 70 6c 61 6e 61 74 69 6f | 6e 20 6f 66 20 74 68 65 |planatio|n of the|
|00005160| 20 7b 5c 62 66 20 75 73 | 69 6e 67 7d 20 73 79 6e | {\bf us|ing} syn|
|00005170| 74 61 78 2e 0a 5c 73 65 | 63 74 69 6f 6e 7b 46 69 |tax..\se|ction{Fi|
|00005180| 74 7d 0a 54 68 69 73 20 | 69 6d 70 6c 65 6d 65 6e |t}.This |implemen|
|00005190| 74 61 74 69 6f 6e 20 69 | 6e 63 6f 72 70 6f 72 61 |tation i|ncorpora|
|000051a0| 74 65 73 20 74 68 65 20 | 63 61 70 61 62 69 6c 69 |tes the |capabili|
|000051b0| 74 79 20 6f 66 20 6e 6f | 6e 6c 69 6e 65 61 72 20 |ty of no|nlinear |
|000051c0| 6c 65 61 73 74 20 73 71 | 75 61 72 65 73 0a 66 69 |least sq|uares.fi|
|000051d0| 74 74 69 6e 67 20 75 73 | 69 6e 67 20 74 68 65 20 |tting us|ing the |
|000051e0| 4d 61 72 71 75 61 72 64 | 74 2d 4c 65 76 65 6e 62 |Marquard|t-Levenb|
|000051f0| 65 72 67 20 41 6c 67 6f | 72 69 74 68 6d 2e 20 20 |erg Algo|rithm. |
|00005200| 49 74 20 6d 61 79 20 66 | 69 74 20 61 6e 79 20 75 |It may f|it any u|
|00005210| 73 65 72 2d 64 65 66 69 | 6e 65 64 0a 66 75 6e 63 |ser-defi|ned.func|
|00005220| 74 69 6f 6e 20 74 6f 20 | 61 6e 79 20 73 65 74 20 |tion to |any set |
|00005230| 6f 66 20 64 61 74 61 20 | 70 61 69 72 73 20 28 78 |of data |pairs (x|
|00005240| 2c 79 29 2e 20 20 78 2c | 20 79 20 61 6e 64 20 74 |,y). x,| y and t|
|00005250| 68 65 20 66 75 6e 63 74 | 69 6f 6e 27 73 20 72 65 |he funct|ion's re|
|00005260| 74 75 72 6e 20 74 79 70 | 65 0a 4d 55 53 54 20 62 |turn typ|e.MUST b|
|00005270| 65 20 72 65 61 6c 21 20 | 20 41 6e 79 20 76 61 72 |e real! | Any var|
|00005280| 69 61 62 6c 65 20 6f 63 | 63 75 72 72 69 6e 67 20 |iable oc|curring |
|00005290| 69 6e 20 74 68 65 20 66 | 75 6e 63 74 69 6f 6e 20 |in the f|unction |
|000052a0| 62 6f 64 79 20 6d 61 79 | 20 73 65 72 76 65 20 61 |body may| serve a|
|000052b0| 73 20 61 20 66 69 74 0a | 70 61 72 61 6d 65 74 65 |s a fit.|paramete|
|000052c0| 72 20 28 66 69 74 74 69 | 6e 67 20 66 75 6e 63 74 |r (fitti|ng funct|
|000052d0| 69 6f 6e 73 20 77 69 74 | 68 6f 75 74 20 61 64 6a |ions wit|hout adj|
|000052e0| 75 73 74 61 62 6c 65 20 | 70 61 72 61 6d 65 74 65 |ustable |paramete|
|000052f0| 72 73 20 6d 61 6b 65 20 | 6e 6f 20 73 65 6e 73 65 |rs make |no sense|
|00005300| 29 2e 0a 0a 53 79 6e 74 | 61 78 3a 0a 5c 62 65 67 |)...Synt|ax:.\beg|
|00005310| 69 6e 7b 76 65 72 62 61 | 74 69 6d 7d 0a 20 20 20 |in{verba|tim}. |
|00005320| 20 20 20 20 20 66 69 74 | 20 7b 72 61 6e 67 65 7d | fit| {range}|
|00005330| 20 3c 66 75 6e 63 74 69 | 6f 6e 3e 20 27 3c 64 61 | <functi|on> '<da|
|00005340| 74 61 66 69 6c 65 3e 27 | 20 7b 64 61 74 61 66 69 |tafile>'| {datafi|
|00005350| 6c 65 2d 6d 6f 64 69 66 | 69 65 72 73 7d 20 5c 0a |le-modif|iers} \.|
|00005360| 20 20 20 20 20 20 20 20 | 20 20 20 20 76 69 61 20 | | via |
|00005370| 7b 27 3c 70 61 72 61 6d | 65 74 65 72 20 66 69 6c |{'<param|eter fil|
|00005380| 65 3e 27 20 7c 20 3c 76 | 61 72 31 3e 2c 3c 76 61 |e>' | <v|ar1>,<va|
|00005390| 72 32 3e 2c 2e 2e 2e 7d | 0a 5c 65 6e 64 7b 76 65 |r2>,...}|.\end{ve|
|000053a0| 72 62 61 74 69 6d 7d 0a | 0a 4e 6f 74 69 63 65 20 |rbatim}.|.Notice |
|000053b0| 74 68 61 74 20 7b 5c 62 | 66 20 76 69 61 7d 20 69 |that {\b|f via} i|
|000053c0| 73 20 6e 6f 77 20 61 20 | 72 65 71 75 69 72 65 64 |s now a |required|
|000053d0| 20 6b 65 79 77 6f 72 64 | 2c 20 74 6f 20 64 69 73 | keyword|, to dis|
|000053e0| 74 69 6e 67 75 69 73 68 | 20 69 74 20 66 72 6f 6d |tinguish| it from|
|000053f0| 20 61 20 73 63 61 6e 66 | 0a 66 6f 72 6d 61 74 20 | a scanf|.format |
|00005400| 73 74 72 69 6e 67 2e 0a | 0a 5c 7b 5b 72 61 6e 67 |string..|.\{[rang|
|00005410| 65 5d 5c 7d 20 69 73 20 | 5b 20 5c 7b 76 61 72 69 |e]\} is |[ \{vari|
|00005420| 61 62 6c 65 3d 5c 7d 20 | 5c 7b 20 24 3c 24 6d 69 |able=\} |\{ $<$mi|
|00005430| 6e 24 3e 24 20 5c 7d 20 | 5c 7b 20 3a 24 3c 24 6d |n$>$ \} |\{ :$<$m|
|00005440| 61 78 24 3e 24 20 5c 7d | 20 5d 2c 20 61 6c 6c 6f |ax$>$ \}| ], allo|
|00005450| 77 69 6e 67 20 74 68 65 | 20 72 61 6e 67 65 20 6f |wing the| range o|
|00005460| 66 20 74 68 65 0a 66 69 | 74 20 74 6f 20 62 65 20 |f the.fi|t to be |
|00005470| 6c 69 6d 69 74 65 64 20 | 74 65 6d 70 6f 72 61 72 |limited |temporar|
|00005480| 69 6c 79 20 69 6e 20 61 | 20 6d 61 6e 6e 65 72 20 |ily in a| manner |
|00005490| 61 6e 61 6c 6f 67 6f 75 | 73 20 74 6f 20 7b 5c 62 |analogou|s to {\b|
|000054a0| 66 20 70 6c 6f 74 7d 2e | 20 20 24 3c 24 66 75 6e |f plot}.| $<$fun|
|000054b0| 63 74 69 6f 6e 24 3e 24 | 20 69 73 0a 61 6e 79 20 |ction$>$| is.any |
|000054c0| 76 61 6c 69 64 20 7b 5c | 62 66 20 67 6e 75 70 6c |valid {\|bf gnupl|
|000054d0| 6f 74 7d 20 65 78 70 72 | 65 73 73 69 6f 6e 2c 20 |ot} expr|ession, |
|000054e0| 61 6c 74 68 6f 75 67 68 | 20 69 74 20 69 73 20 75 |although| it is u|
|000054f0| 73 75 61 6c 20 74 6f 20 | 75 73 65 20 61 20 70 72 |sual to |use a pr|
|00005500| 65 76 69 6f 75 73 6c 79 | 0a 75 73 65 72 2d 64 65 |eviously|.user-de|
|00005510| 66 69 6e 65 64 20 66 75 | 6e 63 74 69 6f 6e 20 6f |fined fu|nction o|
|00005520| 66 20 74 68 65 20 66 6f | 72 6d 20 66 28 78 29 2e |f the fo|rm f(x).|
|00005530| 20 20 24 3c 24 64 61 74 | 61 66 69 6c 65 24 3e 24 | $<$dat|afile$>$|
|00005540| 20 69 73 20 74 72 65 61 | 74 65 64 20 61 73 20 69 | is trea|ted as i|
|00005550| 6e 20 74 68 65 0a 7b 5c | 62 66 20 70 6c 6f 74 7d |n the.{\|bf plot}|
|00005560| 20 63 6f 6d 6d 61 6e 64 | 2e 20 20 41 6c 6c 20 74 | command|. All t|
|00005570| 68 65 20 6d 6f 64 69 66 | 69 65 72 73 20 66 6f 72 |he modif|iers for|
|00005580| 20 64 61 74 61 66 69 6c | 65 73 20 28 7b 5c 62 66 | datafil|es ({\bf|
|00005590| 20 75 73 69 6e 67 7d 2c | 20 7b 5c 62 66 20 65 76 | using},| {\bf ev|
|000055a0| 65 72 79 7d 2c 2e 2e 2e | 29 20 69 6e 0a 7b 5c 62 |ery},...|) in.{\b|
|000055b0| 66 20 70 6c 6f 74 7d 20 | 61 72 65 20 61 76 61 69 |f plot} |are avai|
|000055c0| 6c 61 62 6c 65 20 68 65 | 72 65 2d 2d 2d 73 65 65 |lable he|re---see|
|000055d0| 20 7b 5c 62 66 20 70 6c | 6f 74 20 64 61 74 61 66 | {\bf pl|ot dataf|
|000055e0| 69 6c 65 7d 20 66 6f 72 | 20 66 75 6c 6c 20 64 65 |ile} for| full de|
|000055f0| 74 61 69 6c 73 2e 20 20 | 54 68 65 0a 64 65 66 61 |tails. |The.defa|
|00005600| 75 6c 74 20 63 6f 6c 75 | 6d 6e 20 66 6f 72 20 78 |ult colu|mn for x|
|00005610| 20 69 73 20 31 20 66 6f | 72 20 79 20 69 73 20 32 | is 1 fo|r y is 2|
|00005620| 2e 20 20 54 68 65 79 20 | 6d 61 79 20 62 65 20 63 |. They |may be c|
|00005630| 68 61 6e 67 65 64 20 62 | 79 20 74 68 65 20 7b 5c |hanged b|y the {\|
|00005640| 62 66 20 75 73 69 6e 67 | 20 78 3a 79 7d 0a 6d 65 |bf using| x:y}.me|
|00005650| 63 68 61 6e 69 73 6d 2e | 20 20 49 66 20 61 20 74 |chanism.| If a t|
|00005660| 68 69 72 64 20 63 6f 6c | 75 6d 6e 20 6f 72 20 65 |hird col|umn or e|
|00005670| 78 70 72 65 73 73 69 6f | 6e 20 69 73 20 73 70 65 |xpressio|n is spe|
|00005680| 63 69 66 69 65 64 20 77 | 69 74 68 20 7b 5c 62 66 |cified w|ith {\bf|
|00005690| 20 75 73 69 6e 67 7d 2c | 0a 75 6e 63 65 72 74 61 | using},|.uncerta|
|000056a0| 69 6e 74 69 65 73 20 61 | 72 65 20 72 65 61 64 20 |inties a|re read |
|000056b0| 66 6f 72 20 65 61 63 68 | 20 79 20 76 61 6c 75 65 |for each| y value|
|000056c0| 2c 20 74 6f 20 62 65 20 | 75 73 65 64 20 61 73 20 |, to be |used as |
|000056d0| 77 65 69 67 68 74 73 20 | 64 75 72 69 6e 67 20 74 |weights |during t|
|000056e0| 68 65 0a 66 69 74 2e 20 | 20 4f 74 68 65 72 77 69 |he.fit. | Otherwi|
|000056f0| 73 65 20 61 6c 6c 20 64 | 61 74 61 20 61 72 65 20 |se all d|ata are |
|00005700| 77 65 69 67 68 74 65 64 | 20 65 71 75 61 6c 6c 79 |weighted| equally|
|00005710| 2e 20 20 54 68 65 20 73 | 74 61 72 74 20 70 61 72 |. The s|tart par|
|00005720| 61 6d 65 74 65 72 73 20 | 6d 61 79 20 62 65 0a 73 |ameters |may be.s|
|00005730| 70 65 63 69 66 69 65 64 | 20 69 6e 20 61 20 28 6c |pecified| in a (l|
|00005740| 6f 61 64 2d 29 20 66 69 | 6c 65 20 77 68 65 72 65 |oad-) fi|le where|
|00005750| 69 6e 20 65 61 63 68 20 | 6c 69 6e 65 20 69 73 20 |in each |line is |
|00005760| 6f 66 20 74 68 65 20 66 | 6f 72 6d 3a 0a 0a 5c 62 |of the f|orm:..\b|
|00005770| 65 67 69 6e 7b 76 65 72 | 62 61 74 69 6d 7d 0a 20 |egin{ver|batim}. |
|00005780| 20 20 76 61 72 6e 61 6d | 65 20 3d 20 76 61 6c 75 | varnam|e = valu|
|00005790| 65 0a 5c 65 6e 64 7b 76 | 65 72 62 61 74 69 6d 7d |e.\end{v|erbatim}|
|000057a0| 0a 0a 43 6f 6d 6d 65 6e | 74 73 2c 20 6d 61 72 6b |..Commen|ts, mark|
|000057b0| 65 64 20 62 79 20 27 5c | 23 27 2c 20 61 6e 64 20 |ed by '\|#', and |
|000057c0| 62 6c 61 6e 6b 20 6c 69 | 6e 65 73 20 61 72 65 20 |blank li|nes are |
|000057d0| 70 65 72 6d 69 73 73 69 | 62 6c 65 2e 20 20 54 68 |permissi|ble. Th|
|000057e0| 65 20 66 6f 72 6d 0a 0a | 5c 62 65 67 69 6e 7b 76 |e form..|\begin{v|
|000057f0| 65 72 62 61 74 69 6d 7d | 0a 20 20 20 76 61 72 6e |erbatim}|. varn|
|00005800| 61 6d 65 20 3d 20 76 61 | 6c 75 65 20 20 20 20 20 |ame = va|lue |
|00005810| 20 20 23 20 46 49 58 45 | 44 0a 5c 65 6e 64 7b 76 | # FIXE|D.\end{v|
|00005820| 65 72 62 61 74 69 6d 7d | 0a 0a 6d 65 61 6e 73 20 |erbatim}|..means |
|00005830| 74 68 61 74 20 74 68 65 | 20 76 61 72 69 61 62 6c |that the| variabl|
|00005840| 65 20 69 73 20 74 72 65 | 61 74 65 64 20 61 73 20 |e is tre|ated as |
|00005850| 61 20 7b 5c 62 66 20 66 | 69 78 65 64 20 70 61 72 |a {\bf f|ixed par|
|00005860| 61 6d 65 74 65 72 7d 20 | 74 68 61 74 20 69 73 20 |ameter} |that is |
|00005870| 69 6e 69 74 69 61 6c 69 | 7a 65 64 0a 62 75 74 20 |initiali|zed.but |
|00005880| 77 69 6c 6c 20 6e 6f 74 | 20 62 65 20 61 64 6a 75 |will not| be adju|
|00005890| 73 74 65 64 2e 20 20 49 | 74 20 69 73 20 6e 6f 74 |sted. I|t is not|
|000058a0| 20 6e 65 63 65 73 73 61 | 72 79 20 28 62 75 74 20 | necessa|ry (but |
|000058b0| 73 6f 6d 65 74 69 6d 65 | 73 20 75 73 65 66 75 6c |sometime|s useful|
|000058c0| 20 66 6f 72 0a 63 6c 61 | 72 69 74 79 29 20 74 6f | for.cla|rity) to|
|000058d0| 20 73 70 65 63 69 66 79 | 20 74 68 65 6d 20 61 74 | specify| them at|
|000058e0| 20 61 6c 6c 2e 20 20 54 | 68 65 20 6b 65 79 77 6f | all. T|he keywo|
|000058f0| 72 64 20 27 5c 23 20 46 | 49 58 45 44 27 20 68 61 |rd '\# F|IXED' ha|
|00005900| 73 20 74 6f 20 61 70 70 | 65 61 72 20 69 6e 0a 65 |s to app|ear in.e|
|00005910| 78 61 63 74 6c 79 20 74 | 68 69 73 20 66 6f 72 6d |xactly t|his form|
|00005920| 2e 0a 0a 54 68 65 20 6f | 74 68 65 72 20 6d 65 61 |...The o|ther mea|
|00005930| 6e 73 20 6f 66 20 73 70 | 65 63 69 66 79 69 6e 67 |ns of sp|ecifying|
|00005940| 20 74 68 65 20 61 64 6a | 75 73 74 61 62 6c 65 20 | the adj|ustable |
|00005950| 70 61 72 61 6d 65 74 65 | 72 73 20 69 73 20 74 6f |paramete|rs is to|
|00005960| 20 70 72 6f 76 69 64 65 | 20 61 0a 63 6f 6d 6d 61 | provide| a.comma|
|00005970| 2d 73 65 70 61 72 61 74 | 65 64 20 6c 69 73 74 20 |-separat|ed list |
|00005980| 6f 66 20 76 61 72 69 61 | 62 6c 65 20 6e 61 6d 65 |of varia|ble name|
|00005990| 73 20 61 66 74 65 72 20 | 74 68 65 20 7b 5c 62 66 |s after |the {\bf|
|000059a0| 20 76 69 61 7d 20 6b 65 | 79 77 6f 72 64 2e 20 20 | via} ke|yword. |
|000059b0| 49 66 20 61 6e 79 20 6f | 66 0a 74 68 65 73 65 20 |If any o|f.these |
|000059c0| 76 61 72 69 61 62 6c 65 | 73 20 64 6f 20 6e 6f 74 |variable|s do not|
|000059d0| 20 79 65 74 20 65 78 69 | 73 74 20 77 69 74 68 69 | yet exi|st withi|
|000059e0| 6e 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 7b 5c |n the cu|rrent {\|
|000059f0| 62 66 20 67 6e 75 70 6c | 6f 74 7d 20 73 65 73 73 |bf gnupl|ot} sess|
|00005a00| 69 6f 6e 2c 20 74 68 65 | 79 0a 61 72 65 20 63 72 |ion, the|y.are cr|
|00005a10| 65 61 74 65 64 20 77 69 | 74 68 20 61 6e 20 69 6e |eated wi|th an in|
|00005a20| 69 74 69 61 6c 20 76 61 | 6c 75 65 20 6f 66 20 31 |itial va|lue of 1|
|00005a30| 2e 30 2c 20 62 75 74 20 | 74 68 65 20 66 69 74 20 |.0, but |the fit |
|00005a40| 69 73 20 6d 6f 72 65 20 | 6c 69 6b 65 6c 79 20 74 |is more |likely t|
|00005a50| 6f 0a 63 6f 6e 76 65 72 | 67 65 20 69 66 20 61 20 |o.conver|ge if a |
|00005a60| 6d 6f 72 65 20 61 70 70 | 72 6f 70 72 69 61 74 65 |more app|ropriate|
|00005a70| 20 73 74 61 72 74 69 6e | 67 20 76 61 6c 75 65 20 | startin|g value |
|00005a80| 69 73 20 67 69 76 65 6e | 2e 20 20 49 66 20 74 68 |is given|. If th|
|00005a90| 69 73 20 66 6f 72 6d 20 | 69 73 0a 75 73 65 64 2c |is form |is.used,|
|00005aa0| 20 69 74 20 6d 61 79 20 | 70 72 6f 76 65 20 62 65 | it may |prove be|
|00005ab0| 6e 65 66 69 63 69 61 6c | 20 74 6f 20 69 74 65 72 |neficial| to iter|
|00005ac0| 61 74 65 20 74 68 65 20 | 66 69 74 2c 20 61 6c 6c |ate the |fit, all|
|00005ad0| 6f 77 69 6e 67 20 6f 6e | 6c 79 20 6f 6e 65 20 6f |owing on|ly one o|
|00005ae0| 72 20 74 77 6f 0a 76 61 | 72 69 61 62 6c 65 73 20 |r two.va|riables |
|00005af0| 74 6f 20 62 65 20 61 64 | 6a 75 73 74 65 64 20 61 |to be ad|justed a|
|00005b00| 74 20 61 20 74 69 6d 65 | 20 75 6e 74 69 6c 20 61 |t a time| until a|
|00005b10| 20 72 65 61 73 6f 6e 61 | 62 6c 79 20 63 6c 6f 73 | reasona|bly clos|
|00005b20| 65 20 66 69 74 20 69 73 | 20 6f 62 74 61 69 6e 65 |e fit is| obtaine|
|00005b30| 64 2c 0a 62 65 66 6f 72 | 65 20 61 6c 6c 6f 77 69 |d,.befor|e allowi|
|00005b40| 6e 67 20 7b 5c 62 66 20 | 66 69 74 7d 20 74 6f 20 |ng {\bf |fit} to |
|00005b50| 76 61 72 79 20 61 6c 6c | 20 70 61 72 61 6d 65 74 |vary all| paramet|
|00005b60| 65 72 73 2e 0a 0a 41 66 | 74 65 72 20 65 61 63 68 |ers...Af|ter each|
|00005b70| 20 69 74 65 72 61 74 69 | 6f 6e 20 73 74 65 70 2c | iterati|on step,|
|00005b80| 20 64 65 74 61 69 6c 65 | 64 20 69 6e 66 6f 72 6d | detaile|d inform|
|00005b90| 61 74 69 6f 6e 20 69 73 | 20 67 69 76 65 6e 20 61 |ation is| given a|
|00005ba0| 62 6f 75 74 20 74 68 65 | 20 66 69 74 27 73 0a 73 |bout the| fit's.s|
|00005bb0| 74 61 74 65 2c 20 62 6f | 74 68 20 6f 6e 20 74 68 |tate, bo|th on th|
|00005bc0| 65 20 73 63 72 65 65 6e | 20 61 6e 64 20 6f 6e 20 |e screen| and on |
|00005bd0| 61 20 6c 6f 67 66 69 6c | 65 20 60 60 66 69 74 2e |a logfil|e ``fit.|
|00005be0| 6c 6f 67 27 27 2e 20 20 | 54 68 69 73 20 66 69 6c |log''. |This fil|
|00005bf0| 65 20 77 69 6c 6c 20 6e | 65 76 65 72 0a 62 65 20 |e will n|ever.be |
|00005c00| 65 72 61 73 65 64 20 62 | 75 74 20 61 6c 77 61 79 |erased b|ut alway|
|00005c10| 73 20 61 70 70 65 6e 64 | 65 64 20 74 6f 20 73 6f |s append|ed to so|
|00005c20| 20 74 68 61 74 20 74 68 | 65 20 66 69 74 27 73 20 | that th|e fit's |
|00005c30| 68 69 73 74 6f 72 79 20 | 69 73 6e 27 74 20 6c 6f |history |isn't lo|
|00005c40| 73 74 2e 20 20 41 66 74 | 65 72 0a 65 61 63 68 20 |st. Aft|er.each |
|00005c50| 69 74 65 72 61 74 69 6f | 6e 20 73 74 65 70 2c 20 |iteratio|n step, |
|00005c60| 74 68 65 20 66 69 74 20 | 6d 61 79 20 62 65 20 69 |the fit |may be i|
|00005c70| 6e 74 65 72 72 75 70 74 | 65 64 20 62 79 20 70 72 |nterrupt|ed by pr|
|00005c80| 65 73 73 69 6e 67 20 43 | 74 72 6c 2d 43 20 28 61 |essing C|trl-C (a|
|00005c90| 6e 79 20 6b 65 79 0a 42 | 55 54 20 43 74 72 6c 2d |ny key.B|UT Ctrl-|
|00005ca0| 43 20 75 6e 64 65 72 20 | 4d 53 44 4f 53 20 61 6e |C under |MSDOS an|
|00005cb0| 64 20 41 74 61 72 69 20 | 4d 75 6c 74 69 74 61 73 |d Atari |Multitas|
|00005cc0| 6b 69 6e 67 20 53 79 73 | 74 65 6d 73 29 2e 20 20 |king Sys|tems). |
|00005cd0| 54 68 65 6e 20 79 6f 75 | 20 68 61 76 65 20 74 68 |Then you| have th|
|00005ce0| 65 0a 6f 70 74 69 6f 6e | 73 20 6f 66 20 73 74 6f |e.option|s of sto|
|00005cf0| 70 70 69 6e 67 20 28 61 | 6e 64 20 61 63 63 65 70 |pping (a|nd accep|
|00005d00| 74 69 6e 67 20 74 68 65 | 20 63 75 72 72 65 6e 74 |ting the| current|
|00005d10| 20 70 61 72 61 6d 65 74 | 65 72 20 76 61 6c 75 65 | paramet|er value|
|00005d20| 73 29 2c 20 63 6f 6e 74 | 69 6e 75 69 6e 67 0a 74 |s), cont|inuing.t|
|00005d30| 68 65 20 69 74 65 72 61 | 74 69 6f 6e 20 6f 66 20 |he itera|tion of |
|00005d40| 74 68 65 20 66 69 74 2c | 20 6f 72 20 65 78 65 63 |the fit,| or exec|
|00005d50| 75 74 69 6e 67 20 61 20 | 7b 5c 62 66 20 67 6e 75 |uting a |{\bf gnu|
|00005d60| 70 6c 6f 74 7d 20 63 6f | 6d 6d 61 6e 64 20 73 70 |plot} co|mmand sp|
|00005d70| 65 63 69 66 69 65 64 20 | 62 79 20 61 6e 0a 65 6e |ecified |by an.en|
|00005d80| 76 69 72 6f 6e 6d 65 6e | 74 20 76 61 72 69 61 62 |vironmen|t variab|
|00005d90| 6c 65 20 46 49 54 5c 5f | 53 43 52 49 50 54 2e 20 |le FIT\_|SCRIPT. |
|00005da0| 20 41 20 7b 5c 62 66 20 | 70 6c 6f 74 7d 20 6f 72 | A {\bf |plot} or|
|00005db0| 20 7b 5c 62 66 20 6c 6f | 61 64 7d 20 63 6f 6d 6d | {\bf lo|ad} comm|
|00005dc0| 61 6e 64 20 6d 61 79 20 | 62 65 20 75 73 65 66 75 |and may |be usefu|
|00005dd0| 6c 20 69 6e 0a 74 68 69 | 73 20 63 6f 6e 74 65 78 |l in.thi|s contex|
|00005de0| 74 2e 0a 0a 53 70 65 63 | 69 61 6c 20 7b 5c 62 66 |t...Spec|ial {\bf|
|00005df0| 20 67 6e 75 70 6c 6f 74 | 7d 20 76 61 72 69 61 62 | gnuplot|} variab|
|00005e00| 6c 65 73 3a 0a 5c 62 65 | 67 69 6e 7b 76 65 72 62 |les:.\be|gin{verb|
|00005e10| 61 74 69 6d 7d 0a 20 20 | 20 46 49 54 5f 49 4e 44 |atim}. | FIT_IND|
|00005e20| 45 58 20 20 63 6f 6e 74 | 61 69 6e 73 20 74 68 65 |EX cont|ains the|
|00005e30| 20 63 75 72 72 65 6e 74 | 20 64 61 74 61 20 70 6f | current| data po|
|00005e40| 69 6e 74 20 6e 75 6d 62 | 65 72 20 64 75 72 69 6e |int numb|er durin|
|00005e50| 67 20 65 78 65 63 75 74 | 69 6f 6e 2c 0a 20 20 20 |g execut|ion,. |
|00005e60| 20 20 20 20 20 20 20 20 | 20 20 20 73 74 61 72 74 | | start|
|00005e70| 69 6e 67 20 77 69 74 68 | 20 31 2e 20 20 59 6f 75 |ing with| 1. You|
|00005e80| 20 6d 61 79 20 75 73 65 | 20 69 74 20 69 6e 20 79 | may use| it in y|
|00005e90| 6f 75 72 20 66 69 74 20 | 66 75 6e 63 74 69 6f 6e |our fit |function|
|00005ea0| 20 74 6f 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 | to. | |
|00005eb0| 20 20 69 6d 70 6c 65 6d | 65 6e 74 20 6d 75 6c 74 | implem|ent mult|
|00005ec0| 69 70 6c 65 2d 62 72 61 | 6e 63 68 20 66 69 74 73 |iple-bra|nch fits|
|00005ed0| 2e 0a 20 20 20 46 49 54 | 5f 4c 49 4d 49 54 20 20 |.. FIT|_LIMIT |
|00005ee0| 6d 61 79 20 62 65 20 73 | 70 65 63 69 66 69 65 64 |may be s|pecified|
|00005ef0| 20 74 6f 20 63 68 61 6e | 67 65 20 74 68 65 20 64 | to chan|ge the d|
|00005f00| 65 66 61 75 6c 74 20 65 | 70 73 69 6c 6f 6e 20 6c |efault e|psilon l|
|00005f10| 69 6d 69 74 20 28 31 65 | 2d 35 29 2e 0a 20 20 20 |imit (1e|-5).. |
|00005f20| 20 20 20 20 20 20 20 20 | 20 20 20 57 68 65 6e 20 | | When |
|00005f30| 74 68 65 20 73 75 6d 20 | 6f 66 20 73 71 75 61 72 |the sum |of squar|
|00005f40| 65 64 20 72 65 73 69 64 | 75 61 6c 73 20 63 68 61 |ed resid|uals cha|
|00005f50| 6e 67 65 73 20 62 65 74 | 77 65 65 6e 20 74 77 6f |nges bet|ween two|
|00005f60| 20 69 74 65 72 61 74 69 | 6f 6e 0a 20 20 20 20 20 | iterati|on. |
|00005f70| 20 20 20 20 20 20 20 20 | 20 73 74 65 70 73 20 62 | | steps b|
|00005f80| 79 20 6c 65 73 73 20 74 | 68 61 6e 20 61 20 66 61 |y less t|han a fa|
|00005f90| 63 74 6f 72 20 6f 66 20 | 74 68 69 73 20 6e 75 6d |ctor of |this num|
|00005fa0| 62 65 72 2c 20 74 68 65 | 20 66 69 74 20 69 73 0a |ber, the| fit is.|
|00005fb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 63 6f | | co|
|00005fc0| 6e 73 69 64 65 72 65 64 | 20 74 6f 20 68 61 76 65 |nsidered| to have|
|00005fd0| 20 27 63 6f 6e 76 65 72 | 67 65 64 27 2e 0a 5c 65 | 'conver|ged'..\e|
|00005fe0| 6e 64 7b 76 65 72 62 61 | 74 69 6d 7d 0a 0a 28 46 |nd{verba|tim}..(F|
|00005ff0| 49 54 5c 5f 53 4b 49 50 | 20 77 61 73 20 61 76 61 |IT\_SKIP| was ava|
|00006000| 69 6c 61 62 6c 65 20 69 | 6e 20 70 72 65 76 69 6f |ilable i|n previo|
|00006010| 75 73 20 72 65 6c 65 61 | 73 65 64 20 6f 66 20 67 |us relea|sed of g|
|00006020| 6e 75 66 69 74 2e 20 20 | 49 74 73 20 66 75 6e 63 |nufit. |Its func|
|00006030| 74 69 6f 6e 61 6c 69 74 | 79 0a 69 73 20 6e 6f 77 |tionalit|y.is now|
|00006040| 20 6f 62 74 61 69 6e 65 | 64 20 75 73 69 6e 67 20 | obtaine|d using |
|00006050| 74 68 65 20 7b 5c 62 66 | 20 65 76 65 72 79 7d 20 |the {\bf| every} |
|00006060| 6d 6f 64 69 66 69 65 72 | 20 66 6f 72 20 64 61 74 |modifier| for dat|
|00006070| 61 66 69 6c 65 73 2e 29 | 0a 0a 45 6e 76 69 72 6f |afiles.)|..Enviro|
|00006080| 6e 6d 65 6e 74 20 76 61 | 72 69 61 62 6c 65 73 3a |nment va|riables:|
|00006090| 0a 5c 62 65 67 69 6e 7b | 76 65 72 62 61 74 69 6d |.\begin{|verbatim|
|000060a0| 7d 0a 20 20 20 46 49 54 | 5f 4c 4f 47 20 20 20 20 |}. FIT|_LOG |
|000060b0| 63 68 61 6e 67 65 73 20 | 74 68 65 20 6c 6f 67 66 |changes |the logf|
|000060c0| 69 6c 65 27 73 20 70 61 | 74 68 20 66 72 6f 6d 20 |ile's pa|th from |
|000060d0| 27 2e 2f 66 69 74 2e 6c | 6f 67 27 20 28 77 72 69 |'./fit.l|og' (wri|
|000060e0| 74 65 20 70 65 72 6d 69 | 73 73 69 6f 6e 0a 20 20 |te permi|ssion. |
|000060f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 69 73 20 6e | | is n|
|00006100| 65 63 65 73 73 61 72 79 | 29 2e 0a 20 20 20 46 49 |ecessary|).. FI|
|00006110| 54 5f 53 43 52 49 50 54 | 20 73 70 65 63 69 66 69 |T_SCRIPT| specifi|
|00006120| 65 73 20 61 20 63 6f 6d | 6d 61 6e 64 20 74 6f 20 |es a com|mand to |
|00006130| 62 65 20 65 78 65 63 75 | 74 65 64 20 61 66 74 65 |be execu|ted afte|
|00006140| 72 20 61 6e 20 75 73 65 | 72 20 69 6e 74 65 72 72 |r an use|r interr|
|00006150| 75 70 74 2e 0a 5c 65 6e | 64 7b 76 65 72 62 61 74 |upt..\en|d{verbat|
|00006160| 69 6d 7d 0a 0a 45 78 61 | 6d 70 6c 65 73 3a 0a 5c |im}..Exa|mples:.\|
|00006170| 62 65 67 69 6e 7b 76 65 | 72 62 61 74 69 6d 7d 0a |begin{ve|rbatim}.|
|00006180| 20 20 20 66 28 78 29 20 | 3d 20 61 2a 78 2a 2a 32 | f(x) |= a*x**2|
|00006190| 20 2b 20 62 2a 78 20 2b | 20 63 0a 20 20 20 66 69 | + b*x +| c. fi|
|000061a0| 74 20 66 28 78 29 20 27 | 6d 65 61 73 75 72 65 64 |t f(x) '|measured|
|000061b0| 2e 64 61 74 27 20 76 69 | 61 20 27 73 74 61 72 74 |.dat' vi|a 'start|
|000061c0| 2e 70 61 72 27 0a 20 20 | 20 66 69 74 20 66 28 78 |.par'. | fit f(x|
|000061d0| 29 20 27 6d 65 61 73 75 | 72 65 64 2e 64 61 74 27 |) 'measu|red.dat'|
|000061e0| 20 75 73 69 6e 67 20 33 | 3a 28 24 37 2d 35 29 20 | using 3|:($7-5) |
|000061f0| 76 69 61 20 27 73 74 61 | 72 74 2e 70 61 72 27 0a |via 'sta|rt.par'.|
|00006200| 20 20 20 66 69 74 20 66 | 28 78 29 20 27 2e 2f 64 | fit f|(x) './d|
|00006210| 61 74 61 2f 74 72 61 73 | 68 2e 64 61 74 27 20 75 |ata/tras|h.dat' u|
|00006220| 73 69 6e 67 20 31 3a 32 | 3a 33 20 76 69 61 20 61 |sing 1:2|:3 via a|
|00006230| 2c 20 62 2c 20 63 0a 5c | 65 6e 64 7b 76 65 72 62 |, b, c.\|end{verb|
|00006240| 61 74 69 6d 7d 0a 0a 53 | 45 45 20 41 4c 53 4f 3a |atim}..S|EE ALSO:|
|00006250| 20 7b 5c 62 66 20 75 70 | 64 61 74 65 7d 0a 5c 73 | {\bf up|date}.\s|
|00006260| 65 63 74 69 6f 6e 7b 48 | 65 6c 70 7d 0a 54 68 65 |ection{H|elp}.The|
|00006270| 20 7b 5c 62 66 20 68 65 | 6c 70 7d 20 63 6f 6d 6d | {\bf he|lp} comm|
|00006280| 61 6e 64 20 64 69 73 70 | 6c 61 79 73 20 6f 6e 2d |and disp|lays on-|
|00006290| 6c 69 6e 65 20 68 65 6c | 70 2e 20 54 6f 20 73 70 |line hel|p. To sp|
|000062a0| 65 63 69 66 79 20 69 6e | 66 6f 72 6d 61 74 69 6f |ecify in|formatio|
|000062b0| 6e 20 6f 6e 20 61 0a 70 | 61 72 74 69 63 75 6c 61 |n on a.p|articula|
|000062c0| 72 20 74 6f 70 69 63 20 | 75 73 65 20 74 68 65 20 |r topic |use the |
|000062d0| 73 79 6e 74 61 78 3a 0a | 0a 5c 62 65 67 69 6e 7b |syntax:.|.\begin{|
|000062e0| 76 65 72 62 61 74 69 6d | 7d 0a 20 20 20 20 20 20 |verbatim|}. |
|000062f0| 20 20 68 65 6c 70 20 7b | 3c 74 6f 70 69 63 3e 7d | help {|<topic>}|
|00006300| 0a 5c 65 6e 64 7b 76 65 | 72 62 61 74 69 6d 7d 0a |.\end{ve|rbatim}.|
|00006310| 0a 49 66 20 24 3c 24 74 | 6f 70 69 63 24 3e 24 20 |.If $<$t|opic$>$ |
|00006320| 69 73 20 6e 6f 74 20 73 | 70 65 63 69 66 69 65 64 |is not s|pecified|
|00006330| 2c 20 61 20 73 68 6f 72 | 74 20 6d 65 73 73 61 67 |, a shor|t messag|
|00006340| 65 20 69 73 20 70 72 69 | 6e 74 65 64 20 61 62 6f |e is pri|nted abo|
|00006350| 75 74 20 7b 5c 62 66 20 | 67 6e 75 70 6c 6f 74 7d |ut {\bf |gnuplot}|
|00006360| 2e 0a 41 66 74 65 72 20 | 68 65 6c 70 20 66 6f 72 |..After |help for|
|00006370| 20 74 68 65 20 72 65 71 | 75 65 73 74 65 64 20 74 | the req|uested t|
|00006380| 6f 70 69 63 20 69 73 20 | 67 69 76 65 6e 2c 20 61 |opic is |given, a|
|00006390| 20 6d 65 6e 75 20 6f 66 | 20 73 75 62 74 6f 70 69 | menu of| subtopi|
|000063a0| 63 73 20 69 73 20 67 69 | 76 65 6e 3b 0a 68 65 6c |cs is gi|ven;.hel|
|000063b0| 70 20 66 6f 72 20 61 20 | 73 75 62 74 6f 70 69 63 |p for a |subtopic|
|000063c0| 20 6d 61 79 20 62 65 20 | 72 65 71 75 65 73 74 65 | may be |requeste|
|000063d0| 64 20 62 79 20 74 79 70 | 69 6e 67 20 69 74 73 20 |d by typ|ing its |
|000063e0| 6e 61 6d 65 2c 20 65 78 | 74 65 6e 64 69 6e 67 20 |name, ex|tending |
|000063f0| 74 68 65 20 68 65 6c 70 | 0a 72 65 71 75 65 73 74 |the help|.request|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.