home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / amiga / plotting / gnuplot3.lzh / gnuplot / docs / latextut / tutorial.tex / node3_ct.html < prev    next >
LaTeX Document  |  1991-08-17  |  2.5 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

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

You can browse this item here: node3_ct.html

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
100% dexvert Texinfo Document (document/texInfo) magic Supported
90% dexvert Hypertext Markup Language File (text/html) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file HTML document text default (weak)
99% file TeX document text default
98% file LaTeX document text default
97% file exported SGML document text default
96% file exported SGML document, ASCII text default
80% TrID HyperText Markup Language with DOCTYPE default
19% TrID HyperText Markup Language default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% gt2 HTML (Hyper Text Markup Language) Datei default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime text/html default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3c 21 44 4f 43 54 59 50 | 45 20 48 54 4d 4c 20 50 |<!DOCTYP|E HTML P|
|00000010| 55 42 4c 49 43 20 22 2d | 2f 2f 57 33 43 2f 2f 44 |UBLIC "-|//W3C//D|
|00000020| 54 44 20 48 54 4d 4c 20 | 33 2e 32 20 46 69 6e 61 |TD HTML |3.2 Fina|
|00000030| 6c 2f 2f 65 6e 22 3e 0a | 0a 3c 21 2d 2d 43 6f 6e |l//en">.|.<!--Con|
|00000040| 76 65 72 74 65 64 20 77 | 69 74 68 20 4c 61 54 65 |verted w|ith LaTe|
|00000050| 58 32 48 54 4d 4c 20 32 | 30 32 32 20 28 52 65 6c |X2HTML 2|022 (Rel|
|00000060| 65 61 73 65 64 20 4a 61 | 6e 75 61 72 79 20 31 2c |eased Ja|nuary 1,|
|00000070| 20 32 30 32 32 29 20 2d | 2d 3e 0a 3c 48 54 4d 4c | 2022) -|->.<HTML|
|00000080| 20 6c 61 6e 67 3d 22 65 | 6e 22 3e 0a 3c 48 45 41 | lang="e|n">.<HEA|
|00000090| 44 3e 0a 3c 54 49 54 4c | 45 3e 43 6f 6e 74 65 6e |D>.<TITL|E>Conten|
|000000a0| 74 73 20 6f 66 20 45 78 | 61 6d 70 6c 65 20 31 3a |ts of Ex|ample 1:|
|000000b0| 3c 2f 54 49 54 4c 45 3e | 0a 0a 3c 4d 45 54 41 20 |</TITLE>|..<META |
|000000c0| 48 54 54 50 2d 45 51 55 | 49 56 3d 22 43 6f 6e 74 |HTTP-EQU|IV="Cont|
|000000d0| 65 6e 74 2d 54 79 70 65 | 22 20 43 4f 4e 54 45 4e |ent-Type|" CONTEN|
|000000e0| 54 3d 22 74 65 78 74 2f | 68 74 6d 6c 3b 20 63 68 |T="text/|html; ch|
|000000f0| 61 72 73 65 74 3d 75 74 | 66 2d 38 22 3e 0a 3c 4d |arset=ut|f-8">.<M|
|00000100| 45 54 41 20 4e 41 4d 45 | 3d 22 76 69 65 77 70 6f |ETA NAME|="viewpo|
|00000110| 72 74 22 20 43 4f 4e 54 | 45 4e 54 3d 22 77 69 64 |rt" CONT|ENT="wid|
|00000120| 74 68 3d 64 65 76 69 63 | 65 2d 77 69 64 74 68 2c |th=devic|e-width,|
|00000130| 20 69 6e 69 74 69 61 6c | 2d 73 63 61 6c 65 3d 31 | initial|-scale=1|
|00000140| 2e 30 22 3e 0a 3c 4d 45 | 54 41 20 4e 41 4d 45 3d |.0">.<ME|TA NAME=|
|00000150| 22 47 65 6e 65 72 61 74 | 6f 72 22 20 43 4f 4e 54 |"Generat|or" CONT|
|00000160| 45 4e 54 3d 22 4c 61 54 | 65 58 32 48 54 4d 4c 20 |ENT="LaT|eX2HTML |
|00000170| 76 32 30 32 32 22 3e 0a | 0a 3c 4c 49 4e 4b 20 52 |v2022">.|.<LINK R|
|00000180| 45 4c 3d 22 53 54 59 4c | 45 53 48 45 45 54 22 20 |EL="STYL|ESHEET" |
|00000190| 48 52 45 46 3d 22 74 75 | 74 6f 72 69 61 6c 2e 63 |HREF="tu|torial.c|
|000001a0| 73 73 22 3e 0a 0a 3c 4c | 49 4e 4b 20 52 45 4c 3d |ss">..<L|INK REL=|
|000001b0| 22 6e 65 78 74 22 20 48 | 52 45 46 3d 22 6e 6f 64 |"next" H|REF="nod|
|000001c0| 65 34 5f 6d 6e 2e 68 74 | 6d 6c 22 3e 0a 3c 4c 49 |e4_mn.ht|ml">.<LI|
|000001d0| 4e 4b 20 52 45 4c 3d 22 | 70 72 65 76 69 6f 75 73 |NK REL="|previous|
|000001e0| 22 20 48 52 45 46 3d 22 | 6e 6f 64 65 32 5f 6d 6e |" HREF="|node2_mn|
|000001f0| 2e 68 74 6d 6c 22 3e 0a | 3c 4c 49 4e 4b 20 52 45 |.html">.|<LINK RE|
|00000200| 4c 3d 22 75 70 22 20 48 | 52 45 46 3d 22 6e 6f 64 |L="up" H|REF="nod|
|00000210| 65 32 5f 6d 6e 2e 68 74 | 6d 6c 22 3e 0a 3c 4c 49 |e2_mn.ht|ml">.<LI|
|00000220| 4e 4b 20 52 45 4c 3d 22 | 6e 65 78 74 22 20 48 52 |NK REL="|next" HR|
|00000230| 45 46 3d 22 6e 6f 64 65 | 34 5f 6d 6e 2e 68 74 6d |EF="node|4_mn.htm|
|00000240| 6c 22 3e 0a 3c 2f 48 45 | 41 44 3e 0a 20 0a 3c 42 |l">.</HE|AD>. .<B|
|00000250| 4f 44 59 20 62 67 63 6f | 6c 6f 72 3d 22 23 66 66 |ODY bgco|lor="#ff|
|00000260| 66 66 66 66 22 20 74 65 | 78 74 3d 22 23 30 30 30 |ffff" te|xt="#000|
|00000270| 30 30 30 22 20 6c 69 6e | 6b 3d 22 23 39 39 34 34 |000" lin|k="#9944|
|00000280| 45 45 22 20 76 6c 69 6e | 6b 3d 22 23 30 30 30 30 |EE" vlin|k="#0000|
|00000290| 66 66 22 20 61 6c 69 6e | 6b 3d 22 23 30 30 66 66 |ff" alin|k="#00ff|
|000002a0| 30 30 22 3e 0a 0a 3c 48 | 34 3e 3c 41 20 49 44 3d |00">..<H|4><A ID=|
|000002b0| 22 53 45 43 54 49 4f 4e | 30 30 30 32 30 30 31 30 |"SECTION|00020010|
|000002c0| 30 30 30 30 30 30 30 30 | 30 30 30 30 22 3e 0a 45 |00000000|0000">.E|
|000002d0| 78 61 6d 70 6c 65 20 31 | 3a 3c 2f 41 3e 0a 3c 2f |xample 1|:</A>.</|
|000002e0| 48 34 3e 20 48 65 72 65 | 20 69 73 20 61 20 66 69 |H4> Here| is a fi|
|000002f0| 72 73 74 20 65 78 61 6d | 70 6c 65 2c 20 70 72 6f |rst exam|ple, pro|
|00000300| 64 75 63 69 6e 67 20 61 | 20 70 6c 6f 74 20 66 6f |ducing a| plot fo|
|00000310| 72 0a 74 68 69 73 20 64 | 6f 63 75 6d 65 6e 74 2e |r.this d|ocument.|
|00000320| 20 54 68 65 20 47 4e 55 | 50 4c 4f 54 20 69 6e 70 | The GNU|PLOT inp|
|00000330| 75 74 20 66 69 6c 65 20 | 69 73 20 67 69 76 65 6e |ut file |is given|
|00000340| 20 62 65 6c 6f 77 2c 20 | 61 6e 64 20 74 68 65 20 | below, |and the |
|00000350| 6f 75 74 70 75 74 0a 61 | 70 70 65 61 72 73 20 61 |output.a|ppears a|
|00000360| 73 20 46 69 67 75 72 65 | 26 6e 62 73 70 3b 3c 41 |s Figure|&nbsp;<A|
|00000370| 20 48 52 45 46 3d 22 6e | 6f 64 65 33 5f 63 74 2e | HREF="n|ode3_ct.|
|00000380| 68 74 6d 6c 23 65 67 31 | 22 3e 3c 49 4d 47 20 20 |html#eg1|"><IMG |
|00000390| 41 4c 54 3d 22 5b 2a 5d | 22 20 53 52 43 3d 22 63 |ALT="[*]|" SRC="c|
|000003a0| 72 6f 73 73 72 65 66 2e | 70 6e 67 22 3e 3c 2f 41 |rossref.|png"></A|
|000003b0| 3e 2e 20 54 68 65 20 69 | 6e 70 75 74 20 66 69 6c |>. The i|nput fil|
|000003c0| 65 20 64 65 66 69 6e 65 | 73 20 74 68 65 20 6f 75 |e define|s the ou|
|000003d0| 74 70 75 74 20 74 6f 20 | 62 65 0a 69 6e 20 4c 3c |tput to |be.in L<|
|000003e0| 53 55 50 3e 3c 53 4d 41 | 4c 4c 3e 41 3c 2f 53 4d |SUP><SMA|LL>A</SM|
|000003f0| 41 4c 4c 3e 3c 2f 53 55 | 50 3e 54 3c 53 4d 41 4c |ALL></SU|P>T<SMAL|
|00000400| 4c 3e 45 3c 2f 53 4d 41 | 4c 4c 3e 58 2c 20 67 69 |L>E</SMA|LL>X, gi|
|00000410| 76 65 73 20 61 20 66 69 | 6c 65 20 6e 61 6d 65 20 |ves a fi|le name |
|00000420| 66 6f 72 20 74 68 65 20 | 6f 75 74 70 75 74 2c 20 |for the |output, |
|00000430| 61 6e 64 20 70 6c 6f 74 | 73 20 3c 49 3e 79 3c 2f |and plot|s <I>y</|
|00000440| 49 3e 20 3d 20 3c 49 3e | 73 69 6e 3c 2f 49 3e 28 |I> = <I>|sin</I>(|
|00000450| 3c 49 3e 78 3c 2f 49 3e | 29 20 66 6f 72 0a 3c 49 |<I>x</I>|) for.<I|
|00000460| 3e 78 3c 2f 49 3e 20 6f | 6e 20 3c 21 2d 2d 20 4d |>x</I> o|n <!-- M|
|00000470| 41 54 48 0a 20 24 5b 2d | 5c 70 69 2c 5c 70 69 5d |ATH. $[-|\pi,\pi]|
|00000480| 24 0a 20 2d 2d 3e 0a 5b | 2d 20 3c 49 3e 26 23 39 |$. -->.[|- <I>&#9|
|00000490| 36 30 3b 3c 2f 49 3e 2c | 20 3c 49 3e 26 23 39 36 |60;</I>,| <I>&#96|
|000004a0| 30 3b 3c 2f 49 3e 5d 2e | 20 54 6f 20 70 72 6f 64 |0;</I>].| To prod|
|000004b0| 75 63 65 20 74 68 65 20 | 66 69 67 75 72 65 2c 20 |uce the |figure, |
|000004c0| 49 20 73 69 6d 70 6c 79 | 0a 3c 63 6f 64 65 3e 5c |I simply|.<code>\|
|000004d0| 69 6e 70 75 74 7b 65 67 | 31 7d 3c 2f 63 6f 64 65 |input{eg|1}</code|
|000004e0| 3e 20 69 6e 20 61 20 3c | 54 54 3e 63 65 6e 74 65 |> in a <|TT>cente|
|000004f0| 72 3c 2f 54 54 3e 20 65 | 6e 76 69 72 6f 6e 6d 65 |r</TT> e|nvironme|
|00000500| 6e 74 20 69 6e 20 61 20 | 3c 54 54 3e 66 69 67 75 |nt in a |<TT>figu|
|00000510| 72 65 3c 2f 54 54 3e 0a | 65 6e 76 69 72 6f 6e 6d |re</TT>.|environm|
|00000520| 65 6e 74 2e 20 49 6e 20 | 66 6f 6c 6c 6f 77 69 6e |ent. In |followin|
|00000530| 67 20 65 78 61 6d 70 6c | 65 73 2c 20 49 20 77 69 |g exampl|es, I wi|
|00000540| 6c 6c 20 65 6e 63 6c 6f | 73 65 20 74 68 65 20 66 |ll enclo|se the f|
|00000550| 69 67 75 72 65 20 69 6e | 20 61 20 62 6f 78 0a 74 |igure in| a box.t|
|00000560| 6f 20 6d 61 6b 65 20 69 | 74 20 6c 6f 6f 6b 20 61 |o make i|t look a|
|00000570| 20 6c 69 74 74 6c 65 20 | 62 65 74 74 65 72 2e 0a | little |better..|
|00000580| 0a 3c 50 3e 0a 20 0a 3c | 50 52 45 3e 0a 20 20 20 |.<P>. .<|PRE>. |
|00000590| 20 73 65 74 20 74 65 72 | 6d 69 6e 61 6c 20 6c 61 | set ter|minal la|
|000005a0| 74 65 78 0a 20 20 20 20 | 73 65 74 20 6f 75 74 70 |tex. |set outp|
|000005b0| 75 74 20 22 65 67 31 2e | 74 65 78 22 0a 20 20 20 |ut "eg1.|tex". |
|000005c0| 20 70 6c 6f 74 20 5b 2d | 33 2e 31 34 3a 33 2e 31 | plot [-|3.14:3.1|
|000005d0| 34 5d 20 73 69 6e 28 78 | 29 0a 3c 2f 50 52 45 3e |4] sin(x|).</PRE>|
|000005e0| 0a 0a 3c 50 3e 0a 0a 3c | 44 49 56 20 63 6c 61 73 |..<P>..<|DIV clas|
|000005f0| 73 3d 22 43 45 4e 54 45 | 52 22 3e 3c 41 20 49 44 |s="CENTE|R"><A ID|
|00000600| 3d 22 65 67 31 22 3e 3c | 2f 41 3e 3c 41 20 49 44 |="eg1"><|/A><A ID|
|00000610| 3d 22 38 31 22 3e 3c 2f | 41 3e 0a 3c 54 41 42 4c |="81"></|A>.<TABL|
|00000620| 45 3e 0a 3c 43 41 50 54 | 49 4f 4e 20 63 6c 61 73 |E>.<CAPT|ION clas|
|00000630| 73 3d 22 42 4f 54 54 4f | 4d 22 3e 3c 53 54 52 4f |s="BOTTO|M"><STRO|
|00000640| 4e 47 3e 46 69 67 75 72 | 65 3a 3c 2f 53 54 52 4f |NG>Figur|e:</STRO|
|00000650| 4e 47 3e 0a 41 20 66 69 | 72 73 74 20 65 78 61 6d |NG>.A fi|rst exam|
|00000660| 70 6c 65 3a 20 3c 49 3e | 79 3c 2f 49 3e 20 3d 20 |ple: <I>|y</I> = |
|00000670| 3c 49 3e 73 69 6e 3c 2f | 49 3e 28 3c 49 3e 78 3c |<I>sin</|I>(<I>x<|
|00000680| 2f 49 3e 29 3c 2f 43 41 | 50 54 49 4f 4e 3e 0a 3c |/I>)</CA|PTION>.<|
|00000690| 54 52 3e 3c 54 44 3e 3c | 49 4d 47 0a 20 53 54 59 |TR><TD><|IMG. STY|
|000006a0| 4c 45 3d 22 22 20 53 52 | 43 3d 22 69 6d 67 31 2e |LE="" SR|C="img1.|
|000006b0| 70 6e 67 22 0a 20 41 4c | 54 3d 22 5c 62 65 67 69 |png". AL|T="\begi|
|000006c0| 6e 7b 66 69 67 75 72 65 | 7d 5c 62 65 67 69 6e 7b |n{figure|}\begin{|
|000006d0| 63 65 6e 74 65 72 7d 0a | 25 0a 5c 69 6e 70 75 74 |center}.|%.\input|
|000006e0| 7b 65 67 31 7d 0a 5c 65 | 6e 64 7b 63 65 6e 74 65 |{eg1}.\e|nd{cente|
|000006f0| 72 7d 0a 5c 65 6e 64 7b | 66 69 67 75 72 65 7d 22 |r}.\end{|figure}"|
|00000700| 3e 3c 2f 54 44 3e 3c 2f | 54 52 3e 0a 3c 2f 54 41 |></TD></|TR>.</TA|
|00000710| 42 4c 45 3e 0a 3c 2f 44 | 49 56 3e 0a 0a 3c 50 3e |BLE>.</D|IV>..<P>|
|00000720| 0a 4e 6f 74 65 20 74 68 | 61 74 20 47 4e 55 50 4c |.Note th|at GNUPL|
|00000730| 4f 54 20 68 61 73 20 64 | 72 61 77 6e 20 69 6e 20 |OT has d|rawn in |
|00000740| 74 68 65 20 61 78 65 73 | 2c 20 6c 61 62 65 6c 65 |the axes|, labele|
|00000750| 64 20 74 68 65 20 74 69 | 63 20 6d 61 72 6b 73 20 |d the ti|c marks |
|00000760| 66 6f 72 20 75 73 2c 0a | 73 63 61 6c 65 64 20 74 |for us,.|scaled t|
|00000770| 68 65 20 3c 49 3e 79 3c | 2f 49 3e 20 61 78 69 73 |he <I>y<|/I> axis|
|00000780| 20 61 75 74 6f 6d 61 74 | 69 63 61 6c 6c 79 2c 20 | automat|ically, |
|00000790| 61 6e 64 20 61 64 64 65 | 64 20 61 20 6b 65 79 20 |and adde|d a key |
|000007a0| 69 6e 20 74 68 65 0a 75 | 70 70 65 72 2d 72 69 67 |in the.u|pper-rig|
|000007b0| 68 74 2d 68 61 6e 64 20 | 63 6f 72 6e 65 72 20 28 |ht-hand |corner (|
|000007c0| 74 68 69 73 20 6d 61 79 | 20 62 65 20 6d 6f 76 65 |this may| be move|
|000007d0| 64 20 77 69 74 68 20 74 | 68 65 20 3c 54 54 3e 73 |d with t|he <TT>s|
|000007e0| 65 74 20 6b 65 79 3c 2f | 54 54 3e 0a 63 6f 6d 6d |et key</|TT>.comm|
|000007f0| 61 6e 64 2c 20 61 6e 64 | 20 72 65 6d 6f 76 65 64 |and, and| removed|
|00000800| 20 77 69 74 68 20 3c 54 | 54 3e 73 65 74 20 6e 6f | with <T|T>set no|
|00000810| 6b 65 79 3c 2f 54 54 3e | 29 2e 0a 0a 3c 50 3e 0a |key</TT>|)...<P>.|
|00000820| 54 68 69 73 20 69 73 20 | 74 68 65 20 64 65 66 61 |This is |the defa|
|00000830| 75 6c 74 20 6c 69 6e 65 | 20 73 74 79 6c 65 20 66 |ult line| style f|
|00000840| 6f 72 20 74 68 65 20 4c | 3c 53 55 50 3e 3c 53 4d |or the L|<SUP><SM|
|00000850| 41 4c 4c 3e 41 3c 2f 53 | 4d 41 4c 4c 3e 3c 2f 53 |ALL>A</S|MALL></S|
|00000860| 55 50 3e 54 3c 53 4d 41 | 4c 4c 3e 45 3c 2f 53 4d |UP>T<SMA|LL>E</SM|
|00000870| 41 4c 4c 3e 58 20 64 72 | 69 76 65 72 2e 20 20 42 |ALL>X dr|iver. B|
|00000880| 65 63 61 75 73 65 20 6f | 66 20 74 68 65 0a 6c 69 |ecause o|f the.li|
|00000890| 6d 69 74 65 64 20 70 69 | 63 74 75 72 65 20 63 61 |mited pi|cture ca|
|000008a0| 70 61 62 69 6c 69 74 69 | 65 73 20 6f 66 20 4c 3c |pabiliti|es of L<|
|000008b0| 53 55 50 3e 3c 53 4d 41 | 4c 4c 3e 41 3c 2f 53 4d |SUP><SMA|LL>A</SM|
|000008c0| 41 4c 4c 3e 3c 2f 53 55 | 50 3e 54 3c 53 4d 41 4c |ALL></SU|P>T<SMAL|
|000008d0| 4c 3e 45 3c 2f 53 4d 41 | 4c 4c 3e 58 2c 20 6d 61 |L>E</SMA|LL>X, ma|
|000008e0| 6e 79 20 64 6f 74 73 20 | 61 72 65 20 72 65 71 75 |ny dots |are requ|
|000008f0| 69 72 65 64 20 74 6f 0a | 61 70 70 72 6f 78 69 6d |ired to.|approxim|
|00000900| 61 74 65 20 64 72 61 77 | 69 6e 67 20 61 20 73 6f |ate draw|ing a so|
|00000910| 6c 69 64 20 6c 69 6e 65 | 2e 20 54 68 69 73 20 6d |lid line|. This m|
|00000920| 61 79 20 6f 76 65 72 6c | 6f 61 64 20 74 68 65 20 |ay overl|oad the |
|00000930| 6d 65 6d 6f 72 79 20 6f | 66 20 6d 61 6e 79 0a 54 |memory o|f many.T|
|00000940| 3c 53 4d 41 4c 4c 3e 45 | 3c 2f 53 4d 41 4c 4c 3e |<SMALL>E|</SMALL>|
|00000950| 58 20 69 6d 70 6c 65 6d | 65 6e 74 61 74 69 6f 6e |X implem|entation|
|00000960| 73 2e 20 54 68 65 72 65 | 20 61 72 65 20 6f 74 68 |s. There| are oth|
|00000970| 65 72 20 6c 69 6e 65 20 | 74 79 70 65 73 20 61 76 |er line |types av|
|00000980| 61 69 6c 61 62 6c 65 20 | 74 68 61 74 20 64 72 61 |ailable |that dra|
|00000990| 77 0a 64 6f 74 74 65 64 | 20 6c 69 6e 65 73 20 61 |w.dotted| lines a|
|000009a0| 6e 64 20 75 73 65 20 6d | 75 63 68 20 6c 65 73 73 |nd use m|uch less|
|000009b0| 20 6d 65 6d 6f 72 79 2e | 20 54 68 65 20 45 45 50 | memory.| The EEP|
|000009c0| 49 43 20 64 72 69 76 65 | 72 20 64 72 61 77 73 20 |IC drive|r draws |
|000009d0| 73 6f 6c 69 64 0a 6c 69 | 6e 65 73 20 77 69 74 68 |solid.li|nes with|
|000009e0| 20 6d 75 63 68 20 6c 65 | 73 73 20 6d 65 6d 6f 72 | much le|ss memor|
|000009f0| 79 20 75 73 61 67 65 2e | 0a 0a 3c 50 3e 0a 0a 3c |y usage.|..<P>..<|
|00000a00| 48 52 3e 0a 0a 3c 2f 42 | 4f 44 59 3e 0a 3c 2f 48 |HR>..</B|ODY>.</H|
|00000a10| 54 4d 4c 3e 0a | |TML>. | |
+--------+-------------------------+-------------------------+--------+--------+