home *** CD-ROM | disk | FTP | other *** search
view JSON data
|
view as text
|
open on a Mac
|
open on a PC
This file was processed as: LaTeX Document
(document/latex).
You can browse this item here: using.tex
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| 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
| data
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/281 LaTeX (Subdocument)
| default
| |
100%
| detectItEasy
| Format: plain text[CRLF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 63 68 61 70 74 65 72 | 7b 55 73 69 6e 67 20 53 |\chapter|{Using S|
|00000010| 70 6c 6f 74 7d 0d 0a 0d | 0a 5c 73 65 63 74 69 6f |plot}...|.\sectio|
|00000020| 6e 7b 53 70 6c 6f 74 20 | 42 61 73 69 63 73 20 2d |n{Splot |Basics -|
|00000030| 20 47 65 74 74 69 6e 67 | 20 53 74 61 72 74 65 64 | Getting| Started|
|00000040| 7d 0d 0a 20 20 20 20 20 | 20 20 20 57 68 65 6e 20 |}.. | When |
|00000050| 73 70 6c 6f 74 20 69 73 | 20 73 74 61 72 74 65 64 |splot is| started|
|00000060| 20 74 68 65 20 75 73 65 | 72 20 69 73 20 70 72 65 | the use|r is pre|
|00000070| 73 65 6e 74 65 64 20 77 | 69 74 68 20 74 77 6f 20 |sented w|ith two |
|00000080| 77 69 6e 64 6f 77 73 2e | 20 54 68 65 20 0d 0a 6c |windows.| The ..l|
|00000090| 65 66 74 20 77 69 6e 64 | 6f 77 20 69 73 20 74 68 |eft wind|ow is th|
|000000a0| 65 20 64 72 61 77 69 6e | 67 20 61 72 65 61 20 77 |e drawin|g area w|
|000000b0| 68 65 72 65 20 74 68 65 | 20 69 6d 61 67 65 20 77 |here the| image w|
|000000c0| 69 6c 6c 20 62 65 20 64 | 72 61 77 6e 2e 20 4f 6e |ill be d|rawn. On|
|000000d0| 20 74 68 65 20 72 69 67 | 68 74 20 0d 0a 69 73 20 | the rig|ht ..is |
|000000e0| 61 20 74 65 78 74 20 77 | 69 6e 64 6f 77 20 77 65 |a text w|indow we|
|000000f0| 72 65 20 74 68 65 20 43 | 5c 69 6e 64 65 78 7b 43 |re the C|\index{C|
|00000100| 7d 20 70 72 6f 67 72 61 | 6d 20 73 70 65 63 69 66 |} progra|m specif|
|00000110| 79 69 6e 67 20 74 68 65 | 20 64 72 61 77 69 6e 67 |ying the| drawing|
|00000120| 20 63 61 6e 20 62 65 20 | 0d 0a 64 69 73 70 6c 61 | can be |..displa|
|00000130| 79 65 64 2e 20 54 68 65 | 20 74 65 78 74 20 69 73 |yed. The| text is|
|00000140| 20 65 64 69 74 65 64 20 | 75 73 69 6e 67 20 74 68 | edited |using th|
|00000150| 65 20 62 75 69 6c 74 20 | 69 6e 20 27 65 27 20 65 |e built |in 'e' e|
|00000160| 64 69 74 6f 72 5c 69 6e | 64 65 78 7b 65 64 69 74 |ditor\in|dex{edit|
|00000170| 6f 72 7d 20 0d 0a 61 6e | 64 20 74 68 65 20 64 72 |or} ..an|d the dr|
|00000180| 61 77 69 6e 67 20 69 73 | 20 67 65 6e 65 72 61 74 |awing is| generat|
|00000190| 65 64 20 62 79 20 60 65 | 78 65 63 75 74 69 6e 67 |ed by `e|xecuting|
|000001a0| 27 20 74 68 65 20 66 69 | 6c 65 2c 20 69 2e 65 2e |' the fi|le, i.e.|
|000001b0| 20 62 79 20 68 69 74 74 | 69 6e 67 20 43 54 52 4c | by hitt|ing CTRL|
|000001c0| 20 0d 0a 47 20 6f 72 20 | 73 65 6c 65 63 74 69 6e | ..G or |selectin|
|000001d0| 67 20 74 68 65 20 6d 65 | 6e 75 20 69 74 65 6d 20 |g the me|nu item |
|000001e0| 60 65 78 65 63 27 20 61 | 74 20 74 68 65 20 74 6f |`exec' a|t the to|
|000001f0| 70 2e 20 53 70 6c 6f 74 | 20 63 61 6e 20 62 65 20 |p. Splot| can be |
|00000200| 75 73 65 64 20 66 6f 72 | 20 0d 0a 64 72 61 77 69 |used for| ..drawi|
|00000210| 6e 67 2c 20 67 72 61 70 | 68 69 6e 67 20 64 61 74 |ng, grap|hing dat|
|00000220| 61 20 6f 72 20 62 6f 74 | 68 2c 20 61 6e 64 20 73 |a or bot|h, and s|
|00000230| 69 6e 63 65 20 69 74 20 | 69 73 20 62 61 73 69 63 |ince it |is basic|
|00000240| 61 6c 6c 79 20 43 20 70 | 72 6f 67 72 61 6d 6d 69 |ally C p|rogrammi|
|00000250| 6e 67 2c 20 0d 0a 68 61 | 73 20 65 73 73 65 6e 74 |ng, ..ha|s essent|
|00000260| 69 61 6c 6c 79 20 61 6c | 6c 20 74 68 65 20 43 20 |ially al|l the C |
|00000270| 70 72 6f 67 72 61 6d 6d | 69 6e 67 20 63 61 70 61 |programm|ing capa|
|00000280| 62 69 6c 69 74 69 65 73 | 2e 20 54 6f 20 69 6e 74 |bilities|. To int|
|00000290| 72 6f 64 75 63 65 20 79 | 6f 75 20 74 6f 20 74 68 |roduce y|ou to th|
|000002a0| 65 20 0d 0a 70 72 6f 67 | 72 61 6d 20 61 6e 64 20 |e ..prog|ram and |
|000002b0| 64 65 6d 6f 6e 73 74 72 | 61 74 65 20 74 68 65 20 |demonstr|ate the |
|000002c0| 62 61 73 69 63 20 63 6f | 6e 63 65 70 74 2c 20 74 |basic co|ncept, t|
|000002d0| 68 72 65 65 20 73 69 6d | 70 6c 65 20 65 78 61 6d |hree sim|ple exam|
|000002e0| 70 6c 65 73 20 61 72 65 | 20 67 69 76 65 6e 20 0d |ples are| given .|
|000002f0| 0a 62 65 6c 6f 77 2e 20 | 54 6f 20 62 65 67 69 6e |.below. |To begin|
|00000300| 2c 20 61 6e 20 65 78 61 | 6d 70 6c 65 20 6f 66 20 |, an exa|mple of |
|00000310| 61 20 73 69 6d 70 6c 65 | 20 73 70 6c 6f 74 20 70 |a simple| splot p|
|00000320| 72 6f 67 72 61 6d 20 74 | 6f 20 0d 0a 72 65 61 64 |rogram t|o ..read|
|00000330| 5c 69 6e 64 65 78 7b 72 | 65 61 64 64 61 74 61 7d |\index{r|eaddata}|
|00000340| 20 69 6e 20 61 6e 64 20 | 70 6c 6f 74 5c 69 6e 64 | in and |plot\ind|
|00000350| 65 78 7b 70 6c 6f 74 64 | 61 74 61 7d 20 61 20 64 |ex{plotd|ata} a d|
|00000360| 61 74 61 20 66 69 6c 65 | 20 75 73 69 6e 67 20 73 |ata file| using s|
|00000370| 70 6c 6f 74 20 0d 0a 64 | 65 66 61 75 6c 74 20 70 |plot ..d|efault p|
|00000380| 61 72 61 6d 65 74 65 72 | 73 20 69 73 20 67 69 76 |arameter|s is giv|
|00000390| 65 6e 2e 20 54 68 65 20 | 72 65 73 75 6c 74 61 6e |en. The |resultan|
|000003a0| 74 20 64 72 61 77 69 6e | 67 20 69 73 20 73 68 6f |t drawin|g is sho|
|000003b0| 77 6e 20 6e 65 78 74 20 | 74 6f 20 69 74 2e 20 0d |wn next |to it. .|
|000003c0| 0a 0d 0a 7b 5c 74 74 0d | 0a 5c 62 65 67 69 6e 7b |...{\tt.|.\begin{|
|000003d0| 76 65 72 62 61 74 69 6d | 7d 0d 0a 2f 2a 20 64 65 |verbatim|}../* de|
|000003e0| 6d 6f 20 6f 66 20 73 69 | 6d 70 6c 65 73 74 20 70 |mo of si|mplest p|
|000003f0| 6f 73 73 69 62 6c 65 20 | 64 61 74 61 20 2a 2f 0d |ossible |data */.|
|00000400| 0a 2f 2a 20 70 6c 6f 74 | 74 69 6e 67 20 75 73 69 |./* plot|ting usi|
|00000410| 6e 67 20 61 6c 6c 20 74 | 68 65 20 64 65 66 61 75 |ng all t|he defau|
|00000420| 6c 74 73 20 2a 2f 0d 0a | 0d 0a 23 69 6e 63 6c 75 |lts */..|..#inclu|
|00000430| 64 65 20 3c 73 70 6c 6f | 74 2e 68 3e 0d 0a 64 6f |de <splo|t.h>..do|
|00000440| 75 62 6c 65 20 2a 64 61 | 74 61 3b 0d 0a 6d 61 69 |uble *da|ta;..mai|
|00000450| 6e 28 29 0d 0a 20 20 20 | 7b 0d 0a 20 20 20 72 65 |n().. |{.. re|
|00000460| 61 64 64 61 74 61 28 22 | 64 65 6d 6f 5c 64 61 74 |addata("|demo\dat|
|00000470| 61 31 2e 64 61 74 22 2c | 64 61 74 61 29 3b 0d 0a |a1.dat",|data);..|
|00000480| 20 20 20 70 6c 6f 74 64 | 61 74 61 28 64 61 74 61 | plotd|ata(data|
|00000490| 29 3b 0d 0a 20 20 20 6c | 61 62 65 6c 28 4c 4f 57 |);.. l|abel(LOW|
|000004a0| 45 52 2c 22 50 6f 73 69 | 74 69 6f 6e 22 29 3b 0d |ER,"Posi|tion");.|
|000004b0| 0a 20 20 20 6c 61 62 65 | 6c 28 4c 45 46 54 2c 22 |. labe|l(LEFT,"|
|000004c0| 57 61 76 65 6c 65 6e 67 | 74 68 20 69 6e 20 21 6d |Waveleng|th in !m|
|000004d0| 21 6d 22 29 3b 0d 0a 20 | 20 20 74 65 78 74 28 36 |!m");.. | text(6|
|000004e0| 2e 32 30 2c 32 32 2e 39 | 38 2c 22 4d 65 70 73 69 |.20,22.9|8,"Mepsi|
|000004f0| 63 72 6f 6e 20 43 61 6c | 69 62 72 61 74 69 6f 6e |cron Cal|ibration|
|00000500| 22 29 3b 0d 0a 20 20 20 | 7d 0d 0a 5c 65 6e 64 7b |");.. |}..\end{|
|00000510| 76 65 72 62 61 74 69 6d | 7d 0d 0a 7d 0d 0a 0d 0a |verbatim|}..}....|
|00000520| 5c 76 73 70 61 63 65 2a | 7b 32 2e 35 63 6d 7d 0d |\vspace*|{2.5cm}.|
|00000530| 0a 5c 73 70 65 63 69 61 | 6c 7b 70 73 66 69 6c 65 |.\specia|l{psfile|
|00000540| 3d 73 69 6d 70 6c 65 2e | 65 70 73 20 68 73 63 61 |=simple.|eps hsca|
|00000550| 6c 65 3d 33 35 20 76 73 | 63 61 6c 65 3d 33 35 20 |le=35 vs|cale=35 |
|00000560| 68 6f 66 66 73 65 74 3d | 32 35 30 20 76 6f 66 66 |hoffset=|250 voff|
|00000570| 73 65 74 3d 30 7d 0d 0a | 0d 0a 5c 6e 65 77 70 61 |set=0}..|..\newpa|
|00000580| 67 65 0d 0a 5c 6e 6f 69 | 6e 64 65 6e 74 0d 0a 20 |ge..\noi|ndent.. |
|00000590| 20 20 20 20 20 20 20 48 | 65 72 65 20 69 73 20 61 | H|ere is a|
|000005a0| 20 73 69 6d 70 6c 65 20 | 65 78 61 6d 70 6c 65 20 | simple |example |
|000005b0| 6f 66 20 61 20 64 72 61 | 77 69 6e 67 20 75 73 69 |of a dra|wing usi|
|000005c0| 6e 67 20 73 6f 6d 65 20 | 6f 66 20 74 68 65 20 0d |ng some |of the .|
|000005d0| 0a 62 75 69 6c 74 2d 69 | 6e 20 66 75 6e 63 74 69 |.built-i|n functi|
|000005e0| 6f 6e 73 20 61 6e 64 20 | 74 68 65 20 63 6f 72 72 |ons and |the corr|
|000005f0| 65 73 70 6f 6e 64 69 6e | 67 20 64 72 61 77 69 6e |espondin|g drawin|
|00000600| 67 2e 20 0d 0a 0d 0a 5c | 76 73 70 61 63 65 7b 30 |g. ....\|vspace{0|
|00000610| 2e 35 63 6d 7d 0d 0a 0d | 0a 7b 5c 74 74 0d 0a 5c |.5cm}...|.{\tt..\|
|00000620| 62 65 67 69 6e 7b 76 65 | 72 62 61 74 69 6d 7d 0d |begin{ve|rbatim}.|
|00000630| 0a 2f 2a 20 66 69 6c 65 | 20 62 61 73 69 63 2e 73 |./* file| basic.s|
|00000640| 70 74 20 2a 2f 0d 0a 2f | 2a 20 44 65 6d 6f 20 6f |pt */../|* Demo o|
|00000650| 66 20 61 20 73 69 6d 70 | 6c 65 20 64 72 61 77 69 |f a simp|le drawi|
|00000660| 6e 67 20 75 73 69 6e 67 | 20 2a 2f 0d 0a 2f 2a 20 |ng using| */../* |
|00000670| 73 6f 6d 65 20 62 75 69 | 6c 74 2d 69 6e 20 66 75 |some bui|lt-in fu|
|00000680| 6e 63 74 69 6f 6e 73 20 | 2a 2f 0d 0a 0d 0a 23 69 |nctions |*/....#i|
|00000690| 6e 63 6c 75 64 65 20 3c | 73 70 6c 6f 74 2e 68 3e |nclude <|splot.h>|
|000006a0| 0d 0a 6d 61 69 6e 28 29 | 0d 0a 20 20 20 7b 0d 0a |..main()|.. {..|
|000006b0| 20 20 20 2f 2a 20 64 72 | 61 77 20 74 77 6f 20 62 | /* dr|aw two b|
|000006c0| 6f 78 65 73 20 2a 2f 0d | 0a 20 20 20 62 6f 78 28 |oxes */.|. box(|
|000006d0| 36 2e 30 2c 32 30 2e 30 | 2c 31 31 2e 30 2c 31 36 |6.0,20.0|,11.0,16|
|000006e0| 2e 30 29 3b 0d 0a 20 20 | 20 62 6f 78 28 36 2e 35 |.0);.. | box(6.5|
|000006f0| 2c 31 39 2e 35 2c 38 2e | 35 2c 31 38 2e 30 29 3b |,19.5,8.|5,18.0);|
|00000700| 0d 0a 20 20 20 73 74 72 | 6f 6b 65 28 29 3b 0d 0a |.. str|oke();..|
|00000710| 20 20 20 2f 2a 20 64 72 | 61 77 20 74 77 6f 20 63 | /* dr|aw two c|
|00000720| 69 72 63 6c 65 73 20 2a | 2f 0d 0a 20 20 20 2f 2a |ircles *|/.. /*|
|00000730| 20 69 6e 70 75 74 20 63 | 6f 6f 72 64 69 6e 61 74 | input c|oordinat|
|00000740| 65 73 20 77 69 74 68 20 | 6d 6f 75 73 65 20 2a 2f |es with |mouse */|
|00000750| 0d 0a 20 20 20 61 72 63 | 28 35 2e 39 35 2c 31 30 |.. arc|(5.95,10|
|00000760| 2e 39 31 2c 32 2e 30 2c | 30 2c 33 36 30 29 3b 0d |.91,2.0,|0,360);.|
|00000770| 0a 20 20 20 73 74 72 6f | 6b 65 28 29 3b 0d 0a 20 |. stro|ke();.. |
|00000780| 20 20 61 72 63 28 38 2e | 39 36 2c 31 30 2e 37 33 | arc(8.|96,10.73|
|00000790| 2c 31 2e 30 2c 30 2c 33 | 36 30 29 3b 0d 0a 20 20 |,1.0,0,3|60);.. |
|000007a0| 20 73 74 72 6f 6b 65 28 | 29 3b 0d 0a 20 20 20 2f | stroke(|);.. /|
|000007b0| 2a 20 64 72 61 77 20 61 | 20 74 72 69 61 6e 67 6c |* draw a| triangl|
|000007c0| 65 20 2a 2f 0d 0a 20 20 | 20 6d 6f 76 65 74 6f 28 |e */.. | moveto(|
|000007d0| 37 2e 30 2c 35 2e 30 29 | 3b 0d 0a 20 20 20 6c 69 |7.0,5.0)|;.. li|
|000007e0| 6e 65 74 6f 28 39 2e 30 | 2c 37 2e 30 29 3b 0d 0a |neto(9.0|,7.0);..|
|000007f0| 20 20 20 6c 69 6e 65 74 | 6f 28 31 31 2e 30 2c 35 | linet|o(11.0,5|
|00000800| 2e 30 29 3b 0d 0a 20 20 | 20 6c 69 6e 65 74 6f 28 |.0);.. | lineto(|
|00000810| 37 2e 30 2c 35 2e 30 29 | 3b 0d 0a 20 20 20 73 74 |7.0,5.0)|;.. st|
|00000820| 72 6f 6b 65 28 29 3b 0d | 0a 20 20 20 2f 2a 20 61 |roke();.|. /* a|
|00000830| 64 64 20 73 6f 6d 65 20 | 74 65 78 74 20 2a 2f 0d |dd some |text */.|
|00000840| 0a 20 20 20 74 65 78 74 | 28 34 2e 34 35 2c 32 33 |. text|(4.45,23|
|00000850| 2e 32 32 2c 22 42 61 73 | 69 63 20 44 72 61 77 69 |.22,"Bas|ic Drawi|
|00000860| 6e 67 20 75 73 69 6e 67 | 20 64 65 66 61 75 6c 74 |ng using| default|
|00000870| 73 22 29 3b 0d 0a 20 20 | 20 7d 0d 0a 5c 65 6e 64 |s");.. | }..\end|
|00000880| 7b 76 65 72 62 61 74 69 | 6d 7d 0d 0a 7d 0d 0a 0d |{verbati|m}..}...|
|00000890| 0a 5c 76 73 70 61 63 65 | 2a 7b 2e 31 63 6d 7d 0d |.\vspace|*{.1cm}.|
|000008a0| 0a 5c 73 70 65 63 69 61 | 6c 7b 70 73 66 69 6c 65 |.\specia|l{psfile|
|000008b0| 3d 62 61 73 69 63 2e 65 | 70 73 20 68 73 63 61 6c |=basic.e|ps hscal|
|000008c0| 65 3d 34 30 20 76 73 63 | 61 6c 65 3d 34 30 20 68 |e=40 vsc|ale=40 h|
|000008d0| 6f 66 66 73 65 74 3d 32 | 35 30 20 76 6f 66 66 73 |offset=2|50 voffs|
|000008e0| 65 74 3d 30 7d 0d 0a 0d | 0a 5c 6e 6f 69 6e 64 65 |et=0}...|.\noinde|
|000008f0| 6e 74 0d 0a 0d 0a 5c 76 | 73 70 61 63 65 7b 30 2e |nt....\v|space{0.|
|00000900| 35 63 6d 7d 0d 0a 0d 0a | 5c 6e 6f 69 6e 64 65 6e |5cm}....|\noinden|
|00000910| 74 0d 0a 0d 0a 20 20 20 | 20 20 20 20 20 4c 61 73 |t.... | Las|
|00000920| 74 6c 79 2c 20 68 65 72 | 65 20 69 73 20 61 6e 20 |tly, her|e is an |
|00000930| 65 78 61 6d 70 6c 65 20 | 75 73 69 6e 67 20 73 6f |example |using so|
|00000940| 6d 65 20 43 20 70 72 6f | 67 72 61 6d 6d 69 6e 67 |me C pro|gramming|
|00000950| 5c 69 6e 64 65 78 7b 43 | 7d 20 0d 0a 63 61 70 61 |\index{C|} ..capa|
|00000960| 62 69 6c 69 74 69 65 73 | 20 73 75 63 68 20 61 73 |bilities| such as|
|00000970| 20 6c 6f 6f 70 73 5c 69 | 6e 64 65 78 7b 73 79 6d | loops\i|ndex{sym|
|00000980| 62 6f 6c 73 7d 2e 20 0d | 0a 0d 0a 7b 5c 74 74 0d |bols}. .|...{\tt.|
|00000990| 0a 5c 62 65 67 69 6e 7b | 76 65 72 62 61 74 69 6d |.\begin{|verbatim|
|000009a0| 7d 0d 0a 2f 2a 20 54 68 | 69 73 20 64 65 6d 6f 20 |}../* Th|is demo |
|000009b0| 66 69 6c 65 20 73 68 6f | 77 73 20 74 68 65 20 61 |file sho|ws the a|
|000009c0| 76 61 69 6c 61 62 6c 65 | 20 73 79 6d 62 6f 6c 73 |vailable| symbols|
|000009d0| 20 2a 2f 0d 0a 2f 2a 20 | 77 68 69 63 68 20 63 61 | */../* |which ca|
|000009e0| 6e 20 62 65 20 75 73 65 | 64 20 66 6f 72 20 64 61 |n be use|d for da|
|000009f0| 74 61 20 70 6f 69 6e 74 | 73 2e 20 53 79 6d 62 6f |ta point|s. Symbo|
|00000a00| 6c 73 20 6e 61 6d 65 73 | 20 2a 2f 0d 0a 2f 2a 20 |ls names| */../* |
|00000a10| 65 71 75 61 74 69 6e 67 | 20 74 6f 20 74 68 65 20 |equating| to the |
|00000a20| 6e 75 6d 65 72 69 63 61 | 6c 20 63 6f 6e 73 74 61 |numerica|l consta|
|00000a30| 6e 74 73 20 61 72 65 20 | 64 65 66 69 6e 65 64 20 |nts are |defined |
|00000a40| 2a 2f 0d 0a 2f 2a 20 69 | 6e 20 73 70 6c 6f 74 2e |*/../* i|n splot.|
|00000a50| 68 20 2a 2f 0d 0a 0d 0a | 23 69 6e 63 6c 75 64 65 |h */....|#include|
|00000a60| 20 22 73 70 6c 6f 74 2e | 68 22 0d 0a 6d 61 69 6e | "splot.|h"..main|
|00000a70| 28 29 0d 0a 20 20 20 7b | 0d 0a 20 20 20 69 6e 74 |().. {|.. int|
|00000a80| 20 69 3b 0d 0a 20 20 20 | 2f 2a 20 6d 61 6b 65 20 | i;.. |/* make |
|00000a90| 74 68 65 20 73 79 6d 62 | 6f 6c 73 20 6c 61 72 67 |the symb|ols larg|
|00000aa0| 65 2e 20 53 69 6e 63 65 | 20 74 68 65 79 20 61 72 |e. Since| they ar|
|00000ab0| 65 20 6a 75 73 74 20 61 | 20 73 70 65 63 69 61 6c |e just a| special|
|00000ac0| 20 66 6f 6e 74 20 2a 2f | 0d 0a 20 20 20 2f 2a 20 | font */|.. /* |
|00000ad0| 6d 61 6b 65 20 74 68 65 | 20 66 6f 6e 74 20 77 69 |make the| font wi|
|00000ae0| 64 74 68 20 6c 61 72 67 | 65 2e 20 2a 2f 0d 0a 20 |dth larg|e. */.. |
|00000af0| 20 20 73 65 74 28 46 4f | 4e 54 57 49 44 54 48 2c | set(FO|NTWIDTH,|
|00000b00| 34 29 3b 0d 0a 20 20 20 | 2f 2a 20 63 68 61 6e 67 |4);.. |/* chang|
|00000b10| 65 20 74 68 65 20 73 79 | 6d 62 6f 6c 20 6f 72 69 |e the sy|mbol ori|
|00000b20| 65 6e 74 61 74 69 6f 6e | 20 6a 75 73 74 20 66 6f |entation| just fo|
|00000b30| 72 20 66 75 6e 20 2a 2f | 0d 0a 20 20 20 73 65 74 |r fun */|.. set|
|00000b40| 28 46 4f 4e 54 44 49 52 | 2c 33 30 29 3b 0d 0a 20 |(FONTDIR|,30);.. |
|00000b50| 20 20 6d 6f 76 65 74 6f | 28 31 2c 31 29 3b 0d 0a | moveto|(1,1);..|
|00000b60| 20 20 20 2f 2a 20 73 68 | 6f 77 20 61 6c 6c 20 31 | /* sh|ow all 1|
|00000b70| 37 20 73 79 6d 62 6f 6c | 73 20 69 6e 20 61 20 64 |7 symbol|s in a d|
|00000b80| 69 61 67 6f 6e 61 6c 20 | 6c 69 6e 65 20 2a 2f 0d |iagonal |line */.|
|00000b90| 0a 20 20 20 66 6f 72 20 | 28 69 20 3d 20 30 3b 69 |. for |(i = 0;i|
|00000ba0| 20 3c 20 31 37 3b 69 2b | 2b 29 0d 0a 20 20 20 20 | < 17;i+|+).. |
|00000bb0| 20 20 7b 0d 0a 20 20 20 | 20 20 20 2f 2a 20 75 73 | {.. | /* us|
|00000bc0| 65 20 61 20 72 65 6c 61 | 74 69 76 65 20 6d 6f 76 |e a rela|tive mov|
|00000bd0| 65 20 68 65 72 65 20 2a | 2f 0d 0a 20 20 20 20 20 |e here *|/.. |
|00000be0| 20 72 6d 6f 76 65 74 6f | 28 31 2c 31 29 3b 0d 0a | rmoveto|(1,1);..|
|00000bf0| 20 20 20 20 20 20 73 79 | 6d 62 6f 6c 28 69 29 3b | sy|mbol(i);|
|00000c00| 0d 0a 20 20 20 20 20 20 | 7d 0d 0a 20 20 20 2f 2a |.. |}.. /*|
|00000c10| 20 74 72 79 20 6f 74 68 | 65 72 20 66 6f 72 6d 20 | try oth|er form |
|00000c20| 6f 66 20 73 79 6d 62 6f | 6c 20 2a 2f 0d 0a 20 20 |of symbo|l */.. |
|00000c30| 20 73 65 74 28 53 59 4d | 4d 55 4c 54 2c 32 29 3b | set(SYM|MULT,2);|
|00000c40| 0d 0a 20 20 20 73 79 6d | 62 6f 6c 28 34 2c 31 32 |.. sym|bol(4,12|
|00000c50| 2c 4f 53 54 41 52 29 3b | 0d 0a 20 20 20 73 65 74 |,OSTAR);|.. set|
|00000c60| 28 53 59 4d 4d 55 4c 54 | 2c 30 2e 35 29 3b 0d 0a |(SYMMULT|,0.5);..|
|00000c70| 20 20 20 2f 2a 20 61 64 | 64 20 73 6f 6d 65 20 65 | /* ad|d some e|
|00000c80| 78 74 72 61 20 61 72 72 | 6f 77 73 20 74 6f 20 69 |xtra arr|ows to i|
|00000c90| 6c 6c 75 73 74 72 61 74 | 65 20 74 68 65 20 2a 2f |llustrat|e the */|
|00000ca0| 0d 0a 20 20 20 2f 2a 20 | 61 72 72 6f 77 74 6f 28 |.. /* |arrowto(|
|00000cb0| 29 20 66 75 6e 63 74 69 | 6f 6e 20 2a 2f 0d 0a 20 |) functi|on */.. |
|00000cc0| 20 20 6d 6f 76 65 74 6f | 28 33 2e 38 32 2c 31 37 | moveto|(3.82,17|
|00000cd0| 2e 31 39 29 3b 0d 0a 20 | 20 20 61 72 72 6f 77 74 |.19);.. | arrowt|
|00000ce0| 6f 28 37 2e 39 36 2c 31 | 35 2e 36 38 29 3b 0d 0a |o(7.96,1|5.68);..|
|00000cf0| 20 20 20 61 72 72 6f 77 | 74 6f 28 31 30 2e 32 31 | arrow|to(10.21|
|00000d00| 2c 31 39 2e 37 32 29 3b | 0d 0a 20 20 20 72 61 72 |,19.72);|.. rar|
|00000d10| 72 6f 77 74 6f 28 33 2c | 30 29 3b 0d 0a 20 20 20 |rowto(3,|0);.. |
|00000d20| 73 74 72 6f 6b 65 28 29 | 3b 0d 0a 20 20 20 7d 0d |stroke()|;.. }.|
|00000d30| 0a 5c 65 6e 64 7b 76 65 | 72 62 61 74 69 6d 7d 0d |.\end{ve|rbatim}.|
|00000d40| 0a 7d 0d 0a 0d 0a 5c 76 | 73 70 61 63 65 2a 7b 32 |.}....\v|space*{2|
|00000d50| 2e 35 63 6d 7d 0d 0a 5c | 73 70 65 63 69 61 6c 7b |.5cm}..\|special{|
|00000d60| 70 73 66 69 6c 65 3d 73 | 79 6d 62 6f 6c 2e 65 70 |psfile=s|ymbol.ep|
|00000d70| 73 20 68 73 63 61 6c 65 | 3d 33 30 20 76 73 63 61 |s hscale|=30 vsca|
|00000d80| 6c 65 3d 33 30 20 68 6f | 66 66 73 65 74 3d 32 32 |le=30 ho|ffset=22|
|00000d90| 35 20 76 6f 66 66 73 65 | 74 3d 30 7d 0d 0a 0d 0a |5 voffse|t=0}....|
|00000da0| 5c 6e 6f 69 6e 64 65 6e | 74 0d 0a 54 68 65 72 65 |\noinden|t..There|
|00000db0| 20 61 72 65 20 74 77 6f | 20 77 61 79 73 20 61 20 | are two| ways a |
|00000dc0| 64 72 61 77 69 6e 67 20 | 63 61 6e 20 62 65 20 6d |drawing |can be m|
|00000dd0| 61 64 65 2e 0d 0a 5c 62 | 65 67 69 6e 7b 69 74 65 |ade...\b|egin{ite|
|00000de0| 6d 69 7a 65 7d 0d 0a 5c | 69 74 65 6d 5b 31 5d 2e |mize}..\|item[1].|
|00000df0| 20 62 79 20 74 79 70 69 | 6e 67 20 69 6e 20 61 20 | by typi|ng in a |
|00000e00| 43 20 70 72 6f 67 72 61 | 6d 20 74 65 78 74 20 66 |C progra|m text f|
|00000e10| 69 6c 65 20 75 73 69 6e | 67 20 74 68 65 20 62 75 |ile usin|g the bu|
|00000e20| 69 6c 74 2d 69 6e 20 65 | 64 69 74 6f 72 2e 0d 0a |ilt-in e|ditor...|
|00000e30| 5c 69 74 65 6d 5b 32 5d | 2e 20 62 79 20 75 73 69 |\item[2]|. by usi|
|00000e40| 6e 67 20 74 68 65 20 6d | 6f 75 73 65 20 61 6e 64 |ng the m|ouse and|
|00000e50| 20 70 75 6c 6c 2d 64 6f | 77 6e 20 6d 65 6e 75 73 | pull-do|wn menus|
|00000e60| 20 74 6f 20 69 6e 73 65 | 72 74 20 63 6f 6d 6d 61 | to inse|rt comma|
|00000e70| 6e 64 73 20 69 6e 74 6f | 0d 0a 74 68 65 20 74 65 |nds into|..the te|
|00000e80| 78 74 20 66 69 6c 65 20 | 28 73 65 65 20 73 65 63 |xt file |(see sec|
|00000e90| 74 69 6f 6e 20 5c 72 65 | 66 7b 73 65 63 3a 6d 6f |tion \re|f{sec:mo|
|00000ea0| 75 73 65 7d 29 2e 0d 0a | 5c 65 6e 64 7b 69 74 65 |use})...|\end{ite|
|00000eb0| 6d 69 7a 65 7d 0d 0a 20 | 20 20 20 20 20 20 20 44 |mize}.. | D|
|00000ec0| 65 70 65 6e 64 69 6e 67 | 20 6f 6e 20 77 68 69 63 |epending| on whic|
|00000ed0| 68 20 69 73 20 6d 6f 72 | 65 20 63 6f 6e 76 65 6e |h is mor|e conven|
|00000ee0| 69 65 6e 74 20 66 6f 72 | 20 74 68 65 20 74 61 73 |ient for| the tas|
|00000ef0| 6b 20 61 74 20 68 61 6e | 64 2c 20 6f 6e 65 20 63 |k at han|d, one c|
|00000f00| 61 6e 20 0d 0a 65 69 74 | 68 65 72 20 64 72 61 77 |an ..eit|her draw|
|00000f10| 20 69 6e 74 65 72 61 63 | 74 69 76 65 6c 79 5c 69 | interac|tively\i|
|00000f20| 6e 64 65 78 7b 69 6e 74 | 65 72 61 63 74 69 76 65 |ndex{int|eractive|
|00000f30| 20 64 72 61 77 69 6e 67 | 7d 20 77 69 74 68 20 74 | drawing|} with t|
|00000f40| 68 65 20 6d 6f 75 73 65 | 20 6f 72 20 0d 0a 65 6e |he mouse| or ..en|
|00000f50| 74 65 72 20 74 65 78 74 | 2e 20 54 68 65 20 64 72 |ter text|. The dr|
|00000f60| 61 77 69 6e 67 20 69 73 | 20 6f 6e 6c 79 20 67 65 |awing is| only ge|
|00000f70| 6e 65 72 61 74 65 64 20 | 75 70 6f 6e 20 65 78 65 |nerated |upon exe|
|00000f80| 63 75 74 69 6f 6e 20 6f | 66 20 74 68 65 20 74 65 |cution o|f the te|
|00000f90| 78 74 20 66 69 6c 65 2e | 20 0d 0a 0d 0a 20 20 20 |xt file.| .... |
|00000fa0| 20 20 20 20 20 54 68 65 | 20 74 65 78 74 20 65 64 | The| text ed|
|00000fb0| 69 74 6f 72 5c 69 6e 64 | 65 78 7b 65 64 69 74 6f |itor\ind|ex{edito|
|00000fc0| 72 7d 20 74 68 61 74 20 | 69 73 20 62 75 69 6c 74 |r} that |is built|
|00000fd0| 20 69 6e 74 6f 20 53 70 | 6c 6f 74 20 69 73 20 61 | into Sp|lot is a|
|00000fe0| 20 66 75 6c 6c 79 20 0d | 0a 66 65 61 74 75 72 65 | fully .|.feature|
|00000ff0| 64 20 65 64 69 74 6f 72 | 20 77 69 74 68 20 73 6f |d editor| with so|
|00001000| 6d 65 20 76 65 72 79 20 | 70 6f 77 65 72 66 75 6c |me very |powerful|
|00001010| 20 63 61 70 61 62 69 6c | 69 74 69 65 73 2e 20 4f | capabil|ities. O|
|00001020| 72 64 69 6e 61 72 79 20 | 6f 70 65 72 61 74 69 6f |rdinary |operatio|
|00001030| 6e 20 0d 0a 73 68 6f 75 | 6c 64 2c 20 68 6f 77 65 |n ..shou|ld, howe|
|00001040| 76 65 72 2c 20 62 65 20 | 76 65 72 79 20 69 6e 74 |ver, be |very int|
|00001050| 75 69 74 69 76 65 2e 20 | 46 6f 72 20 61 20 64 65 |uitive. |For a de|
|00001060| 73 63 72 69 70 74 69 6f | 6e 20 6f 66 20 74 68 65 |scriptio|n of the|
|00001070| 20 74 65 78 74 20 65 64 | 69 74 6f 72 20 0d 0a 63 | text ed|itor ..c|
|00001080| 6f 6d 70 6f 6e 65 6e 74 | 20 6f 66 20 53 70 6c 6f |omponent| of Splo|
|00001090| 74 20 72 65 66 65 72 20 | 74 6f 20 43 68 61 70 74 |t refer |to Chapt|
|000010a0| 65 72 20 5c 72 65 66 7b | 63 68 61 70 3a 65 64 69 |er \ref{|chap:edi|
|000010b0| 74 7d 2e 20 4f 6e 6c 79 | 20 61 20 62 72 69 65 66 |t}. Only| a brief|
|000010c0| 20 0d 0a 69 6e 74 72 6f | 64 75 63 74 69 6f 6e 20 | ..intro|duction |
|000010d0| 74 6f 20 67 69 76 65 20 | 79 6f 75 20 74 68 65 20 |to give |you the |
|000010e0| 62 61 73 69 63 73 20 74 | 6f 20 67 65 74 20 67 6f |basics t|o get go|
|000010f0| 69 6e 67 20 69 73 20 70 | 72 65 73 65 6e 74 65 64 |ing is p|resented|
|00001100| 20 68 65 72 65 2e 20 54 | 68 65 20 0d 0a 74 65 78 | here. T|he ..tex|
|00001110| 74 20 63 75 72 73 6f 72 | 20 72 65 70 72 65 73 65 |t cursor| represe|
|00001120| 6e 74 65 64 20 62 79 20 | 61 6e 20 75 6e 64 65 72 |nted by |an under|
|00001130| 73 63 6f 72 65 20 69 6e | 20 74 68 65 20 74 65 78 |score in| the tex|
|00001140| 74 20 77 69 6e 64 6f 77 | 20 63 61 6e 20 62 65 20 |t window| can be |
|00001150| 6d 6f 76 65 64 20 0d 0a | 75 73 69 6e 67 20 74 68 |moved ..|using th|
|00001160| 65 20 61 72 72 6f 77 20 | 6b 65 79 20 70 61 64 20 |e arrow |key pad |
|00001170| 6f 72 20 74 68 65 20 6d | 6f 75 73 65 2e 20 43 6c |or the m|ouse. Cl|
|00001180| 69 63 6b 69 6e 67 20 74 | 68 65 20 6c 65 66 74 20 |icking t|he left |
|00001190| 6d 6f 75 73 65 5c 69 6e | 64 65 78 7b 75 73 69 6e |mouse\in|dex{usin|
|000011a0| 67 20 6d 6f 75 73 65 7d | 20 0d 0a 62 75 74 74 6f |g mouse}| ..butto|
|000011b0| 6e 20 70 6f 73 69 74 69 | 6f 6e 73 20 74 68 65 20 |n positi|ons the |
|000011c0| 74 65 78 74 20 63 75 72 | 73 6f 72 20 61 74 20 74 |text cur|sor at t|
|000011d0| 68 65 20 6d 6f 75 73 65 | 20 63 75 72 73 6f 72 20 |he mouse| cursor |
|000011e0| 6c 6f 63 61 74 69 6f 6e | 2e 20 53 63 72 6f 6c 6c |location|. Scroll|
|000011f0| 69 6e 67 20 69 73 20 0d | 0a 61 63 63 6f 6d 70 6c |ing is .|.accompl|
|00001200| 69 73 68 65 64 20 77 69 | 74 68 20 74 68 65 20 70 |ished wi|th the p|
|00001210| 61 67 65 20 75 70 2f 64 | 6f 77 6e 20 6b 65 79 73 |age up/d|own keys|
|00001220| 20 6f 72 20 62 79 20 63 | 6c 69 63 6b 69 6e 67 20 | or by c|licking |
|00001230| 6f 6e 20 74 68 65 20 73 | 63 72 6f 6c 6c 20 66 69 |on the s|croll fi|
|00001240| 65 6c 64 73 20 0d 0a 61 | 6c 6f 6e 67 20 74 68 65 |elds ..a|long the|
|00001250| 20 72 69 67 68 74 20 73 | 69 64 65 20 6f 66 20 74 | right s|ide of t|
|00001260| 68 65 20 74 65 78 74 20 | 77 69 6e 64 6f 77 2e 20 |he text |window. |
|00001270| 41 20 66 69 6c 65 20 69 | 73 20 77 72 69 74 74 65 |A file i|s writte|
|00001280| 6e 20 74 6f 20 64 69 73 | 6b 20 77 69 74 68 20 74 |n to dis|k with t|
|00001290| 68 65 20 0d 0a 6e 61 6d | 65 20 73 70 65 63 69 66 |he ..nam|e specif|
|000012a0| 69 65 64 20 6f 6e 20 74 | 68 65 20 68 69 67 68 6c |ied on t|he highl|
|000012b0| 69 67 68 74 65 64 20 73 | 74 61 74 75 73 20 6c 69 |ighted s|tatus li|
|000012c0| 6e 65 20 61 74 20 74 68 | 65 20 62 6f 74 74 6f 6d |ne at th|e bottom|
|000012d0| 20 6f 66 20 74 68 65 20 | 74 65 78 74 20 0d 0a 77 | of the |text ..w|
|000012e0| 69 6e 64 6f 77 20 77 69 | 74 68 20 61 20 43 54 52 |indow wi|th a CTR|
|000012f0| 4c 20 57 20 28 77 72 69 | 74 65 29 5c 69 6e 64 65 |L W (wri|te)\inde|
|00001300| 78 7b 73 61 76 69 6e 67 | 20 66 69 6c 65 7d 20 63 |x{saving| file} c|
|00001310| 6f 6d 6d 61 6e 64 20 28 | 6f 72 20 75 73 65 20 74 |ommand (|or use t|
|00001320| 68 65 20 73 61 76 65 20 | 0d 0a 6d 65 6e 75 20 69 |he save |..menu i|
|00001330| 74 65 6d 29 2e 20 54 6f | 20 72 65 6d 6f 76 65 20 |tem). To| remove |
|00001340| 61 20 66 69 6c 65 20 75 | 73 65 20 74 68 65 20 43 |a file u|se the C|
|00001350| 54 52 4c 20 51 20 28 71 | 75 69 74 29 5c 69 6e 64 |TRL Q (q|uit)\ind|
|00001360| 65 78 7b 65 78 69 74 69 | 6e 67 20 70 72 6f 67 72 |ex{exiti|ng progr|
|00001370| 61 6d 7d 20 0d 0a 63 6f | 6d 6d 61 6e 64 20 28 6f |am} ..co|mmand (o|
|00001380| 72 20 75 73 65 20 74 68 | 65 20 71 75 69 74 20 6d |r use th|e quit m|
|00001390| 65 6e 75 20 69 74 65 6d | 29 2e 20 53 70 6c 6f 74 |enu item|). Splot|
|000013a0| 20 69 74 73 65 6c 66 20 | 74 65 72 6d 69 6e 61 74 | itself |terminat|
|000013b0| 65 73 20 77 68 65 6e 20 | 74 68 65 20 6c 61 73 74 |es when |the last|
|000013c0| 20 0d 0a 66 69 6c 65 20 | 69 73 20 72 65 6d 6f 76 | ..file |is remov|
|000013d0| 65 64 2e 20 54 6f 20 61 | 64 64 20 61 20 6e 65 77 |ed. To a|dd a new|
|000013e0| 20 66 69 6c 65 20 74 6f | 20 74 68 65 20 72 69 6e | file to| the rin|
|000013f0| 67 20 6f 66 20 66 69 6c | 65 73 20 74 6f 20 62 65 |g of fil|es to be|
|00001400| 20 65 64 69 74 65 64 20 | 6f 72 20 0d 0a 65 78 65 | edited |or ..exe|
|00001410| 63 75 74 65 64 20 74 79 | 70 65 20 7b 5c 74 74 20 |cuted ty|pe {\tt |
|00001420| 27 24 3c 24 65 73 63 24 | 3e 24 20 65 20 66 69 6c |'$<$esc$|>$ e fil|
|00001430| 65 2e 6e 61 6d 27 7d 20 | 77 68 65 72 65 20 66 69 |e.nam'} |where fi|
|00001440| 6c 65 2e 6e 61 6d 20 69 | 73 20 74 68 65 20 6e 61 |le.nam i|s the na|
|00001450| 6d 65 20 6f 66 20 0d 0a | 74 68 65 20 64 65 73 69 |me of ..|the desi|
|00001460| 72 65 64 20 66 69 6c 65 | 20 6f 72 20 73 65 6c 65 |red file| or sele|
|00001470| 63 74 20 74 68 65 20 6f | 70 65 6e 20 6d 65 6e 75 |ct the o|pen menu|
|00001480| 20 69 74 65 6d 2e 20 0d | 0a 0d 0a 0d 0a 5c 73 75 | item. .|.....\su|
|00001490| 62 73 65 63 74 69 6f 6e | 7b 4d 61 6b 69 6e 67 20 |bsection|{Making |
|000014a0| 61 20 44 72 61 77 69 6e | 67 7d 5c 69 6e 64 65 78 |a Drawin|g}\index|
|000014b0| 7b 6d 61 6b 69 6e 67 20 | 61 20 64 72 61 77 69 6e |{making |a drawin|
|000014c0| 67 7d 0d 0a 0d 0a 20 20 | 20 20 20 20 20 20 49 6e |g}.... | In|
|000014d0| 20 6f 72 64 65 72 20 74 | 6f 20 6d 61 6b 65 20 61 | order t|o make a|
|000014e0| 20 64 72 61 77 69 6e 67 | 20 69 74 20 69 73 20 75 | drawing| it is u|
|000014f0| 73 65 66 75 6c 20 74 6f | 20 75 6e 64 65 72 73 74 |seful to| underst|
|00001500| 61 6e 64 20 74 68 65 20 | 0d 0a 75 6e 64 65 72 6c |and the |..underl|
|00001510| 79 69 6e 67 20 70 68 69 | 6c 6f 73 6f 70 68 79 20 |ying phi|losophy |
|00001520| 77 68 69 63 68 20 69 73 | 20 62 61 73 65 64 20 6f |which is| based o|
|00001530| 6e 20 74 68 65 20 70 6f | 73 74 73 63 72 69 70 74 |n the po|stscript|
|00001540| 5c 69 6e 64 65 78 7b 70 | 6f 73 74 73 63 72 69 70 |\index{p|ostscrip|
|00001550| 74 7d 20 0d 0a 69 6d 61 | 67 69 6e 67 20 6d 6f 64 |t} ..ima|ging mod|
|00001560| 65 6c 2e 20 41 20 76 65 | 72 79 20 62 72 69 65 66 |el. A ve|ry brief|
|00001570| 20 69 6e 74 72 6f 64 75 | 63 74 69 6f 6e 20 74 6f | introdu|ction to|
|00001580| 20 74 68 65 20 70 6f 73 | 74 73 63 72 69 70 74 20 | the pos|tscript |
|00001590| 69 6d 61 67 69 6e 67 20 | 6d 6f 64 65 6c 20 0d 0a |imaging |model ..|
|000015a0| 77 69 6c 6c 20 62 65 20 | 70 72 65 73 65 6e 74 65 |will be |presente|
|000015b0| 64 20 68 65 72 65 2e 20 | 54 6f 20 6d 61 6b 65 20 |d here. |To make |
|000015c0| 61 20 70 6f 73 74 73 63 | 72 69 70 74 20 6c 69 6b |a postsc|ript lik|
|000015d0| 65 20 64 72 61 77 69 6e | 67 20 69 74 20 69 73 20 |e drawin|g it is |
|000015e0| 66 69 72 73 74 20 0d 0a | 6e 65 63 65 73 73 61 72 |first ..|necessar|
|000015f0| 79 20 74 6f 20 67 65 6e | 65 72 61 74 65 20 61 20 |y to gen|erate a |
|00001600| 63 75 72 72 65 6e 74 20 | 70 61 74 68 5c 69 6e 64 |current |path\ind|
|00001610| 65 78 7b 70 61 74 68 7d | 2e 20 41 20 70 61 74 68 |ex{path}|. A path|
|00001620| 20 69 73 20 62 75 69 6c | 74 20 75 73 69 6e 67 20 | is buil|t using |
|00001630| 0d 0a 66 75 6e 63 74 69 | 6f 6e 73 20 73 75 63 68 |..functi|ons such|
|00001640| 20 61 73 20 7b 5c 74 74 | 20 6d 6f 76 65 74 6f 28 | as {\tt| moveto(|
|00001650| 78 31 2c 79 31 29 3b 7d | 5c 69 6e 64 65 78 7b 6d |x1,y1);}|\index{m|
|00001660| 6f 76 65 74 6f 7d 20 61 | 6e 64 20 7b 5c 74 74 20 |oveto} a|nd {\tt |
|00001670| 6c 69 6e 65 74 6f 28 78 | 32 2c 79 32 20 0d 0a 29 |lineto(x|2,y2 ..)|
|00001680| 3b 7d 5c 69 6e 64 65 78 | 7b 6c 69 6e 65 74 6f 7d |;}\index|{lineto}|
|00001690| 2e 20 54 68 65 73 65 20 | 66 75 6e 63 74 69 6f 6e |. These |function|
|000016a0| 73 20 62 79 20 74 68 65 | 6d 73 65 6c 76 65 73 20 |s by the|mselves |
|000016b0| 64 6f 20 6e 6f 74 20 63 | 61 75 73 65 20 61 6e 79 |do not c|ause any|
|000016c0| 74 68 69 6e 67 20 74 6f | 20 0d 0a 61 70 70 65 61 |thing to| ..appea|
|000016d0| 72 20 6f 6e 20 74 68 65 | 20 70 61 67 65 2e 20 4f |r on the| page. O|
|000016e0| 6e 63 65 20 61 20 63 75 | 72 72 65 6e 74 20 70 61 |nce a cu|rrent pa|
|000016f0| 74 68 20 69 73 20 73 70 | 65 63 69 66 69 65 64 20 |th is sp|ecified |
|00001700| 74 68 65 6e 20 69 74 20 | 63 61 6e 20 62 65 20 0d |then it |can be .|
|00001710| 0a 73 74 72 6f 6b 65 64 | 5c 69 6e 64 65 78 7b 73 |.stroked|\index{s|
|00001720| 74 72 6f 6b 65 7d 20 6f | 72 20 66 69 6c 6c 65 64 |troke} o|r filled|
|00001730| 5c 69 6e 64 65 78 7b 66 | 69 6c 6c 7d 2e 20 41 20 |\index{f|ill}. A |
|00001740| 70 61 74 68 20 69 73 20 | 73 74 72 6f 6b 65 64 20 |path is |stroked |
|00001750| 74 6f 20 74 68 65 20 70 | 61 67 65 20 0d 0a 75 73 |to the p|age ..us|
|00001760| 69 6e 67 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |ing the |current |
|00001770| 6c 69 6e 65 20 77 69 64 | 74 68 2c 20 73 74 79 6c |line wid|th, styl|
|00001780| 65 2c 20 61 6e 64 20 63 | 6f 6c 6f 75 72 20 77 69 |e, and c|olour wi|
|00001790| 74 68 20 74 68 65 20 7b | 5c 74 74 20 73 74 72 6f |th the {|\tt stro|
|000017a0| 6b 65 28 29 3b 7d 20 0d | 0a 66 75 6e 63 74 69 6f |ke();} .|.functio|
|000017b0| 6e 2e 20 54 68 69 73 20 | 66 75 6e 63 74 69 6f 6e |n. This |function|
|000017c0| 20 61 6c 73 6f 20 72 65 | 73 65 74 73 20 74 68 65 | also re|sets the|
|000017d0| 20 63 75 72 72 65 6e 74 | 20 70 61 74 68 20 74 6f | current| path to|
|000017e0| 20 6e 75 6c 6c 2e 20 54 | 68 65 20 63 75 72 72 65 | null. T|he curre|
|000017f0| 6e 74 20 0d 0a 76 61 6c | 75 65 73 20 6f 66 20 77 |nt ..val|ues of w|
|00001800| 69 64 74 68 20 65 74 63 | 2e 20 61 72 65 20 73 65 |idth etc|. are se|
|00001810| 74 5c 69 6e 64 65 78 7b | 73 65 74 20 66 75 6e 63 |t\index{|set func|
|00001820| 74 69 6f 6e 7d 20 75 73 | 69 6e 67 20 74 68 65 20 |tion} us|ing the |
|00001830| 7b 5c 74 74 20 0d 0a 73 | 65 74 28 61 74 74 72 69 |{\tt ..s|et(attri|
|00001840| 62 75 74 65 2c 76 61 6c | 75 65 29 3b 7d 20 66 75 |bute,val|ue);} fu|
|00001850| 6e 63 74 69 6f 6e 20 77 | 65 72 65 20 69 74 20 69 |nction w|ere it i|
|00001860| 73 20 61 64 76 69 73 61 | 62 6c 65 20 74 6f 20 75 |s advisa|ble to u|
|00001870| 73 65 20 74 68 65 20 70 | 72 65 64 65 66 69 6e 65 |se the p|redefine|
|00001880| 64 20 0d 0a 76 61 6c 75 | 65 73 20 69 6e 20 73 70 |d ..valu|es in sp|
|00001890| 6c 6f 74 2e 68 20 66 6f | 72 20 74 68 65 20 61 74 |lot.h fo|r the at|
|000018a0| 74 72 69 62 75 74 65 73 | 20 61 6e 64 20 76 61 6c |tributes| and val|
|000018b0| 75 65 73 20 74 6f 20 69 | 6d 70 72 6f 76 65 20 72 |ues to i|mprove r|
|000018c0| 65 61 64 61 62 69 6c 69 | 74 79 20 6f 66 20 0d 0a |eadabili|ty of ..|
|000018d0| 74 68 65 20 63 6f 64 65 | 20 28 54 68 65 20 65 61 |the code| (The ea|
|000018e0| 73 69 65 73 74 20 74 68 | 69 6e 67 20 69 73 20 74 |siest th|ing is t|
|000018f0| 6f 20 73 65 6c 65 63 74 | 20 74 68 65 6d 20 66 72 |o select| them fr|
|00001900| 6f 6d 20 74 68 65 20 70 | 75 6c 6c 20 64 6f 77 6e |om the p|ull down|
|00001910| 20 6d 65 6e 75 29 2e 20 | 0d 0a 41 6c 74 65 72 6e | menu). |..Altern|
|00001920| 61 74 69 76 65 6c 79 20 | 61 20 63 6c 6f 73 65 64 |atively |a closed|
|00001930| 20 63 75 72 72 65 6e 74 | 20 70 61 74 68 20 63 61 | current| path ca|
|00001940| 6e 20 62 65 20 66 69 6c | 6c 65 64 20 77 69 74 68 |n be fil|led with|
|00001950| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 63 6f 6c | the cur|rent col|
|00001960| 6f 75 72 20 0d 0a 75 73 | 69 6e 67 20 74 68 65 20 |our ..us|ing the |
|00001970| 7b 5c 74 74 20 66 69 6c | 6c 28 29 3b 7d 20 63 6f |{\tt fil|l();} co|
|00001980| 6d 6d 61 6e 64 2e 20 54 | 68 69 73 20 61 6c 73 6f |mmand. T|his also|
|00001990| 20 72 65 73 65 74 73 20 | 74 68 65 20 63 75 72 72 | resets |the curr|
|000019a0| 65 6e 74 20 70 61 74 68 | 20 74 6f 20 6e 75 6c 6c |ent path| to null|
|000019b0| 2e 20 0d 0a 41 74 20 74 | 68 69 73 20 70 6f 69 6e |. ..At t|his poin|
|000019c0| 74 20 61 20 76 69 72 74 | 75 61 6c 20 70 61 67 65 |t a virt|ual page|
|000019d0| 20 69 6e 20 6d 65 6d 6f | 72 79 20 68 61 73 20 62 | in memo|ry has b|
|000019e0| 65 65 6e 20 6d 61 72 6b | 65 64 20 62 75 74 20 74 |een mark|ed but t|
|000019f0| 68 65 20 61 63 74 75 61 | 6c 20 0d 0a 70 68 79 73 |he actua|l ..phys|
|00001a00| 69 63 61 6c 20 70 61 67 | 65 20 68 61 73 20 6e 6f |ical pag|e has no|
|00001a10| 74 20 79 65 74 20 62 65 | 65 6e 20 61 66 66 65 63 |t yet be|en affec|
|00001a20| 74 65 64 2e 20 54 68 69 | 73 20 61 6c 6c 6f 77 73 |ted. Thi|s allows|
|00001a30| 20 73 75 62 73 65 71 75 | 65 6e 74 20 64 72 61 77 | subsequ|ent draw|
|00001a40| 69 6e 67 20 0d 0a 63 6f | 6d 6d 61 6e 64 73 20 74 |ing ..co|mmands t|
|00001a50| 6f 20 64 72 61 77 20 6f | 76 65 72 20 77 68 61 74 |o draw o|ver what|
|00001a60| 20 69 73 20 61 6c 72 65 | 61 64 79 20 74 68 65 72 | is alre|ady ther|
|00001a70| 65 2e 20 54 68 65 20 22 | 70 61 69 6e 74 22 20 69 |e. The "|paint" i|
|00001a80| 73 20 69 6e 20 65 66 66 | 65 63 74 20 0d 0a 6f 70 |s in eff|ect ..op|
|00001a90| 61 71 75 65 2e 20 54 68 | 69 73 20 6d 65 61 6e 73 |aque. Th|is means|
|00001aa0| 20 74 68 61 74 20 69 74 | 20 69 73 20 70 6f 73 73 | that it| is poss|
|00001ab0| 69 62 6c 65 20 74 6f 20 | 64 72 61 77 20 6f 76 65 |ible to |draw ove|
|00001ac0| 72 20 73 6f 6d 65 74 68 | 69 6e 67 20 77 69 74 68 |r someth|ing with|
|00001ad0| 20 74 68 65 20 0d 0a 63 | 6f 6c 6f 75 72 20 73 65 | the ..c|olour se|
|00001ae0| 74 20 74 6f 20 77 68 69 | 74 65 20 61 6e 64 20 69 |t to whi|te and i|
|00001af0| 6e 20 65 66 66 65 63 74 | 20 77 68 69 74 65 20 69 |n effect| white i|
|00001b00| 74 20 6f 75 74 5c 69 6e | 64 65 78 7b 77 68 69 74 |t out\in|dex{whit|
|00001b10| 65 20 6f 75 74 7d 2e 20 | 54 68 69 73 20 63 61 6e |e out}. |This can|
|00001b20| 20 0d 0a 62 65 20 70 75 | 74 20 74 6f 20 67 6f 6f | ..be pu|t to goo|
|00001b30| 64 20 75 73 65 20 66 6f | 72 20 66 69 78 69 6e 67 |d use fo|r fixing|
|00001b40| 20 62 6c 65 6d 69 73 68 | 65 73 20 61 73 20 73 68 | blemish|es as sh|
|00001b50| 6f 77 6e 20 69 6e 20 73 | 6f 6d 65 20 6f 66 20 74 |own in s|ome of t|
|00001b60| 68 65 20 65 78 61 6d 70 | 6c 65 20 0d 0a 66 69 6c |he examp|le ..fil|
|00001b70| 65 73 2e 20 54 68 65 20 | 76 69 72 74 75 61 6c 20 |es. The |virtual |
|00001b80| 70 61 67 65 20 69 73 20 | 74 72 61 6e 73 66 65 72 |page is |transfer|
|00001b90| 72 65 64 20 74 6f 20 74 | 68 65 20 70 68 79 73 69 |red to t|he physi|
|00001ba0| 63 61 6c 20 70 61 67 65 | 20 75 73 69 6e 67 20 74 |cal page| using t|
|00001bb0| 68 65 20 7b 5c 74 74 20 | 0d 0a 73 68 6f 77 70 61 |he {\tt |..showpa|
|00001bc0| 67 65 28 29 3b 7d 5c 69 | 6e 64 65 78 7b 73 68 6f |ge();}\i|ndex{sho|
|00001bd0| 77 70 61 67 65 7d 20 6f | 72 20 66 75 6e 63 74 69 |wpage} o|r functi|
|00001be0| 6f 6e 20 6f 72 20 61 74 | 20 74 68 65 20 65 6e 64 |on or at| the end|
|00001bf0| 20 6f 66 20 66 69 6c 65 | 20 65 78 65 63 75 74 69 | of file| executi|
|00001c00| 6f 6e 20 62 79 20 0d 0a | 64 65 66 61 75 6c 74 2e |on by ..|default.|
|00001c10| 20 48 6f 77 65 76 65 72 | 2c 20 6f 6e 6c 79 20 74 | However|, only t|
|00001c20| 68 69 6e 67 73 20 77 69 | 74 68 69 6e 20 74 68 65 |hings wi|thin the|
|00001c30| 20 63 75 72 72 65 6e 74 | 20 63 6c 69 70 5c 69 6e | current| clip\in|
|00001c40| 64 65 78 7b 63 6c 69 70 | 7d 20 77 69 6e 64 6f 77 |dex{clip|} window|
|00001c50| 20 0d 0a 61 72 65 20 74 | 72 61 6e 73 66 65 72 72 | ..are t|ransferr|
|00001c60| 65 64 20 74 6f 20 74 68 | 65 20 70 68 79 73 69 63 |ed to th|e physic|
|00001c70| 61 6c 20 70 61 67 65 2e | 20 54 68 65 20 63 72 75 |al page.| The cru|
|00001c80| 63 69 61 6c 20 70 6f 69 | 6e 74 73 20 74 6f 20 72 |cial poi|nts to r|
|00001c90| 65 6d 65 6d 62 65 72 20 | 61 72 65 20 0d 0a 74 68 |emember |are ..th|
|00001ca0| 61 74 20 69 6e 20 6f 72 | 64 65 72 20 74 6f 20 73 |at in or|der to s|
|00001cb0| 65 65 20 61 6e 79 74 68 | 69 6e 67 20 6f 6e 20 74 |ee anyth|ing on t|
|00001cc0| 68 65 20 70 68 79 73 69 | 63 61 6c 20 70 61 67 65 |he physi|cal page|
|00001cd0| 20 28 65 69 74 68 65 72 | 20 6f 6e 20 74 68 65 20 | (either| on the |
|00001ce0| 73 63 72 65 65 6e 20 6f | 72 20 0d 0a 61 20 70 72 |screen o|r ..a pr|
|00001cf0| 69 6e 74 65 72 20 70 61 | 67 65 29 20 61 20 70 61 |inter pa|ge) a pa|
|00001d00| 74 68 20 6d 75 73 74 20 | 66 69 72 73 74 20 62 65 |th must |first be|
|00001d10| 20 73 74 72 6f 6b 65 64 | 20 6f 72 20 66 69 6c 6c | stroked| or fill|
|00001d20| 65 64 20 61 6e 64 20 74 | 68 65 6e 20 66 69 6e 61 |ed and t|hen fina|
|00001d30| 6c 6c 79 20 0d 0a 74 72 | 61 6e 73 66 65 72 72 65 |lly ..tr|ansferre|
|00001d40| 64 20 75 73 69 6e 67 20 | 7b 5c 74 74 20 73 68 6f |d using |{\tt sho|
|00001d50| 77 70 61 67 65 28 29 3b | 7d 2e 20 54 68 69 73 20 |wpage();|}. This |
|00001d60| 69 6d 61 67 69 6e 67 20 | 6d 6f 64 65 6c 20 69 73 |imaging |model is|
|00001d70| 20 76 65 72 79 20 70 6f | 77 65 72 66 75 6c 20 0d | very po|werful .|
|00001d80| 0a 61 6e 64 20 61 6c 6c | 6f 77 73 20 65 73 73 65 |.and all|ows esse|
|00001d90| 6e 74 69 61 6c 6c 79 20 | 61 6e 79 74 68 69 6e 67 |ntially |anything|
|00001da0| 20 74 6f 20 62 65 20 64 | 72 61 77 6e 20 67 69 76 | to be d|rawn giv|
|00001db0| 65 6e 20 74 68 65 20 61 | 20 73 75 69 74 65 20 6f |en the a| suite o|
|00001dc0| 66 20 70 61 74 68 20 0d | 0a 62 75 69 6c 64 69 6e |f path .|.buildin|
|00001dd0| 67 20 66 75 6e 63 74 69 | 6f 6e 73 2e 20 4d 6f 72 |g functi|ons. Mor|
|00001de0| 65 20 64 65 74 61 69 6c | 73 20 6f 6e 20 74 68 65 |e detail|s on the|
|00001df0| 73 65 20 61 6e 64 20 6f | 74 68 65 72 20 70 6f 73 |se and o|ther pos|
|00001e00| 74 73 63 72 69 70 74 20 | 69 73 73 75 65 73 20 63 |tscript |issues c|
|00001e10| 61 6e 20 0d 0a 62 65 20 | 66 6f 75 6e 64 20 69 6e |an ..be |found in|
|00001e20| 20 61 20 73 74 61 6e 64 | 61 72 64 20 70 6f 73 74 | a stand|ard post|
|00001e30| 73 63 72 69 70 74 20 72 | 65 66 65 72 65 6e 63 65 |script r|eference|
|00001e40| 2e 20 0d 0a 0d 0a 5c 73 | 75 62 73 65 63 74 69 6f |. ....\s|ubsectio|
|00001e50| 6e 7b 4d 61 6b 69 6e 67 | 20 50 6c 6f 74 73 7d 5c |n{Making| Plots}\|
|00001e60| 69 6e 64 65 78 7b 64 61 | 74 61 2c 20 70 6c 6f 74 |index{da|ta, plot|
|00001e70| 74 69 6e 67 7d 0d 0a 0d | 0a 20 20 20 20 20 20 20 |ting}...|. |
|00001e80| 20 53 70 6c 6f 74 20 61 | 6c 73 6f 20 63 6f 6e 74 | Splot a|lso cont|
|00001e90| 61 69 6e 73 20 73 6f 6d | 65 20 63 75 73 74 6f 6d |ains som|e custom|
|00001ea0| 20 66 75 6e 63 74 69 6f | 6e 73 20 73 70 65 63 69 | functio|ns speci|
|00001eb0| 61 6c 69 7a 65 64 20 66 | 6f 72 20 0d 0a 67 65 6e |alized f|or ..gen|
|00001ec0| 65 72 61 74 69 6e 67 20 | 73 63 69 65 6e 74 69 66 |erating |scientif|
|00001ed0| 69 63 20 70 6c 6f 74 73 | 2e 20 54 68 65 73 65 2c |ic plots|. These,|
|00001ee0| 20 73 75 63 68 20 61 73 | 20 7b 5c 74 74 20 70 6c | such as| {\tt pl|
|00001ef0| 6f 74 64 61 74 61 28 20 | 0d 0a 29 3b 7d 5c 69 6e |otdata( |..);}\in|
|00001f00| 64 65 78 7b 70 6c 6f 74 | 64 61 74 61 7d 2c 20 64 |dex{plot|data}, d|
|00001f10| 65 70 61 72 74 20 66 72 | 6f 6d 20 74 68 65 20 70 |epart fr|om the p|
|00001f20| 6f 73 74 73 63 72 69 70 | 74 20 6d 6f 64 65 6c 20 |ostscrip|t model |
|00001f30| 69 6e 20 74 68 65 20 73 | 65 6e 73 65 20 74 68 61 |in the s|ense tha|
|00001f40| 74 20 0d 0a 74 68 65 79 | 20 61 72 65 20 69 6d 70 |t ..they| are imp|
|00001f50| 6c 69 63 69 74 6c 79 20 | 73 74 72 6f 6b 65 64 5c |licitly |stroked\|
|00001f60| 69 6e 64 65 78 7b 69 6d | 70 6c 69 63 69 74 20 73 |index{im|plicit s|
|00001f70| 74 72 6f 6b 69 6e 67 7d | 2e 20 49 6d 70 6c 69 63 |troking}|. Implic|
|00001f80| 69 74 6c 79 20 73 74 72 | 6f 6b 65 64 20 0d 0a 66 |itly str|oked ..f|
|00001f90| 75 6e 63 74 69 6f 6e 73 | 20 64 6f 20 6e 6f 74 20 |unctions| do not |
|00001fa0| 72 65 71 75 69 72 65 20 | 61 20 7b 5c 74 74 20 73 |require |a {\tt s|
|00001fb0| 74 72 6f 6b 65 28 29 3b | 7d 20 69 6e 20 6f 72 64 |troke();|} in ord|
|00001fc0| 65 72 20 74 6f 20 6d 61 | 72 6b 20 74 68 65 20 70 |er to ma|rk the p|
|00001fd0| 61 67 65 2e 20 49 74 20 | 69 73 20 0d 0a 70 6f 73 |age. It |is ..pos|
|00001fe0| 73 69 62 6c 65 20 74 6f | 20 6f 76 65 72 72 69 64 |sible to| overrid|
|00001ff0| 65 20 69 6d 70 6c 69 63 | 69 74 20 73 74 72 6f 6b |e implic|it strok|
|00002000| 69 6e 67 20 62 79 20 73 | 74 61 72 74 69 6e 67 20 |ing by s|tarting |
|00002010| 77 69 74 68 20 61 20 7b | 5c 74 74 20 6e 65 77 70 |with a {|\tt newp|
|00002020| 61 74 68 28 20 0d 0a 29 | 3b 7d 5c 69 6e 64 65 78 |ath( ..)|;}\index|
|00002030| 7b 6e 65 77 70 61 74 68 | 7d 20 63 6f 6d 6d 61 6e |{newpath|} comman|
|00002040| 64 2e 20 0d 0a 0d 0a 20 | 20 20 20 20 20 20 20 54 |d. .... | T|
|00002050| 68 65 72 65 20 69 73 20 | 61 20 66 75 6e 63 74 69 |here is |a functi|
|00002060| 6f 6e 20 63 61 6c 6c 65 | 64 20 7b 5c 74 74 20 72 |on calle|d {\tt r|
|00002070| 65 61 64 64 61 74 61 28 | 29 3b 7d 5c 69 6e 64 65 |eaddata(|);}\inde|
|00002080| 78 7b 72 65 61 64 64 61 | 74 61 7d 20 77 68 69 63 |x{readda|ta} whic|
|00002090| 68 20 0d 0a 72 65 61 64 | 73 20 69 6e 20 74 61 62 |h ..read|s in tab|
|000020a0| 75 6c 61 72 20 64 61 74 | 61 5c 69 6e 64 65 78 7b |ular dat|a\index{|
|000020b0| 64 61 74 61 2c 20 66 69 | 6c 65 7d 20 66 72 6f 6d |data, fi|le} from|
|000020c0| 20 61 20 64 61 74 61 20 | 66 69 6c 65 20 69 6e 74 | a data |file int|
|000020d0| 6f 20 61 6e 20 61 72 72 | 61 79 2e 20 54 68 65 20 |o an arr|ay. The |
|000020e0| 0d 0a 64 61 74 61 20 66 | 69 6c 65 20 6d 75 73 74 |..data f|ile must|
|000020f0| 20 62 65 20 69 6e 20 41 | 53 43 49 49 20 66 6f 72 | be in A|SCII for|
|00002100| 6d 61 74 20 77 69 74 68 | 20 6f 6e 65 20 6c 69 6e |mat with| one lin|
|00002110| 65 20 70 65 72 20 64 61 | 74 61 20 70 6f 69 6e 74 |e per da|ta point|
|00002120| 20 77 69 74 68 20 74 68 | 65 20 78 2c 20 0d 0a 79 | with th|e x, ..y|
|00002130| 20 61 6e 64 20 6f 70 74 | 69 6f 6e 61 6c 20 65 72 | and opt|ional er|
|00002140| 72 6f 72 20 76 61 6c 75 | 65 73 20 65 61 63 68 20 |ror valu|es each |
|00002150| 69 6e 20 73 65 70 61 72 | 61 74 65 20 63 6f 6c 75 |in separ|ate colu|
|00002160| 6d 6e 73 5c 69 6e 64 65 | 78 7b 65 72 72 6f 72 20 |mns\inde|x{error |
|00002170| 62 61 72 73 7d 2e 20 0d | 0a 54 68 69 73 20 64 61 |bars}. .|.This da|
|00002180| 74 61 20 63 61 6e 20 74 | 68 65 6e 20 62 65 20 64 |ta can t|hen be d|
|00002190| 72 61 77 6e 20 69 6e 73 | 69 64 65 20 61 6e 20 61 |rawn ins|ide an a|
|000021a0| 78 65 73 20 62 6f 78 5c | 69 6e 64 65 78 7b 61 78 |xes box\|index{ax|
|000021b0| 65 73 20 62 6f 78 7d 20 | 75 73 69 6e 67 20 7b 5c |es box} |using {\|
|000021c0| 74 74 20 0d 0a 70 6c 6f | 74 64 61 74 61 28 29 3b |tt ..plo|tdata();|
|000021d0| 7d 20 69 66 20 74 68 65 | 20 64 65 66 61 75 6c 74 |} if the| default|
|000021e0| 20 74 69 63 6b 20 70 6f | 73 69 74 69 6f 6e 73 2c | tick po|sitions,|
|000021f0| 20 73 69 7a 65 20 61 6e | 64 20 6c 61 62 65 6c 6c | size an|d labell|
|00002200| 69 6e 67 20 61 72 65 20 | 0d 0a 61 63 63 65 70 74 |ing are |..accept|
|00002210| 61 62 6c 65 2e 20 41 6c | 74 65 72 6e 61 74 69 76 |able. Al|ternativ|
|00002220| 65 6c 79 2c 20 63 75 73 | 74 6f 6d 20 61 78 65 73 |ely, cus|tom axes|
|00002230| 20 62 6f 78 65 73 2c 20 | 74 69 63 6b 20 6d 61 72 | boxes, |tick mar|
|00002240| 6b 73 20 61 6e 64 20 6c | 61 62 65 6c 73 20 63 61 |ks and l|abels ca|
|00002250| 6e 20 62 65 20 0d 0a 67 | 65 6e 65 72 61 74 65 64 |n be ..g|enerated|
|00002260| 20 75 73 69 6e 67 20 74 | 68 65 20 7b 5c 74 74 20 | using t|he {\tt |
|00002270| 61 78 65 73 5c 5f 62 6f | 78 28 29 3b 7d 2c 20 7b |axes\_bo|x();}, {|
|00002280| 5c 74 74 20 0d 0a 74 69 | 63 6b 6d 61 72 6b 73 28 |\tt ..ti|ckmarks(|
|00002290| 29 3b 7d 5c 69 6e 64 65 | 78 7b 74 69 63 6b 6d 61 |);}\inde|x{tickma|
|000022a0| 72 6b 73 7d 2c 20 61 6e | 64 20 7b 5c 74 74 20 74 |rks}, an|d {\tt t|
|000022b0| 69 63 6b 6c 61 62 65 6c | 28 20 29 3b 7d 5c 69 6e |icklabel|( );}\in|
|000022c0| 64 65 78 7b 74 69 63 6b | 6c 61 62 65 6c 7d 20 0d |dex{tick|label} .|
|000022d0| 0a 63 6f 6d 6d 61 6e 64 | 73 20 66 6f 6c 6c 6f 77 |.command|s follow|
|000022e0| 65 64 20 62 79 20 61 20 | 7b 5c 74 74 20 64 72 61 |ed by a |{\tt dra|
|000022f0| 77 64 61 74 61 28 29 3b | 7d 5c 69 6e 64 65 78 7b |wdata();|}\index{|
|00002300| 64 72 61 77 64 61 74 61 | 7d 20 6f 72 20 7b 5c 74 |drawdata|} or {\t|
|00002310| 74 20 0d 0a 70 6c 6f 74 | 64 61 74 61 28 29 3b 7d |t ..plot|data();}|
|00002320| 20 74 6f 20 64 72 61 77 | 20 74 68 65 20 64 61 74 | to draw| the dat|
|00002330| 61 20 70 6f 69 6e 74 73 | 20 66 6f 75 6e 64 20 69 |a points| found i|
|00002340| 6e 20 74 68 65 20 64 61 | 74 61 20 61 72 72 61 79 |n the da|ta array|
|00002350| 2e 20 54 68 65 20 0d 0a | 64 69 66 66 65 72 65 6e |. The ..|differen|
|00002360| 63 65 20 62 65 74 77 65 | 65 6e 20 7b 5c 74 74 20 |ce betwe|en {\tt |
|00002370| 64 72 61 77 64 61 74 61 | 28 29 3b 7d 20 61 6e 64 |drawdata|();} and|
|00002380| 20 7b 5c 74 74 20 70 6c | 6f 74 64 61 74 61 28 29 | {\tt pl|otdata()|
|00002390| 3b 7d 20 69 73 20 74 68 | 61 74 20 7b 5c 74 74 20 |;} is th|at {\tt |
|000023a0| 0d 0a 70 6c 6f 74 64 61 | 74 61 28 29 3b 7d 20 77 |..plotda|ta();} w|
|000023b0| 69 6c 6c 20 70 69 63 6b | 20 64 65 66 61 75 6c 74 |ill pick| default|
|000023c0| 20 76 61 6c 75 65 73 20 | 66 6f 72 20 74 68 65 20 | values |for the |
|000023d0| 61 78 65 73 20 62 6f 78 | 2c 20 74 69 63 6b 6d 61 |axes box|, tickma|
|000023e0| 72 6b 73 20 6f 72 20 0d | 0a 74 69 63 6b 6c 61 62 |rks or .|.ticklab|
|000023f0| 65 6c 73 20 69 66 20 6e | 6f 74 20 70 72 65 76 69 |els if n|ot previ|
|00002400| 6f 75 73 6c 79 20 65 78 | 70 6c 69 63 69 74 6c 79 |ously ex|plicitly|
|00002410| 20 73 70 65 63 69 66 69 | 65 64 2e 20 54 68 65 20 | specifi|ed. The |
|00002420| 70 6c 6f 74 74 65 64 20 | 64 61 74 61 20 75 73 65 |plotted |data use|
|00002430| 73 20 0d 0a 74 68 65 20 | 63 75 72 72 65 6e 74 20 |s ..the |current |
|00002440| 6c 69 6e 65 20 63 6f 6c | 6f 75 72 2c 20 73 74 79 |line col|our, sty|
|00002450| 6c 65 20 61 6e 64 20 77 | 69 64 74 68 20 74 6f 20 |le and w|idth to |
|00002460| 63 6f 6e 6e 65 63 74 20 | 74 68 65 20 64 61 74 61 |connect |the data|
|00002470| 20 70 6f 69 6e 74 73 20 | 69 66 20 61 6e 20 0d 0a | points |if an ..|
|00002480| 6f 72 64 69 6e 61 72 79 | 20 70 6c 6f 74 20 77 61 |ordinary| plot wa|
|00002490| 73 20 73 65 6c 65 63 74 | 65 64 2e 20 41 6c 74 65 |s select|ed. Alte|
|000024a0| 72 6e 61 74 69 76 65 6c | 79 2c 20 74 68 65 20 63 |rnativel|y, the c|
|000024b0| 75 72 72 65 6e 74 20 0d | 0a 73 79 6d 62 6f 6c 5c |urrent .|.symbol\|
|000024c0| 69 6e 64 65 78 7b 73 79 | 6d 62 6f 6c 73 7d 20 63 |index{sy|mbols} c|
|000024d0| 61 6e 20 62 65 20 64 72 | 61 77 6e 20 61 74 20 65 |an be dr|awn at e|
|000024e0| 61 63 68 20 64 61 74 61 | 20 70 6f 69 6e 74 2e 20 |ach data| point. |
|000024f0| 54 68 65 72 65 20 69 73 | 20 61 20 66 75 6e 63 74 |There is| a funct|
|00002500| 69 6f 6e 20 0d 0a 77 68 | 69 63 68 20 61 75 74 6f |ion ..wh|ich auto|
|00002510| 6d 61 74 69 63 61 6c 6c | 79 20 64 72 61 77 73 20 |maticall|y draws |
|00002520| 65 72 72 6f 72 20 62 61 | 72 73 20 61 73 20 77 65 |error ba|rs as we|
|00002530| 6c 6c 20 61 73 20 6f 6e | 65 20 77 68 69 63 68 20 |ll as on|e which |
|00002540| 66 69 74 73 20 61 6e 64 | 20 64 72 61 77 73 20 0d |fits and| draws .|
|00002550| 0a 74 68 65 20 62 65 73 | 74 20 73 74 72 61 69 67 |.the bes|t straig|
|00002560| 68 74 20 6c 69 6e 65 20 | 74 6f 20 61 20 73 65 74 |ht line |to a set|
|00002570| 20 6f 66 20 64 61 74 61 | 20 70 6f 69 6e 74 73 2e | of data| points.|
|00002580| 20 54 68 65 20 64 61 74 | 61 20 70 6f 69 6e 74 73 | The dat|a points|
|00002590| 20 61 63 74 75 61 6c 6c | 79 20 0d 0a 70 6c 6f 74 | actuall|y ..plot|
|000025a0| 74 65 64 20 61 72 65 20 | 65 61 73 69 6c 79 20 72 |ted are |easily r|
|000025b0| 65 73 74 72 69 63 74 65 | 64 20 74 6f 20 74 68 6f |estricte|d to tho|
|000025c0| 73 65 20 77 69 74 68 69 | 6e 20 61 20 72 61 6e 67 |se withi|n a rang|
|000025d0| 65 20 6f 66 20 78 20 6f | 72 20 79 20 76 61 6c 75 |e of x o|r y valu|
|000025e0| 65 73 2e 20 54 68 65 20 | 0d 0a 64 61 74 61 20 63 |es. The |..data c|
|000025f0| 61 6e 20 61 6c 73 6f 20 | 65 61 73 69 6c 79 20 62 |an also |easily b|
|00002600| 65 20 73 68 69 66 74 65 | 64 20 61 6e 64 20 73 63 |e shifte|d and sc|
|00002610| 61 6c 65 64 20 62 65 66 | 6f 72 65 20 70 6c 6f 74 |aled bef|ore plot|
|00002620| 74 69 6e 67 2e 20 0d 0a | 0d 0a 5c 73 75 62 73 65 |ting. ..|..\subse|
|00002630| 63 74 69 6f 6e 7b 55 73 | 69 6e 67 20 54 68 65 20 |ction{Us|ing The |
|00002640| 4d 6f 75 73 65 7d 5c 69 | 6e 64 65 78 7b 75 73 69 |Mouse}\i|ndex{usi|
|00002650| 6e 67 20 6d 6f 75 73 65 | 7d 0d 0a 5c 6c 61 62 65 |ng mouse|}..\labe|
|00002660| 6c 7b 73 65 63 3a 6d 6f | 75 73 65 7d 0d 0a 0d 0a |l{sec:mo|use}....|
|00002670| 20 20 20 20 20 20 20 20 | 43 6c 69 63 6b 69 6e 67 | |Clicking|
|00002680| 20 74 68 65 20 6c 65 66 | 74 20 6d 6f 75 73 65 20 | the lef|t mouse |
|00002690| 62 75 74 74 6f 6e 20 6f | 6e 20 61 20 77 69 6e 64 |button o|n a wind|
|000026a0| 6f 77 20 63 68 61 6e 67 | 65 73 20 74 68 65 20 63 |ow chang|es the c|
|000026b0| 75 72 72 65 6e 74 20 0d | 0a 66 6f 63 75 73 20 69 |urrent .|.focus i|
|000026c0| 66 20 74 68 65 20 77 69 | 6e 64 6f 77 20 64 6f 65 |f the wi|ndow doe|
|000026d0| 73 20 6e 6f 74 20 61 6c | 72 65 61 64 79 20 68 61 |s not al|ready ha|
|000026e0| 76 65 20 74 68 65 20 69 | 6e 70 75 74 20 66 6f 63 |ve the i|nput foc|
|000026f0| 75 73 5c 69 6e 64 65 78 | 7b 69 6e 70 75 74 20 0d |us\index|{input .|
|00002700| 0a 66 6f 63 75 73 7d 2e | 20 4f 6e 20 74 68 65 20 |.focus}.| On the |
|00002710| 64 72 61 77 69 6e 67 20 | 77 69 6e 64 6f 77 20 74 |drawing |window t|
|00002720| 68 65 20 6c 65 66 74 20 | 6d 6f 75 73 65 20 62 75 |he left |mouse bu|
|00002730| 74 74 6f 6e 20 69 73 20 | 61 6c 73 6f 20 75 73 65 |tton is |also use|
|00002740| 64 20 74 6f 20 64 72 61 | 77 20 0d 0a 74 68 65 20 |d to dra|w ..the |
|00002750| 72 75 62 62 65 72 20 7a | 6f 6f 6d 20 62 6f 78 5c |rubber z|oom box\|
|00002760| 69 6e 64 65 78 7b 7a 6f | 6f 6d 2c 20 62 6f 78 7d |index{zo|om, box}|
|00002770| 20 62 79 20 68 6f 6c 64 | 69 6e 67 20 64 6f 77 6e | by hold|ing down|
|00002780| 20 74 68 65 20 6c 65 66 | 74 20 6d 6f 75 73 65 20 | the lef|t mouse |
|00002790| 62 75 74 74 6f 6e 2e 20 | 0d 0a 49 6e 20 74 68 65 |button. |..In the|
|000027a0| 20 65 64 69 74 6f 72 20 | 77 69 6e 64 6f 77 20 64 | editor |window d|
|000027b0| 6f 75 62 6c 65 20 63 6c | 69 63 6b 69 6e 67 20 62 |ouble cl|icking b|
|000027c0| 72 69 6e 67 73 20 75 70 | 20 68 65 6c 70 20 66 6f |rings up| help fo|
|000027d0| 72 20 74 68 65 20 69 74 | 65 6d 20 75 6e 64 65 72 |r the it|em under|
|000027e0| 20 74 68 65 20 0d 0a 63 | 75 72 73 6f 72 2e 20 48 | the ..c|ursor. H|
|000027f0| 65 6c 70 5c 69 6e 64 65 | 78 7b 6f 6e 6c 69 6e 65 |elp\inde|x{online|
|00002800| 20 68 65 6c 70 7d 20 65 | 78 69 73 74 73 20 66 6f | help} e|xists fo|
|00002810| 72 20 66 75 6e 63 74 69 | 6f 6e 20 6e 61 6d 65 73 |r functi|on names|
|00002820| 2c 20 63 6f 6e 73 74 61 | 6e 74 73 20 61 6e 64 20 |, consta|nts and |
|00002830| 0d 0a 67 6c 6f 62 61 6c | 20 64 61 74 61 20 76 61 |..global| data va|
|00002840| 6c 75 65 73 2e 20 44 6f | 75 62 6c 65 20 63 6c 69 |lues. Do|uble cli|
|00002850| 63 6b 69 6e 67 20 74 68 | 65 20 6c 65 66 74 20 6d |cking th|e left m|
|00002860| 6f 75 73 65 20 62 75 74 | 74 6f 6e 20 77 69 74 68 |ouse but|ton with|
|00002870| 20 74 68 65 20 6d 6f 75 | 73 65 20 6f 6e 20 0d 0a | the mou|se on ..|
|00002880| 74 68 65 20 64 72 61 77 | 69 6e 67 20 70 61 67 65 |the draw|ing page|
|00002890| 20 69 6e 73 65 72 74 73 | 20 74 68 65 20 63 75 72 | inserts| the cur|
|000028a0| 72 65 6e 74 20 78 2c 79 | 20 63 6f 6f 72 64 69 6e |rent x,y| coordin|
|000028b0| 61 74 65 73 5c 69 6e 64 | 65 78 7b 20 0d 0a 63 6f |ates\ind|ex{ ..co|
|000028c0| 6f 72 64 69 6e 61 74 65 | 73 2c 20 69 6e 73 65 72 |ordinate|s, inser|
|000028d0| 74 69 6e 67 7d 5c 69 6e | 64 65 78 7b 69 6e 74 65 |ting}\in|dex{inte|
|000028e0| 72 61 63 74 69 76 65 20 | 64 72 61 77 69 6e 67 7d |ractive |drawing}|
|000028f0| 20 69 6e 74 6f 20 74 68 | 65 20 74 65 78 74 20 66 | into th|e text f|
|00002900| 69 6c 65 20 61 74 20 74 | 68 65 20 63 75 72 72 65 |ile at t|he curre|
|00002910| 6e 74 20 0d 0a 74 65 78 | 74 20 63 75 72 73 6f 72 |nt ..tex|t cursor|
|00002920| 20 6c 6f 63 61 74 69 6f | 6e 2e 20 49 66 20 74 68 | locatio|n. If th|
|00002930| 65 20 6d 6f 75 73 65 20 | 77 61 73 20 70 6f 73 69 |e mouse |was posi|
|00002940| 74 69 6f 6e 65 64 20 61 | 74 20 74 68 65 20 62 65 |tioned a|t the be|
|00002950| 67 69 6e 6e 69 6e 67 20 | 6f 66 20 61 20 0d 0a 63 |ginning |of a ..c|
|00002960| 6f 6f 72 64 69 6e 61 74 | 65 20 70 61 69 72 20 74 |oordinat|e pair t|
|00002970| 68 61 74 20 63 6f 6f 72 | 64 69 6e 61 74 65 20 70 |hat coor|dinate p|
|00002980| 61 69 72 20 69 73 20 72 | 65 70 6c 61 63 65 64 20 |air is r|eplaced |
|00002990| 77 69 74 68 20 74 68 65 | 20 6e 65 77 20 6f 6e 65 |with the| new one|
|000029a0| 2e 20 49 66 20 74 68 65 | 20 0d 0a 6d 6f 75 73 65 |. If the| ..mouse|
|000029b0| 20 63 75 72 73 6f 72 20 | 69 73 20 69 6e 20 74 68 | cursor |is in th|
|000029c0| 65 20 74 65 78 74 20 72 | 65 67 69 6f 6e 20 74 68 |e text r|egion th|
|000029d0| 65 6e 20 68 69 74 74 69 | 6e 67 20 74 68 65 20 6c |en hitti|ng the l|
|000029e0| 65 66 74 20 6d 6f 75 73 | 65 20 62 75 74 74 6f 6e |eft mous|e button|
|000029f0| 20 77 69 6c 6c 20 0d 0a | 6d 6f 76 65 20 74 68 65 | will ..|move the|
|00002a00| 20 63 75 72 72 65 6e 74 | 20 74 65 78 74 20 63 75 | current| text cu|
|00002a10| 72 73 6f 72 20 74 6f 20 | 74 68 65 20 6d 6f 75 73 |rsor to |the mous|
|00002a20| 65 20 63 75 72 73 6f 72 | 20 6c 6f 63 61 74 69 6f |e cursor| locatio|
|00002a30| 6e 2e 20 54 68 65 20 6c | 65 66 74 20 6d 6f 75 73 |n. The l|eft mous|
|00002a40| 65 20 0d 0a 62 75 74 74 | 6f 6e 20 69 73 20 61 6c |e ..butt|on is al|
|00002a50| 73 6f 20 75 73 65 64 20 | 74 6f 20 73 65 6c 65 63 |so used |to selec|
|00002a60| 74 20 69 74 65 6d 73 20 | 69 6e 20 64 72 6f 70 20 |t items |in drop |
|00002a70| 64 6f 77 6e 20 6d 65 6e | 75 73 5c 69 6e 64 65 78 |down men|us\index|
|00002a80| 7b 6d 65 6e 75 73 7d 2e | 20 0d 0a 0d 0a 20 20 20 |{menus}.| .... |
|00002a90| 20 20 20 20 20 54 68 65 | 20 72 69 67 68 74 20 6d | The| right m|
|00002aa0| 6f 75 73 65 20 62 75 74 | 74 6f 6e 20 69 73 20 75 |ouse but|ton is u|
|00002ab0| 73 65 64 20 66 6f 72 20 | 68 69 67 68 6c 69 67 68 |sed for |highligh|
|00002ac0| 74 69 6e 67 20 0d 0a 65 | 6c 65 6d 65 6e 74 73 5c |ting ..e|lements\|
|00002ad0| 69 6e 64 65 78 7b 68 69 | 67 68 6c 69 67 68 74 69 |index{hi|ghlighti|
|00002ae0| 6e 67 20 65 6c 65 6d 65 | 6e 74 73 7d 5c 69 6e 64 |ng eleme|nts}\ind|
|00002af0| 65 78 7b 66 69 6e 64 69 | 6e 67 20 65 6c 65 6d 65 |ex{findi|ng eleme|
|00002b00| 6e 74 73 7d 20 6f 66 20 | 61 20 64 72 61 77 69 6e |nts} of |a drawin|
|00002b10| 67 2e 20 0d 0a 49 66 20 | 74 68 65 20 6d 6f 75 73 |g. ..If |the mous|
|00002b20| 65 20 63 75 72 73 6f 72 | 20 69 73 20 6f 6e 20 74 |e cursor| is on t|
|00002b30| 6f 70 20 6f 66 20 61 20 | 64 69 73 70 6c 61 79 65 |op of a |displaye|
|00002b40| 64 20 65 6c 65 6d 65 6e | 74 20 6f 6e 20 74 68 65 |d elemen|t on the|
|00002b50| 20 64 72 61 77 69 6e 67 | 20 70 61 67 65 20 0d 0a | drawing| page ..|
|00002b60| 61 6e 64 20 74 68 65 20 | 72 69 67 68 74 20 6d 6f |and the |right mo|
|00002b70| 75 73 65 20 62 75 74 74 | 6f 6e 20 69 73 20 68 69 |use butt|on is hi|
|00002b80| 74 20 74 68 65 6e 20 74 | 68 65 20 63 6f 72 72 65 |t then t|he corre|
|00002b90| 73 70 6f 6e 64 69 6e 67 | 20 65 6c 65 6d 65 6e 74 |sponding| element|
|00002ba0| 20 69 73 20 0d 0a 68 69 | 67 68 6c 69 67 68 74 65 | is ..hi|ghlighte|
|00002bb0| 64 20 61 6e 64 20 74 68 | 65 20 74 65 78 74 20 63 |d and th|e text c|
|00002bc0| 75 72 73 6f 72 20 6a 75 | 6d 70 73 20 74 6f 20 74 |ursor ju|mps to t|
|00002bd0| 68 65 20 63 6f 72 72 65 | 73 70 6f 6e 64 69 6e 67 |he corre|sponding|
|00002be0| 20 6c 69 6e 65 20 69 6e | 20 74 68 65 20 74 65 78 | line in| the tex|
|00002bf0| 74 20 0d 0a 74 68 61 74 | 20 67 65 6e 65 72 61 74 |t ..that| generat|
|00002c00| 65 64 20 74 68 61 74 20 | 65 6c 65 6d 65 6e 74 2e |ed that |element.|
|00002c10| 20 43 6f 6e 76 65 72 73 | 65 6c 79 2c 20 69 66 20 | Convers|ely, if |
|00002c20| 74 68 65 20 6d 6f 75 73 | 65 20 63 75 72 73 6f 72 |the mous|e cursor|
|00002c30| 20 69 73 20 6f 6e 20 74 | 68 65 20 74 65 78 74 20 | is on t|he text |
|00002c40| 0d 0a 77 69 6e 64 6f 77 | 20 68 69 74 74 69 6e 67 |..window| hitting|
|00002c50| 20 74 68 65 20 72 69 67 | 68 74 20 6d 6f 75 73 65 | the rig|ht mouse|
|00002c60| 20 62 75 74 74 6f 6e 20 | 77 69 6c 6c 20 68 69 67 | button |will hig|
|00002c70| 68 6c 69 67 68 74 20 61 | 6e 79 20 67 72 61 70 68 |hlight a|ny graph|
|00002c80| 69 63 73 20 65 6c 65 6d | 65 6e 74 73 20 0d 0a 67 |ics elem|ents ..g|
|00002c90| 65 6e 65 72 61 74 65 64 | 20 62 79 20 74 68 65 20 |enerated| by the |
|00002ca0| 6c 69 6e 65 20 75 6e 64 | 65 72 20 74 68 65 20 6d |line und|er the m|
|00002cb0| 6f 75 73 65 20 63 75 72 | 73 6f 72 2e 20 54 68 69 |ouse cur|sor. Thi|
|00002cc0| 73 20 66 65 61 74 75 72 | 65 20 69 73 20 76 65 72 |s featur|e is ver|
|00002cd0| 79 20 75 73 65 66 75 6c | 20 0d 0a 66 6f 72 20 66 |y useful| ..for f|
|00002ce0| 69 6e 64 69 6e 67 20 74 | 68 65 20 63 6f 64 65 20 |inding t|he code |
|00002cf0| 61 73 73 6f 63 69 61 74 | 65 64 20 77 69 74 68 20 |associat|ed with |
|00002d00| 61 20 70 61 72 74 69 63 | 75 6c 61 72 20 65 6c 65 |a partic|ular ele|
|00002d10| 6d 65 6e 74 20 6f 66 20 | 61 20 64 72 61 77 69 6e |ment of |a drawin|
|00002d20| 67 20 6f 72 20 0d 0a 74 | 68 65 20 72 65 76 65 72 |g or ..t|he rever|
|00002d30| 73 65 2e 20 46 6f 72 20 | 74 68 65 20 70 75 6c 6c |se. For |the pull|
|00002d40| 20 64 6f 77 6e 20 73 65 | 6c 65 63 74 69 6f 6e 20 | down se|lection |
|00002d50| 6c 69 73 74 73 2c 20 74 | 68 65 20 72 69 67 68 74 |lists, t|he right|
|00002d60| 20 6d 6f 75 73 65 20 62 | 75 74 74 6f 6e 20 0d 0a | mouse b|utton ..|
|00002d70| 6f 70 65 6e 73 20 61 20 | 68 65 6c 70 20 77 69 6e |opens a |help win|
|00002d80| 64 6f 77 5c 69 6e 64 65 | 78 7b 6f 6e 6c 69 6e 65 |dow\inde|x{online|
|00002d90| 20 68 65 6c 70 7d 20 66 | 6f 72 20 74 68 6f 73 65 | help} f|or those|
|00002da0| 20 69 74 65 6d 73 20 66 | 6f 72 20 77 68 69 63 68 | items f|or which|
|00002db0| 20 68 65 6c 70 20 69 73 | 20 0d 0a 61 76 61 69 6c | help is| ..avail|
|00002dc0| 61 62 6c 65 2e 20 0d 0a | 0d 0a 20 20 20 20 20 20 |able. ..|.. |
|00002dd0| 20 20 57 68 65 6e 20 74 | 68 65 20 6d 6f 75 73 65 | When t|he mouse|
|00002de0| 20 63 75 72 73 6f 72 20 | 69 73 20 6f 6e 20 74 68 | cursor |is on th|
|00002df0| 65 20 64 72 61 77 69 6e | 67 20 70 61 67 65 20 74 |e drawin|g page t|
|00002e00| 68 65 20 63 75 72 72 65 | 6e 74 20 0d 0a 63 6f 6f |he curre|nt ..coo|
|00002e10| 72 64 69 6e 61 74 65 73 | 5c 69 6e 64 65 78 7b 63 |rdinates|\index{c|
|00002e20| 6f 6f 72 64 69 6e 61 74 | 65 73 7d 20 61 72 65 20 |oordinat|es} are |
|00002e30| 70 72 69 6e 74 65 64 20 | 61 74 20 74 68 65 20 74 |printed |at the t|
|00002e40| 6f 70 2e 20 54 68 65 20 | 0d 0a 75 6e 69 74 73 5c |op. The |..units\|
|00002e50| 69 6e 64 65 78 7b 75 6e | 69 74 73 7d 20 61 6e 64 |index{un|its} and|
|00002e60| 20 6f 72 69 67 69 6e 20 | 75 73 65 64 20 61 72 65 | origin |used are|
|00002e70| 20 74 68 6f 73 65 20 69 | 6e 20 65 66 66 65 63 74 | those i|n effect|
|00002e80| 20 61 74 20 74 68 65 20 | 65 6e 64 20 6f 66 20 74 | at the |end of t|
|00002e90| 68 65 20 0d 0a 6c 61 73 | 74 20 70 72 6f 67 72 61 |he ..las|t progra|
|00002ea0| 6d 20 65 78 65 63 75 74 | 69 6f 6e 2e 20 54 68 65 |m execut|ion. The|
|00002eb0| 20 64 65 66 61 75 6c 74 | 20 75 6e 69 74 73 20 61 | default| units a|
|00002ec0| 72 65 20 63 6d 20 77 69 | 74 68 20 74 68 65 20 6f |re cm wi|th the o|
|00002ed0| 72 69 67 69 6e 20 69 6e | 20 74 68 65 20 0d 0a 62 |rigin in| the ..b|
|00002ee0| 6f 74 74 6f 6d 20 6c 65 | 66 74 20 63 6f 72 6e 65 |ottom le|ft corne|
|00002ef0| 72 20 6f 66 20 74 68 65 | 20 70 61 67 65 2e 20 50 |r of the| page. P|
|00002f00| 72 65 73 73 69 6e 67 20 | 74 68 65 20 6d 69 64 64 |ressing |the midd|
|00002f10| 6c 65 20 6d 6f 75 73 65 | 20 62 75 74 74 6f 6e 20 |le mouse| button |
|00002f20| 28 6f 72 20 62 6f 74 68 | 20 0d 0a 74 68 65 20 6c |(or both| ..the l|
|00002f30| 65 66 74 20 61 6e 64 20 | 72 69 67 68 74 20 6d 6f |eft and |right mo|
|00002f40| 75 73 65 20 62 75 74 74 | 6f 6e 73 20 74 6f 67 65 |use butt|ons toge|
|00002f50| 74 68 65 72 20 6f 6e 20 | 74 77 6f 20 62 75 74 74 |ther on |two butt|
|00002f60| 6f 6e 20 6d 69 63 65 29 | 20 77 69 74 68 20 74 68 |on mice)| with th|
|00002f70| 65 20 0d 0a 6d 6f 75 73 | 65 20 70 6f 69 6e 74 65 |e ..mous|e pointe|
|00002f80| 72 20 6f 6e 20 74 68 65 | 20 64 72 61 77 69 6e 67 |r on the| drawing|
|00002f90| 20 70 61 67 65 20 63 61 | 75 73 65 73 20 74 68 65 | page ca|uses the|
|00002fa0| 20 63 75 72 72 65 6e 74 | 20 63 6f 6f 72 64 69 6e | current| coordin|
|00002fb0| 61 74 65 20 72 65 66 65 | 72 65 6e 63 65 20 0d 0a |ate refe|rence ..|
|00002fc0| 70 6f 69 6e 74 20 74 6f | 20 62 65 20 72 65 73 65 |point to| be rese|
|00002fd0| 74 20 73 6f 20 74 68 61 | 74 20 74 68 65 20 73 74 |t so tha|t the st|
|00002fe0| 61 74 75 73 20 6c 69 6e | 65 20 73 75 62 73 65 71 |atus lin|e subseq|
|00002ff0| 75 65 6e 74 6c 79 20 72 | 65 70 6f 72 74 73 20 0d |uently r|eports .|
|00003000| 0a 74 68 65 20 64 69 73 | 74 61 6e 63 65 20 66 72 |.the dis|tance fr|
|00003010| 6f 6d 20 74 68 69 73 20 | 70 6f 69 6e 74 20 69 66 |om this |point if|
|00003020| 20 74 68 65 20 72 65 6c | 61 74 69 76 65 5c 69 6e | the rel|ative\in|
|00003030| 64 65 78 7b 63 6f 6f 72 | 64 69 6e 61 74 65 73 2c |dex{coor|dinates,|
|00003040| 20 72 65 6c 61 74 69 76 | 65 7d 20 0d 0a 6f 70 74 | relativ|e} ..opt|
|00003050| 69 6f 6e 20 68 61 73 20 | 62 65 65 6e 20 73 65 6c |ion has |been sel|
|00003060| 65 63 74 65 64 20 66 72 | 6f 6d 20 74 68 65 20 6d |ected fr|om the m|
|00003070| 69 73 63 20 6d 65 6e 75 | 2e 20 0d 0a 0d 0a 0d 0a |isc menu|. ......|
|00003080| 5c 73 75 62 73 65 63 74 | 69 6f 6e 7b 41 63 74 69 |\subsect|ion{Acti|
|00003090| 6f 6e 73 20 41 73 73 6f | 63 69 61 74 65 64 20 77 |ons Asso|ciated w|
|000030a0| 69 74 68 20 74 68 65 20 | 4d 6f 75 73 65 20 42 75 |ith the |Mouse Bu|
|000030b0| 74 74 6f 6e 73 7d 0d 0a | 0d 0a 20 20 20 20 20 20 |ttons}..|.. |
|000030c0| 20 20 54 68 65 72 65 20 | 61 72 65 20 73 65 76 65 | There |are seve|
|000030d0| 72 61 6c 20 6d 6f 75 73 | 65 20 6d 65 6e 75 5c 69 |ral mous|e menu\i|
|000030e0| 6e 64 65 78 7b 6d 65 6e | 75 73 7d 20 62 75 74 74 |ndex{men|us} butt|
|000030f0| 6f 6e 73 20 61 6c 6f 6e | 67 20 74 68 65 20 74 6f |ons alon|g the to|
|00003100| 70 20 6f 66 20 0d 0a 74 | 68 65 20 70 6c 6f 74 20 |p of ..t|he plot |
|00003110| 77 69 6e 64 6f 77 2e 20 | 54 68 65 20 61 63 74 69 |window. |The acti|
|00003120| 6f 6e 20 6f 66 20 74 68 | 65 73 65 20 62 75 74 74 |on of th|ese butt|
|00003130| 6f 6e 73 20 69 73 20 61 | 73 20 66 6f 6c 6c 6f 77 |ons is a|s follow|
|00003140| 73 2e 20 53 74 61 72 74 | 69 6e 67 20 61 74 20 74 |s. Start|ing at t|
|00003150| 68 65 20 0d 0a 6c 65 66 | 74 20 74 6f 70 20 74 68 |he ..lef|t top th|
|00003160| 65 72 65 20 61 72 65 20 | 66 6f 75 72 20 62 75 74 |ere are |four but|
|00003170| 74 6f 6e 73 20 6c 61 62 | 65 6c 6c 65 64 20 27 64 |tons lab|elled 'd|
|00003180| 72 61 77 27 2c 20 27 73 | 6f 70 74 27 2c 20 27 73 |raw', 's|opt', 's|
|00003190| 6c 69 62 27 20 61 6e 64 | 20 27 6b 65 79 77 27 2e |lib' and| 'keyw'.|
|000031a0| 20 0d 0a 54 68 65 73 65 | 20 61 63 74 69 76 61 74 | ..These| activat|
|000031b0| 65 20 64 72 6f 70 20 64 | 6f 77 6e 20 6d 65 6e 75 |e drop d|own menu|
|000031c0| 73 20 77 68 69 63 68 20 | 61 6c 6c 6f 77 20 61 20 |s which |allow a |
|000031d0| 66 75 6e 63 74 69 6f 6e | 20 74 6f 20 62 65 20 73 |function| to be s|
|000031e0| 65 6c 65 63 74 65 64 20 | 61 6e 64 20 0d 0a 69 6e |elected |and ..in|
|000031f0| 73 65 72 74 65 64 20 69 | 6e 74 6f 20 74 68 65 20 |serted i|nto the |
|00003200| 74 65 78 74 2e 20 54 68 | 65 20 27 64 72 61 77 27 |text. Th|e 'draw'|
|00003210| 20 66 75 6e 63 74 69 6f | 6e 73 20 61 72 65 20 61 | functio|ns are a|
|00003220| 20 73 75 69 74 65 20 6f | 66 20 64 72 61 77 69 6e | suite o|f drawin|
|00003230| 67 20 0d 0a 72 6f 75 74 | 69 6e 65 73 20 77 68 69 |g ..rout|ines whi|
|00003240| 63 68 20 63 61 75 73 65 | 20 6c 69 6e 65 73 2c 20 |ch cause| lines, |
|00003250| 61 72 63 73 2c 20 74 65 | 78 74 20 65 74 63 2e 20 |arcs, te|xt etc. |
|00003260| 74 6f 20 62 65 20 64 72 | 61 77 6e 20 74 6f 20 74 |to be dr|awn to t|
|00003270| 68 65 20 70 61 67 65 2e | 20 54 68 65 20 0d 0a 27 |he page.| The ..'|
|00003280| 73 6f 70 74 27 20 6d 65 | 6e 75 20 69 73 20 61 20 |sopt' me|nu is a |
|00003290| 6c 69 73 74 20 6f 66 20 | 74 65 78 74 75 61 6c 20 |list of |textual |
|000032a0| 6e 61 6d 65 73 20 66 6f | 72 20 6e 75 6d 65 72 69 |names fo|r numeri|
|000032b0| 63 61 6c 20 63 6f 6e 73 | 74 61 6e 74 73 20 77 68 |cal cons|tants wh|
|000032c0| 69 63 68 20 61 72 65 20 | 0d 0a 75 73 65 64 20 69 |ich are |..used i|
|000032d0| 6e 20 63 6f 6e 6a 75 6e | 63 74 69 6f 6e 20 77 69 |n conjun|ction wi|
|000032e0| 74 68 20 74 68 65 20 7b | 5c 74 74 20 73 65 74 28 |th the {|\tt set(|
|000032f0| 29 3b 7d 5c 69 6e 64 65 | 78 7b 73 65 74 7d 20 63 |);}\inde|x{set} c|
|00003300| 6f 6d 6d 61 6e 64 20 74 | 6f 20 63 68 61 6e 67 65 |ommand t|o change|
|00003310| 20 0d 0a 61 74 74 72 69 | 62 75 74 65 73 5c 69 6e | ..attri|butes\in|
|00003320| 64 65 78 7b 61 74 74 72 | 69 62 75 74 65 73 2c 20 |dex{attr|ibutes, |
|00003330| 63 68 61 6e 67 69 6e 67 | 7d 20 6f 66 20 74 68 65 |changing|} of the|
|00003340| 20 63 75 72 72 65 6e 74 | 20 67 72 61 70 68 69 63 | current| graphic|
|00003350| 73 20 73 74 61 74 65 20 | 73 75 63 68 20 0d 0a 61 |s state |such ..a|
|00003360| 73 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 63 6f |s the cu|rrent co|
|00003370| 6c 6f 75 72 2c 20 6c 69 | 6e 65 20 77 69 64 74 68 |lour, li|ne width|
|00003380| 2c 20 6c 69 6e 65 20 73 | 74 79 6c 65 2c 20 61 78 |, line s|tyle, ax|
|00003390| 65 73 20 74 79 70 65 2c | 20 65 74 63 2e 20 43 68 |es type,| etc. Ch|
|000033a0| 6f 6f 73 69 6e 67 20 73 | 65 74 20 0d 0a 66 72 6f |oosing s|et ..fro|
|000033b0| 6d 20 74 68 65 20 6c 69 | 73 74 20 6f 66 20 64 72 |m the li|st of dr|
|000033c0| 61 77 69 6e 67 20 66 75 | 6e 63 74 69 6f 6e 73 20 |awing fu|nctions |
|000033d0| 61 75 74 6f 6d 61 74 69 | 63 61 6c 6c 79 20 6f 70 |automati|cally op|
|000033e0| 65 6e 73 20 61 20 6d 65 | 6e 75 20 77 69 74 68 20 |ens a me|nu with |
|000033f0| 6f 6e 6c 79 20 61 6e 20 | 0d 0a 61 70 70 72 6f 70 |only an |..approp|
|00003400| 72 69 61 74 65 20 73 75 | 62 73 65 74 20 6f 66 20 |riate su|bset of |
|00003410| 74 68 65 73 65 20 61 6e | 64 20 69 73 20 74 68 65 |these an|d is the|
|00003420| 20 72 65 63 6f 6d 6d 65 | 6e 64 65 64 20 61 70 70 | recomme|nded app|
|00003430| 72 6f 61 63 68 2e 20 54 | 68 65 20 27 73 6c 69 62 |roach. T|he 'slib|
|00003440| 27 20 0d 0a 62 75 74 74 | 6f 6e 20 61 6c 6c 6f 77 |' ..butt|on allow|
|00003450| 73 20 73 65 6c 65 63 74 | 69 6f 6e 20 6f 66 20 61 |s select|ion of a|
|00003460| 20 73 74 61 6e 64 61 72 | 64 20 43 20 6c 69 62 72 | standar|d C libr|
|00003470| 61 72 79 5c 69 6e 64 65 | 78 7b 43 2c 20 6c 69 62 |ary\inde|x{C, lib|
|00003480| 72 61 72 79 20 66 75 6e | 63 74 69 6f 6e 73 7d 20 |rary fun|ctions} |
|00003490| 0d 0a 66 75 6e 63 74 69 | 6f 6e 2e 20 4d 6f 73 74 |..functi|on. Most|
|000034a0| 20 6f 66 20 74 68 65 73 | 65 20 61 72 65 20 6d 61 | of thes|e are ma|
|000034b0| 74 68 20 66 75 6e 63 74 | 69 6f 6e 73 20 73 75 63 |th funct|ions suc|
|000034c0| 68 20 61 73 20 7b 5c 74 | 74 20 73 69 6e 28 29 7d |h as {\t|t sin()}|
|000034d0| 5c 69 6e 64 65 78 7b 6d | 61 74 68 7d 20 0d 0a 61 |\index{m|ath} ..a|
|000034e0| 6e 64 20 77 69 6c 6c 20 | 6e 6f 74 20 62 65 20 72 |nd will |not be r|
|000034f0| 65 71 75 69 72 65 64 20 | 66 6f 72 20 6d 61 6b 69 |equired |for maki|
|00003500| 6e 67 20 6f 72 64 69 6e | 61 72 79 20 70 6c 6f 74 |ng ordin|ary plot|
|00003510| 73 2e 20 54 68 65 79 20 | 61 72 65 20 68 6f 77 65 |s. They |are howe|
|00003520| 76 65 72 20 75 73 65 66 | 75 6c 20 0d 0a 66 6f 72 |ver usef|ul ..for|
|00003530| 20 6d 61 6e 69 70 75 6c | 61 74 69 6e 67 20 64 61 | manipul|ating da|
|00003540| 74 61 20 62 65 66 6f 72 | 65 20 70 6c 6f 74 74 69 |ta befor|e plotti|
|00003550| 6e 67 20 6f 72 20 67 65 | 6e 65 72 61 74 69 6e 67 |ng or ge|nerating|
|00003560| 20 64 61 74 61 20 6d 61 | 74 68 65 6d 61 74 69 63 | data ma|thematic|
|00003570| 61 6c 6c 79 20 61 6c 6c | 20 0d 0a 66 72 6f 6d 20 |ally all| ..from |
|00003580| 77 69 74 68 69 6e 20 53 | 70 6c 6f 74 2e 20 54 68 |within S|plot. Th|
|00003590| 65 20 6c 61 73 74 20 62 | 75 74 74 6f 6e 20 6f 66 |e last b|utton of|
|000035a0| 20 74 68 69 73 20 67 72 | 6f 75 70 20 27 6b 65 79 | this gr|oup 'key|
|000035b0| 77 27 20 6f 70 65 6e 73 | 20 61 20 6c 69 73 74 20 |w' opens| a list |
|000035c0| 6f 66 20 43 20 0d 0a 6b | 65 79 77 6f 72 64 73 5c |of C ..k|eywords\|
|000035d0| 69 6e 64 65 78 7b 43 2c | 20 6b 65 79 77 6f 72 64 |index{C,| keyword|
|000035e0| 73 7d 20 66 6f 72 20 73 | 65 6c 65 63 74 69 6f 6e |s} for s|election|
|000035f0| 2e 20 54 68 65 20 6f 6e | 6c 79 20 6f 6e 65 20 6f |. The on|ly one o|
|00003600| 66 20 74 68 65 73 65 20 | 74 68 61 74 20 69 73 20 |f these |that is |
|00003610| 6f 66 20 0d 0a 69 6e 74 | 65 72 65 73 74 20 66 6f |of ..int|erest fo|
|00003620| 72 20 6f 72 64 69 6e 61 | 72 79 20 70 6c 6f 74 73 |r ordina|ry plots|
|00003630| 20 69 73 20 27 6d 61 69 | 6e 27 5c 69 6e 64 65 78 | is 'mai|n'\index|
|00003640| 7b 6d 61 69 6e 7d 2e 20 | 45 76 65 72 79 20 66 69 |{main}. |Every fi|
|00003650| 6c 65 20 74 68 61 74 20 | 0d 0a 67 65 6e 65 72 61 |le that |..genera|
|00003660| 74 65 73 20 61 20 70 6c | 6f 74 20 6f 72 20 64 72 |tes a pl|ot or dr|
|00003670| 61 77 69 6e 67 20 6d 75 | 73 74 20 73 74 61 72 74 |awing mu|st start|
|00003680| 20 77 69 74 68 20 0d 0a | 0d 0a 5c 76 73 70 61 63 | with ..|..\vspac|
|00003690| 65 7b 35 6d 6d 7d 0d 0a | 0d 0a 5c 6e 6f 69 6e 64 |e{5mm}..|..\noind|
|000036a0| 65 6e 74 0d 0a 7b 5c 69 | 74 0d 0a 5c 62 65 67 69 |ent..{\i|t..\begi|
|000036b0| 6e 7b 76 65 72 62 61 74 | 69 6d 7d 0d 0a 23 69 6e |n{verbat|im}..#in|
|000036c0| 63 6c 75 64 65 20 3c 73 | 70 6c 6f 74 2e 68 3e 0d |clude <s|plot.h>.|
|000036d0| 0a 6d 61 69 6e 0d 0a 20 | 20 20 7b 0d 0a 20 20 20 |.main.. | {.. |
|000036e0| 2f 2a 20 6c 69 73 74 20 | 6f 66 20 64 72 61 77 69 |/* list |of drawi|
|000036f0| 6e 67 20 63 6f 6d 6d 61 | 6e 64 73 20 67 6f 20 68 |ng comma|nds go h|
|00003700| 65 72 65 20 62 65 74 77 | 65 65 6e 20 74 68 65 20 |ere betw|een the |
|00003710| 62 72 61 63 65 73 20 6f | 6e 20 61 73 20 6d 61 6e |braces o|n as man|
|00003720| 79 20 2a 2f 0d 0a 20 20 | 20 2f 2a 20 6c 69 6e 65 |y */.. | /* line|
|00003730| 73 20 61 73 20 6e 65 63 | 65 73 73 61 72 79 20 2a |s as nec|essary *|
|00003740| 2f 0d 0a 20 20 20 7d 0d | 0a 5c 65 6e 64 7b 76 65 |/.. }.|.\end{ve|
|00003750| 72 62 61 74 69 6d 7d 0d | 0a 7d 0d 0a 0d 0a 5c 76 |rbatim}.|.}....\v|
|00003760| 73 70 61 63 65 7b 35 6d | 6d 7d 0d 0a 0d 0a 5c 6e |space{5m|m}....\n|
|00003770| 6f 69 6e 64 65 6e 74 0d | 0a 20 20 20 20 20 20 20 |oindent.|. |
|00003780| 20 54 68 69 73 20 69 73 | 20 61 6c 6c 20 61 75 74 | This is| all aut|
|00003790| 6f 6d 61 74 69 63 61 6c | 6c 79 20 69 6e 73 65 72 |omatical|ly inser|
|000037a0| 74 65 64 20 69 6e 20 74 | 68 65 20 74 65 78 74 20 |ted in t|he text |
|000037b0| 62 79 20 73 65 6c 65 63 | 74 69 6e 67 20 0d 0a 27 |by selec|ting ..'|
|000037c0| 6d 61 69 6e 27 2e 20 54 | 68 65 20 72 65 6d 61 69 |main'. T|he remai|
|000037d0| 6e 69 6e 67 20 6b 65 79 | 77 6f 72 64 73 20 69 6e |ning key|words in|
|000037e0| 20 74 68 69 73 20 6c 69 | 73 74 20 61 72 65 20 6f | this li|st are o|
|000037f0| 6e 6c 79 20 6f 66 20 69 | 6e 74 65 72 65 73 74 20 |nly of i|nterest |
|00003800| 0d 0a 20 77 68 65 6e 20 | 63 6f 6e 73 74 72 75 63 |.. when |construc|
|00003810| 74 69 6e 67 20 6c 6f 6f | 70 73 20 6f 72 20 62 72 |ting loo|ps or br|
|00003820| 61 6e 63 68 65 73 2e 20 | 4e 6f 74 65 20 74 68 61 |anches. |Note tha|
|00003830| 74 20 74 68 65 20 61 63 | 74 75 61 6c 20 74 65 78 |t the ac|tual tex|
|00003840| 74 20 69 6e 73 65 72 74 | 65 64 20 0d 0a 20 66 6f |t insert|ed .. fo|
|00003850| 72 20 74 68 65 20 64 72 | 61 77 2c 20 73 6c 69 62 |r the dr|aw, slib|
|00003860| 20 61 6e 64 20 6b 65 79 | 77 20 6d 65 6e 75 20 63 | and key|w menu c|
|00003870| 68 6f 69 63 65 73 20 63 | 61 6e 20 62 65 20 63 75 |hoices c|an be cu|
|00003880| 73 74 6f 6d 69 7a 65 64 | 20 62 79 20 65 64 69 74 |stomized| by edit|
|00003890| 69 6e 67 20 74 68 65 0d | 0a 20 63 6f 72 72 65 73 |ing the.|. corres|
|000038a0| 70 6f 6e 64 69 6e 67 20 | 6d 61 63 72 6f 73 20 69 |ponding |macros i|
|000038b0| 6e 20 74 68 65 20 73 70 | 6c 6f 74 2e 63 66 67 20 |n the sp|lot.cfg |
|000038c0| 73 74 61 72 74 75 70 20 | 0d 0a 20 66 69 6c 65 2e |startup |.. file.|
|000038d0| 5c 72 65 66 7b 73 65 63 | 3a 63 6f 6e 66 69 67 7d |\ref{sec|:config}|
|000038e0| 5c 69 6e 64 65 78 7b 65 | 64 69 74 6f 72 2c 20 6d |\index{e|ditor, m|
|000038f0| 61 63 72 6f 73 7d 0d 0a | 0d 0a 20 20 20 20 20 20 |acros}..|.. |
|00003900| 20 20 54 68 65 20 6e 65 | 78 74 20 73 65 74 20 6f | The ne|xt set o|
|00003910| 66 20 6d 65 6e 75 20 62 | 75 74 74 6f 6e 73 20 61 |f menu b|uttons a|
|00003920| 6c 6f 6e 67 20 74 68 65 | 20 74 6f 70 20 61 72 65 |long the| top are|
|00003930| 20 63 6f 6e 63 65 72 6e | 65 64 20 0d 0a 77 69 74 | concern|ed ..wit|
|00003940| 68 20 64 69 73 70 6c 61 | 79 69 6e 67 20 74 68 65 |h displa|ying the|
|00003950| 20 64 72 61 77 69 6e 67 | 2e 20 54 68 65 20 64 65 | drawing|. The de|
|00003960| 66 61 75 6c 74 20 73 69 | 7a 65 20 6f 66 20 74 68 |fault si|ze of th|
|00003970| 65 20 64 72 61 77 69 6e | 67 20 69 73 20 6f 6e 65 |e drawin|g is one|
|00003980| 20 0d 0a 77 68 69 63 68 | 20 66 69 74 73 20 6f 6e | ..which| fits on|
|00003990| 20 61 20 73 74 61 6e 64 | 61 72 64 20 38 20 78 20 | a stand|ard 8 x |
|000039a0| 31 31 20 69 6e 63 68 20 | 70 69 65 63 65 20 6f 66 |11 inch |piece of|
|000039b0| 20 70 61 70 65 72 20 69 | 66 20 70 72 69 6e 74 65 | paper i|f printe|
|000039c0| 64 2e 20 0d 0a 48 6f 77 | 65 76 65 72 2c 20 61 73 |d. ..How|ever, as|
|000039d0| 20 74 68 65 20 73 63 72 | 65 65 6e 20 72 65 73 6f | the scr|een reso|
|000039e0| 6c 75 74 69 6f 6e 20 69 | 73 20 6e 6f 74 20 61 73 |lution i|s not as|
|000039f0| 20 67 6f 6f 64 20 61 73 | 20 74 68 61 74 20 6f 66 | good as| that of|
|00003a00| 20 0d 0a 70 72 69 6e 74 | 65 72 73 20 69 74 20 69 | ..print|ers it i|
|00003a10| 73 20 70 6f 73 73 69 62 | 6c 65 20 74 6f 20 7a 6f |s possib|le to zo|
|00003a20| 6f 6d 5c 69 6e 64 65 78 | 7b 7a 6f 6f 6d 7d 20 69 |om\index|{zoom} i|
|00003a30| 6e 20 6f 6e 20 70 61 72 | 74 20 6f 66 20 61 20 64 |n on par|t of a d|
|00003a40| 72 61 77 69 6e 67 20 69 | 6e 20 6f 72 64 65 72 20 |rawing i|n order |
|00003a50| 74 6f 20 0d 0a 67 65 74 | 20 61 20 62 65 74 74 65 |to ..get| a bette|
|00003a60| 72 20 76 69 65 77 2e 20 | 0d 0a 0d 0a 5c 73 75 62 |r view. |....\sub|
|00003a70| 73 65 63 74 69 6f 6e 7b | 48 61 72 64 20 43 6f 70 |section{|Hard Cop|
|00003a80| 79 7d 5c 69 6e 64 65 78 | 7b 68 61 72 64 20 63 6f |y}\index|{hard co|
|00003a90| 70 79 7d 0d 0a 0d 0a 20 | 20 20 20 20 20 20 20 49 |py}.... | I|
|00003aa0| 6e 20 6f 72 64 65 72 20 | 74 6f 20 73 65 6e 64 20 |n order |to send |
|00003ab0| 61 20 67 72 61 70 68 20 | 74 6f 20 74 68 65 20 70 |a graph |to the p|
|00003ac0| 72 69 6e 74 65 72 20 73 | 65 6c 65 63 74 20 74 68 |rinter s|elect th|
|00003ad0| 65 20 70 72 69 6e 74 20 | 6f 70 74 69 6f 6e 20 69 |e print |option i|
|00003ae0| 6e 20 0d 0a 74 68 65 20 | 66 69 6c 65 20 6d 65 6e |n ..the |file men|
|00003af0| 75 20 6f 66 20 74 68 65 | 20 65 64 69 74 6f 72 20 |u of the| editor |
|00003b00| 77 69 6e 64 6f 77 2e 20 | 4f 75 74 70 75 74 20 63 |window. |Output c|
|00003b10| 61 6e 20 62 65 20 64 69 | 72 65 63 74 65 64 20 74 |an be di|rected t|
|00003b20| 6f 20 61 20 66 69 6c 65 | 20 62 79 20 0d 0a 6f 70 |o a file| by ..op|
|00003b30| 65 6e 69 6e 67 20 74 68 | 65 20 70 72 69 6e 74 65 |ening th|e printe|
|00003b40| 72 20 73 65 74 74 69 6e | 67 73 20 6e 6f 74 65 62 |r settin|gs noteb|
|00003b50| 6f 6f 6b 20 61 6e 64 20 | 73 65 6c 65 63 74 69 6e |ook and |selectin|
|00003b60| 67 20 27 70 72 69 6e 74 | 20 74 6f 20 66 69 6c 65 |g 'print| to file|
|00003b70| 27 20 48 61 72 64 20 0d | 0a 63 6f 70 79 20 69 73 |' Hard .|.copy is|
|00003b80| 20 64 65 76 69 63 65 20 | 69 6e 64 65 70 65 6e 64 | device |independ|
|00003b90| 65 6e 74 20 61 6e 64 20 | 72 65 6c 69 65 73 20 6f |ent and |relies o|
|00003ba0| 6e 20 74 68 65 20 4f 53 | 2f 32 20 70 72 69 6e 74 |n the OS|/2 print|
|00003bb0| 65 72 20 64 72 69 76 65 | 72 73 2e 20 53 70 6c 6f |er drive|rs. Splo|
|00003bc0| 74 20 0d 0a 63 61 6e 20 | 61 6c 73 6f 20 67 65 6e |t ..can |also gen|
|00003bd0| 65 72 61 74 65 20 65 6e | 63 61 70 73 75 6c 61 74 |erate en|capsulat|
|00003be0| 65 64 20 70 6f 73 74 73 | 63 72 69 70 74 20 28 2e |ed posts|cript (.|
|00003bf0| 65 70 73 29 5c 69 6e 64 | 65 78 7b 70 6f 73 74 73 |eps)\ind|ex{posts|
|00003c00| 63 72 69 70 74 7d 20 66 | 69 6c 65 73 0d 0a 6f 66 |cript} f|iles..of|
|00003c10| 20 61 20 66 69 67 75 72 | 65 20 66 6f 72 20 69 6e | a figur|e for in|
|00003c20| 63 6c 75 73 69 6f 6e 20 | 69 6e 20 61 20 64 6f 63 |clusion |in a doc|
|00003c30| 75 6d 65 6e 74 2e 20 0d | 0a 49 74 20 69 73 20 62 |ument. .|.It is b|
|00003c40| 65 74 74 65 72 20 74 6f | 20 6c 65 74 20 53 70 6c |etter to| let Spl|
|00003c50| 6f 74 20 67 65 6e 65 72 | 61 74 65 20 61 6e 20 2e |ot gener|ate an .|
|00003c60| 65 70 73 20 66 69 6c 65 | 20 72 61 74 68 65 72 20 |eps file| rather |
|00003c70| 74 68 61 6e 0d 0a 74 6f | 20 72 65 6c 79 20 6f 6e |than..to| rely on|
|00003c80| 20 61 20 70 6f 73 74 73 | 63 72 69 70 74 20 70 72 | a posts|cript pr|
|00003c90| 69 6e 74 65 72 20 64 72 | 69 76 65 72 20 77 69 74 |inter dr|iver wit|
|00003ca0| 68 20 74 68 65 20 6f 75 | 74 70 75 74 20 64 69 72 |h the ou|tput dir|
|00003cb0| 65 63 74 65 64 20 74 6f | 20 61 20 66 69 6c 65 0d |ected to| a file.|
|00003cc0| 0a 61 73 20 74 68 65 20 | 53 70 6c 6f 74 20 67 65 |.as the |Splot ge|
|00003cd0| 6e 65 72 61 74 65 64 20 | 66 69 6c 65 20 69 73 20 |nerated |file is |
|00003ce0| 6d 75 63 68 20 73 6d 61 | 6c 6c 65 72 2e 20 53 70 |much sma|ller. Sp|
|00003cf0| 6c 6f 74 20 61 6c 73 6f | 20 61 64 64 73 20 74 68 |lot also| adds th|
|00003d00| 65 20 72 65 71 75 69 72 | 65 64 0d 0a 5c 25 5c 25 |e requir|ed..\%\%|
|00003d10| 42 6f 75 6e 64 69 6e 67 | 42 6f 78 20 73 74 61 74 |Bounding|Box stat|
|00003d20| 65 6d 65 6e 74 20 74 6f | 20 74 68 65 20 67 65 6e |ement to| the gen|
|00003d30| 65 72 61 74 65 64 20 70 | 73 20 66 69 6c 65 20 61 |erated p|s file a|
|00003d40| 73 20 72 65 71 75 69 72 | 65 64 20 66 6f 72 20 0d |s requir|ed for .|
|00003d50| 0a 65 6e 63 61 70 73 75 | 6c 61 74 65 64 5c 69 6e |.encapsu|lated\in|
|00003d60| 64 65 78 7b 70 6f 73 74 | 73 63 72 69 70 74 2c 20 |dex{post|script, |
|00003d70| 65 6e 63 61 70 73 75 6c | 61 74 65 64 7d 20 70 6f |encapsul|ated} po|
|00003d80| 73 74 73 63 72 69 70 74 | 20 66 69 6c 65 73 2e 0d |stscript| files..|
|00003d90| 0a 0d 0a 0d 0a 5c 73 65 | 63 74 69 6f 6e 7b 4d 69 |.....\se|ction{Mi|
|00003da0| 73 63 65 6c 6c 61 6e 65 | 6f 75 73 20 6e 6f 74 65 |scellane|ous note|
|00003db0| 73 7d 0d 0a 0d 0a 20 20 | 20 20 20 20 20 20 41 20 |s}.... | A |
|00003dc0| 64 72 61 77 69 6e 67 20 | 63 61 6e 20 62 65 20 6d |drawing |can be m|
|00003dd0| 61 64 65 20 69 6e 20 65 | 69 74 68 65 72 20 6f 66 |ade in e|ither of|
|00003de0| 20 74 77 6f 20 77 61 79 | 73 2e 20 46 69 72 73 74 | two way|s. First|
|00003df0| 20 74 68 65 20 64 72 61 | 77 69 6e 67 20 63 61 6e | the dra|wing can|
|00003e00| 20 0d 0a 62 65 20 73 70 | 65 63 69 66 69 65 64 20 | ..be sp|ecified |
|00003e10| 62 79 20 73 69 6d 70 6c | 79 20 74 79 70 69 6e 67 |by simpl|y typing|
|00003e20| 20 69 6e 20 61 20 43 20 | 70 72 6f 67 72 61 6d 20 | in a C |program |
|00003e30| 75 73 69 6e 67 20 74 68 | 65 20 62 75 69 6c 74 20 |using th|e built |
|00003e40| 69 6e 20 65 64 69 74 6f | 72 2e 20 4f 66 20 0d 0a |in edito|r. Of ..|
|00003e50| 63 6f 75 72 73 65 20 77 | 69 74 68 20 74 68 69 73 |course w|ith this|
|00003e60| 20 65 64 69 74 6f 72 20 | 69 74 20 69 73 20 65 61 | editor |it is ea|
|00003e70| 73 79 20 74 6f 20 69 6d | 70 6f 72 74 20 63 6f 6d |sy to im|port com|
|00003e80| 70 6f 6e 65 6e 74 73 20 | 6f 66 20 70 72 65 76 69 |ponents |of previ|
|00003e90| 6f 75 73 20 0d 0a 64 72 | 61 77 69 6e 67 73 2e 20 |ous ..dr|awings. |
|00003ea0| 41 20 64 72 61 77 69 6e | 67 20 63 61 6e 20 68 6f |A drawin|g can ho|
|00003eb0| 77 65 76 65 72 20 61 6c | 73 6f 20 62 65 20 6d 61 |wever al|so be ma|
|00003ec0| 64 65 20 75 73 69 6e 67 | 20 74 68 65 20 0d 0a 6d |de using| the ..m|
|00003ed0| 6f 75 73 65 5c 69 6e 64 | 65 78 7b 69 6e 74 65 72 |ouse\ind|ex{inter|
|00003ee0| 61 63 74 69 76 65 20 64 | 72 61 77 69 6e 67 7d 2e |active d|rawing}.|
|00003ef0| 20 46 69 72 73 74 20 74 | 68 65 20 64 65 73 69 72 | First t|he desir|
|00003f00| 65 64 20 64 72 61 77 69 | 6e 67 20 66 75 6e 63 74 |ed drawi|ng funct|
|00003f10| 69 6f 6e 20 69 73 20 0d | 0a 73 65 6c 65 63 74 65 |ion is .|.selecte|
|00003f20| 64 20 75 73 69 6e 67 20 | 74 68 65 20 64 72 6f 70 |d using |the drop|
|00003f30| 20 64 6f 77 6e 20 6d 65 | 6e 75 73 20 6f 6e 20 74 | down me|nus on t|
|00003f40| 68 65 20 74 6f 70 20 72 | 6f 77 2e 20 54 68 65 72 |he top r|ow. Ther|
|00003f50| 65 20 61 72 65 20 6d 65 | 6e 75 20 0d 0a 62 75 74 |e are me|nu ..but|
|00003f60| 74 6f 6e 73 5c 69 6e 64 | 65 78 7b 6d 65 6e 75 73 |tons\ind|ex{menus|
|00003f70| 7d 20 66 6f 72 20 74 68 | 65 20 43 20 6b 65 79 77 |} for th|e C keyw|
|00003f80| 6f 72 64 73 2c 20 64 72 | 61 77 69 6e 67 20 66 75 |ords, dr|awing fu|
|00003f90| 6e 63 74 69 6f 6e 73 2c | 20 6d 69 73 63 65 6c 6c |nctions,| miscell|
|00003fa0| 61 6e 65 6f 75 73 20 0d | 0a 66 75 6e 63 74 69 6f |aneous .|.functio|
|00003fb0| 6e 73 2c 20 61 6e 64 20 | 74 68 65 20 64 65 66 69 |ns, and |the defi|
|00003fc0| 6e 65 64 20 63 6f 6e 73 | 74 61 6e 74 73 2e 20 53 |ned cons|tants. S|
|00003fd0| 65 6c 65 63 74 69 6e 67 | 20 61 6e 20 69 74 65 6d |electing| an item|
|00003fe0| 20 63 61 75 73 65 73 20 | 69 74 20 74 6f 20 62 65 | causes |it to be|
|00003ff0| 20 0d 0a 69 6e 73 65 72 | 74 65 64 20 69 6e 20 74 | ..inser|ted in t|
|00004000| 68 65 20 74 65 78 74 20 | 61 74 20 74 68 65 20 63 |he text |at the c|
|00004010| 75 72 72 65 6e 74 20 74 | 65 78 74 20 63 75 72 73 |urrent t|ext curs|
|00004020| 6f 72 20 70 6f 73 69 74 | 69 6f 6e 2e 20 4d 61 6e |or posit|ion. Man|
|00004030| 79 20 66 75 6e 63 74 69 | 6f 6e 73 20 0d 0a 72 65 |y functi|ons ..re|
|00004040| 71 75 69 72 65 20 63 6f | 6f 72 64 69 6e 61 74 65 |quire co|ordinate|
|00004050| 5c 69 6e 64 65 78 7b 63 | 6f 6f 72 64 69 6e 61 74 |\index{c|oordinat|
|00004060| 65 73 7d 20 70 6f 69 6e | 74 73 20 61 73 20 70 61 |es} poin|ts as pa|
|00004070| 72 61 6d 65 74 65 72 73 | 2e 20 54 68 65 73 65 20 |rameters|. These |
|00004080| 63 61 6e 20 62 65 20 0d | 0a 65 6e 74 65 72 65 64 |can be .|.entered|
|00004090| 20 62 79 20 6d 6f 76 69 | 6e 67 20 74 68 65 20 6d | by movi|ng the m|
|000040a0| 6f 75 73 65 20 74 6f 20 | 74 68 65 20 64 65 73 69 |ouse to |the desi|
|000040b0| 72 65 64 20 6c 6f 63 61 | 74 69 6f 6e 20 6f 6e 20 |red loca|tion on |
|000040c0| 74 68 65 20 64 72 61 77 | 69 6e 67 20 70 61 67 65 |the draw|ing page|
|000040d0| 20 61 6e 64 20 0d 0a 64 | 6f 75 62 6c 65 20 63 6c | and ..d|ouble cl|
|000040e0| 69 63 6b 69 6e 67 20 74 | 68 65 20 6c 65 66 74 20 |icking t|he left |
|000040f0| 6d 6f 75 73 65 20 62 75 | 74 74 6f 6e 2e 20 69 66 |mouse bu|tton. if|
|00004100| 20 74 68 65 20 74 65 78 | 74 20 63 75 72 73 6f 72 | the tex|t cursor|
|00004110| 20 69 73 20 63 75 72 72 | 65 6e 74 6c 79 20 0d 0a | is curr|ently ..|
|00004120| 6c 6f 63 61 74 65 64 20 | 61 74 20 74 68 65 20 73 |located |at the s|
|00004130| 74 61 72 74 20 6f 66 20 | 61 20 63 6f 6f 72 64 69 |tart of |a coordi|
|00004140| 6e 61 74 65 20 70 61 69 | 72 2c 20 74 68 61 74 20 |nate pai|r, that |
|00004150| 63 6f 6f 72 64 69 6e 61 | 74 65 20 0d 0a 70 61 69 |coordina|te ..pai|
|00004160| 72 5c 69 6e 64 65 78 7b | 63 6f 6f 72 64 69 6e 61 |r\index{|coordina|
|00004170| 74 65 73 2c 63 68 61 6e | 67 69 6e 67 7d 20 69 73 |tes,chan|ging} is|
|00004180| 20 65 72 61 73 65 64 20 | 61 6e 64 20 72 65 70 6c | erased |and repl|
|00004190| 61 63 65 64 20 77 69 74 | 68 20 61 20 6e 65 77 20 |aced wit|h a new |
|000041a0| 0d 0a 63 6f 6f 72 64 69 | 6e 61 74 65 20 77 68 65 |..coordi|nate whe|
|000041b0| 6e 20 74 68 65 20 6c 65 | 66 74 20 6d 6f 75 73 65 |n the le|ft mouse|
|000041c0| 20 62 75 74 74 6f 6e 20 | 69 73 20 64 6f 75 62 6c | button |is doubl|
|000041d0| 65 64 20 63 6c 69 63 6b | 65 64 2e 20 49 6e 20 74 |ed click|ed. In t|
|000041e0| 68 69 73 20 77 61 79 20 | 69 74 20 69 73 20 0d 0a |his way |it is ..|
|000041f0| 70 6f 73 73 69 62 6c 65 | 20 74 6f 20 64 72 61 77 |possible| to draw|
|00004200| 20 69 6e 74 65 72 61 63 | 74 69 76 65 6c 79 20 77 | interac|tively w|
|00004210| 69 74 68 20 74 68 65 20 | 6d 6f 75 73 65 20 6f 72 |ith the |mouse or|
|00004220| 20 62 79 20 65 6e 74 65 | 72 69 6e 67 20 74 65 78 | by ente|ring tex|
|00004230| 74 20 77 68 69 63 68 20 | 0d 0a 65 76 65 72 20 69 |t which |..ever i|
|00004240| 73 20 6d 6f 72 65 20 63 | 6f 6e 76 65 6e 69 65 6e |s more c|onvenien|
|00004250| 74 20 66 6f 72 20 74 68 | 65 20 74 61 73 6b 20 61 |t for th|e task a|
|00004260| 74 20 68 61 6e 64 2e 20 | 50 61 72 61 6d 65 74 65 |t hand. |Paramete|
|00004270| 72 20 65 72 72 6f 72 73 | 20 61 72 65 20 6e 6f 74 |r errors| are not|
|00004280| 20 0d 0a 64 65 74 65 63 | 74 65 64 20 75 6e 74 69 | ..detec|ted unti|
|00004290| 6c 20 74 68 65 20 66 69 | 6c 65 20 69 73 20 65 78 |l the fi|le is ex|
|000042a0| 65 63 75 74 65 64 20 75 | 73 69 6e 67 20 43 54 52 |ecuted u|sing CTR|
|000042b0| 4c 20 47 20 6f 72 20 74 | 68 65 20 27 65 78 65 63 |L G or t|he 'exec|
|000042c0| 27 20 6d 65 6e 75 20 62 | 75 74 74 6f 6e 2e 20 0d |' menu b|utton. .|
|000042d0| 0a 1a | |.. | |
+--------+-------------------------+-------------------------+--------+--------+