summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/visualtikz/Source/tkzgraph1.tex
blob: 6fd479057de86041532dc66460c276db0188894b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437

\SbSSCT{Graphe avec TikZ}{Graph with TikZ}

\SbSbSSCT{Graphe à partir d'une liste de points}{From a list of points}
\label{plot}

\RRR{22-2}
\begin{tabular}{|c | } \hline
\BS{tikz} \BS{draw} plot \RDD{coordinates} \AC{(0,0) (1,1) (2,0) (3,1) (4,1) (5,2)}; \\ 
\hline
\tikz \draw plot coordinates {(0,0) (1,1) (2,0) (3,1) (4,1) (5,2)};
\\ \hline
\end{tabular}


\SbSbSSCT{Graphe à partir partir d'un fichier de données}{From a data file}

\begin{tabular}{|c | c | c | c |} \hline
\multicolumn{4}{|c|}{ \BS{tikz} \BS{draw}  plot[mark=x] \RDD{file} \AC{table.dat} ;   }\\ 
\hline
& 
\tikz \draw plot[mark=x,smooth] file {table.dat};
&
\tikz \draw plot[mark=x,smooth,tension=.2] file {table.dat};
&
\tikz \draw plot[mark=x,smooth,tension=1] file {table.dat};
\\ \hline
[mark=x] & [mark=x,\RDD{smooth}] & [mark=x,smooth,\RDD{tension}=.2] & [mark=x,smooth,\RDD{tension}=1]
\\ \hline
\multicolumn{4}{|c|}{ \dft : tension= 0:55}
\\ \hline
\end{tabular}

\bigskip


\begin{tabular}{|c  c |} \hline
\multicolumn{2}{|c|}{\TFRGB{Contenu du fichier}{content of the file} table.dat}
\\ \hline
0.0 & 0.3 \\
0.3 & 0.6 \\
0.6 & 0.9 \\
0.9 & 1.5  \\
1.2 & 0.6  \\
1.5 & 1.2  \\
1.8 & 1.5  \\
2.1 & 2.0 \\
2.4 & 3.0 \\
\hline
\end{tabular}

\bigskip

\SbSbSSCT{Les types de graphes}{Graph types}

\begin{tabular}{|c | c | c | c |} \hline
\multicolumn{4}{|c|}{ \BS{tikz} \BS{draw}  plot[mark=*,\RDD{const plot}] file \AC{table.dat} ;   }\\ 
\hline
\tikz \draw plot[mark=*,const plot] file {table.dat};
&

\tikz \draw plot[const plot mark left,mark=*] file {table.dat};
&
\tikz \draw plot[const plot mark right,mark=*] file {table.dat};
&
\tikz \draw plot[jump mark left, mark=*] file {table.dat};
\\ \hline
\RDD{const plot} & \RDD{const plot mark left} & \RDD{const plot mark right} & \RDD{jump mark left}
\\ \hline
\tikz \draw plot[jump mark right, mark=*] file {table.dat};
&
\tikz \draw plot[ycomb,thin,mark=*] file {table.dat};
&
\tikz \draw plot[xcomb,mark=*] file {table.dat};
&
\tikz \draw plot[only marks,mark=*] file {table.dat};
\\ \hline
\RDD{jump mark right} & \RDD{ycomb} & \RDD{xcomb} & \RDD{only marks}
\\ \hline
\end{tabular}

\bigskip
\begin{tabular}{|c | c | c |c |} \hline

\tikz  \draw plot[polar comb,mark=*]coordinates {(0:1) (60:0.5) (120:1.5) (180:3) (240:.5) (300:1) (0:1)};
\\ \hline
\BS{tikz}  \BS{draw} plot[\RDD{polar comb},mark=*]coordinates \\
\AC{(0:1) (60:0.5) (120:1.5) (180:3) (240:.5) (300:1) (0:1)};
\\ \hline
\end{tabular}

\bigskip

\begin{tabular}{|c | c | c |c |} \hline
\multicolumn{4}{|c|}{ \BS{tikz} \BS{draw}  plot[\RDD{ybar}] file \AC{table.dat} ;   }\\ 
\hline
\tikz \draw plot[ybar] file {table.dat};
&
\tikz \draw plot[ybar interval] file {table.dat};
&
\tikz \draw plot[ybar interval,x=2cm] file {table.dat};
&
\tikz \draw plot[ybar interval,y=.5cm] file {table.dat};
\\ \hline
[\RDD{ybar}] & [\RDD{ybar interval}] & [ybar interval,\RDD{x}=2cm] & [ybar interval,\RDD{y}=.5cm]
\\ \hline
\end{tabular}

\bigskip
 \begin{tabular}{|c|c|}  \hline 
\begin{tikzpicture}[baseline=0pt]
\draw[red,fill=cyan,ybar,bar width=.5cm]plot coordinates{(0,1) (1,1.2) (2,.6) (3,.7) (4,.9)};
\draw[blue,fill=green,ybar,bar width=.5cm,bar shift=.3cm]plot coordinates{(0,1.2) (1,1.3) (2,.5) (3,.2) (4,.5)};
\end{tikzpicture}
&
\parbox[c]{10cm}{
\BS{begin}\AC{tikzpicture} \\
\BS{draw}[red,fill=cyan,ybar,bar width=.5cm] \\
\rule{1cm}{.0pt} plot coordinates \AC{(0,1) (1,1.2) (2,.6) (3,.7) (4,.9)}; \\
\BS{draw}[blue,fill=green,ybar,bar width=.5cm,\RDD{bar shift}=.3cm] \\
\rule{1cm}{.0pt} plot coordinates \AC{(0,1.2) (1,1.3) (2,.5) (3,.2) (4,.5)}; \\
\BS{end}\AC{tikzpicture} }
 \\  \hline 
 \end{tabular} 

\bigskip

\begin{tabular}{|c | c | c | c |c |} \hline
\multicolumn{4}{|c|}{ \BS{tikz} \BS{draw}  plot[xbar interval] file \AC{table.dat} ;   }\\ 
\hline
\tikz \draw[blue] plot[xbar] coordinates{(2,0) (3,1) (1,2) (2,3)};
&
\tikz \draw[blue] plot[xbar interval]  coordinates {(2,0) (3,1) (1,2) (2,3)};
&
\tikz \draw[blue] plot[xbar interval,x=.5cm]  coordinates {(2,0) (3,1) (1,2) (2,3)};
&
\tikz \draw[blue] plot[xbar interval,y=.5cm]  coordinates {(2,0) (3,1) (1,2) (2,3)};
\\ \hline
[\RDD{xbar}] & [\RDD{xbar interval}] & [xbar interval,\RDD{x}=.5cm] & [xbar interval,\RDD{y}=.5cm] 
\\ \hline
\end{tabular}

\newpage

\SbSbSSCT{Graphe à partir d'une fonction}{Graph of a function}


\begin{tabular}{|c | c | c | } \hline
\multicolumn{3}{|c|}{  \BS{draw}  [color=red] plot (\BS{x},\BS{x});   }\\ 
\hline
\begin{tikzpicture}[domain=0:4,ultra thick]

\draw[->,blue,ultra thick] (-.1,0) -- (4.5,0);
\draw[->,blue,ultra thick] (0,-1.1) -- (0,04);
\draw[color=red] plot (\x,\x);
\end{tikzpicture} 
&
\begin{tikzpicture}[domain=0:6.28,ultra thick,x=0.7cm]
\draw[->,blue,ultra thick] (-.1,0) -- (7,0);
\draw[->,blue,ultra thick] (0,-2.5) -- (0,2.5);
\draw[color=red] plot  (\x,{sin(\x r)});
\end{tikzpicture} 
&
\begin{tikzpicture}[domain=0:360,x=0.3,ultra thick]
\draw[->,blue,ultra thick] (-.1,0) -- (370,0);
\draw[->,blue,ultra thick] (0,-2.5) -- (0,2.5);
\draw[color=red] plot (\x,{sin(\x)});
\end{tikzpicture} 
\\ \hline
(\BS{x},\BS{x}) &  (\BS{x},\AC{sin(\BS{x} r)}) & (\BS{x},\AC{sin(\BS{x})}) \\
& x en radian & x en degré
\\ \hline
\end{tabular}

Options 

\begin{tabular}{|c | c |} \hline
\multicolumn{2}{|l|}{ \BS{draw}[color=red,dashed] plot(\BS{x},\AC{sin(\BS{x} r)});}  \\
\multicolumn{2}{|l|}{ \BS{draw}[color=blue,\RDD{samples}=5,mark=*,ultra thick] plot(\BS{x},\AC{sin(\BS{x} r)});} 
\\ \hline
\begin{tikzpicture}[domain=0:6.28]
\draw[very thin,color=gray] (-0.1,-1.1) grid (6.28,1.1);
\draw[color=red,dashed] plot  (\x,{sin(\x r)});
\draw[color=blue,samples=5,mark=*,ultra thick] plot  (\x,{sin(\x r)});
\end{tikzpicture} 
&
\begin{tikzpicture}
\draw[very thin,color=gray] (-0.1,-1.1) grid (6.28,1.1);
\draw[color=red,dashed,domain=0:6.28] plot  (\x,{sin(\x r)});
\draw[color=blue,domain=0:4,ultra thick] plot  (\x,{sin(\x r)});
\end{tikzpicture} 
  \\ \hline
[color=blue,\RDD{samples}=5,mark=*] & [color=blue,\RDD{domain}=0:4]
\\ \hline
\begin{tikzpicture}
\draw[very thin,color=gray] (-0.1,-1.1) grid (6.28,1.1);
\draw[color=red,dashed,domain=0:6.28] plot  (\x,{sin(\x r)});
\draw[color=blue,domain=1:5,ultra thick] plot  (\x,{sin(\x r)});
\end{tikzpicture} 
&
\begin{tikzpicture}[domain=0:6.28]
\draw[very thin,color=gray] (-0.1,-1.1) grid (6.28,1.1);
\draw[color=red,dashed] plot  (\x,{sin(\x r)});
\draw[color=blue,samples at={1,2,4,5},mark=*,ultra thick] plot  (\x,{sin(\x r)});
\end{tikzpicture} 
\\ \hline
[color=blue,\RDD{domain}=1:5] & [color=blue,\RDD{samples at}=\AC{1,2,4,5},mark=*]
\\ \hline
\end{tabular}

\SbSbSSCT{Fonctions paramétriques}{Parametric function}


\begin{tabular}{|c | c |} \hline
\multicolumn{2}{|l|}{  \BS{draw}[domain=-3.141:3.141,smooth,variable=\BS{t}]plot (\AC{sin(\BS{t} r)},\AC{sin(2 *\BS{t} r)});} \\
\multicolumn{2}{|l|}{  \BS{draw}[domain=0:720,smooth,variable=\BS{t}]plot (\AC{sin(\BS{t})},\BS{t}/360,\AC{cos(\BS{t})});} 
\\ \hline

\tikz \draw[domain=-3.141:3.141,smooth,variable=\t,ultra thick]plot ({sin(\t r)},{sin(2*\t r)});
&
\tikz \draw[domain=0:720,smooth,variable=\t,ultra thick] plot ({sin(\t)},\t/360,{cos(\t)});
\\ \hline
(\AC{sin(\BS{t} r)},\AC{sin(2 *\BS{t} r)}) & (\AC{sin(\BS{t})},\BS{t}/360,\AC{cos(\BS{t})})
\\ \hline
\end{tabular} 

\SbSSCT{Marques}{Marks}

\SbSbSSCT{Marques avec TikZ}{Marks with TikZ}

\begin{tabular}{|c | c | c | c |} \hline
\tikz \draw plot[mark=+,mark size=5pt] coordinates {(0,0) (1,1) (2,0)};
&
\tikz \draw plot[mark=x,mark size=5pt] coordinates {(0,0) (1,1) (2,0) };
&
\tikz \draw plot[mark=*,mark size=5pt] coordinates {(0,0) (1,1) (2,0)};
&
\tikz \draw plot[mark=ball,mark size=5pt] coordinates {(0,0) (1,1) (2,0)};
\\ \hline
mark=+ & mark=x & mark=* & mark=ball
\\ \hline
\end{tabular}

\bigskip

\begin{tabular}{|c | c |} \hline
\begin{tikzpicture}[domain=0:6.28]
\draw[very thin,color=gray] (-0.1,-1.1) grid (6.28,1.1);
\draw[color=red,dashed,mark=+] plot  (\x,{sin(\x r)});
\draw[color=blue,mark repeat=3,mark=*] plot  (\x,{sin(\x r)});
\end{tikzpicture} 
&
\begin{tikzpicture}[domain=0:6.28]
\draw[very thin,color=gray] (-0.1,-1.1) grid (6.28,1.1);
\draw[color=red,dashed,mark=+] plot  (\x,{sin(\x r)});
\draw[color=blue,mark repeat=3,mark phase=5,mark=*] plot  (\x,{sin(\x r)});
\end{tikzpicture} 
\\ \hline
[color=blue,\RDD{mark repeat}=3,mark=*] & [color=blue,mark repeat=3,\RDD{mark phase}=5,mark=*]
\\ \hline
\begin{tikzpicture}[domain=0:6.28]
\draw[very thin,color=gray] (-0.1,-1.1) grid (6.28,1.1);
\draw[color=red,dashed,mark=+] plot  (\x,{sin(\x r)});
\draw[color=blue,mark indices={1,4,...,15,17,20},mark=*] plot  (\x,{sin(\x r)});
\end{tikzpicture} 
&
\begin{tikzpicture}[domain=0:6.28]
\draw[very thin,color=gray] (-0.1,-1.1) grid (6.28,1.1);
\draw[color=red,dashed,mark=+] plot  (\x,{sin(\x r)});
\draw[color=blue,mark size=5pt,mark=*] plot  (\x,{sin(\x r)});
\end{tikzpicture} 
\\ \hline
[color=blue,\RDD{mark indices}={1,4,...,15,17,20},mark=*] & [color=blue,\RDD{mark size}=5pt,mark=*]
\\ \hline
\begin{tikzpicture}[domain=0:6.28]
\draw[very thin,color=gray] (-0.1,-1.1) grid (6.28,1.1);

\draw[color=blue,mark size=5pt,mark options={color=magenta},mark=+] plot  (\x,{sin(\x r)});
\end{tikzpicture}
&
\begin{tikzpicture}[domain=0:6.28]
\draw[very thin,color=gray] (-0.1,-1.1) grid (6.28,1.1);

\draw[color=blue,mark size=5pt,mark options={rotate=10},mark=+] plot  (\x,{sin(\x r)});
\end{tikzpicture}
\\ \hline
\RDD{mark options}=\AC{color=magenta},mark=+ & \RDD{mark options}=\AC{rotate=10},mark=+
\\ \hline
\end{tabular}

\SbSbSSCT{Marques personnalisées avec text mark}{Marks with text mark}

\begin{tabular}{|c | c | c |} \hline
\multicolumn{3}{|l|}{ \BS{draw}[\RDD{mark}=\RDDX{text}{mark},\RDD{text mark}=A,mark size=5pt] coordinates \AC{(0,0) (1,1) (2,0)};} 
\\ \hline
\tikz \draw plot[mark=text,text mark=A,mark size=5pt] coordinates {(0,0) (1,1) (2,0)};
&
\tikz \draw plot[mark=text,text mark=Texte,mark size=5pt] coordinates {(0,0) (1,1) (2,0)};
&
\begin{tikzpicture}
\draw[white]  (-1,0)-- (-1,1.5);
 \draw plot[mark=text,text mark=\DFR,mark size=5pt] coordinates {(0,0) (1,1) (2,0)};
\end{tikzpicture} 
\\ \hline
\RDD{text mark}=A &  \RDD{text mark}=Texte & \RDD{text mark}=\BS{DFR} \pageref{DFR} 
\\ \hline 
\multicolumn{3}{|c|}{ 
\begin{tikzpicture}
\draw[white]  (-1,0)-- (-1,1.5);
\draw plot[mark=text,text mark={\includegraphics[width=.5cm]{tiger}} ,mark size=5pt] coordinates {(0,0) (1,1) (2,0)};  
\end{tikzpicture} }
\\ \hline  
\multicolumn{3}{|c|}{ \RDD{text mark}=\AC{\BS{includegraphics}[width=.5cm]\AC{tiger}} }
\\ \hline   
\end{tabular}


\newpage

\SbSbSSCT{Marques avec l'extension plotmarks }{Marks with plotmarks library}

\label{plotmarks}


 \maboite{\BS{usetikzlibrary}\AC{plotmarks}}
 
\begin{center}
\RRR{63}
\end{center}

\begin{tabular}{|c | c | c | c |} \hline
\tikz \draw plot[mark=-,mark size=5pt] coordinates {(0,0) (1,1) (2,0)};
& 
\tikz \draw plot[mark=|,mark size=5pt] coordinates {(0,0) (1,1) (2,0)};
 &
\tikz \draw plot[mark=o,mark size=5pt] coordinates {(0,0) (1,1) (2,0)};
 &
\tikz \draw plot[mark=asterisk,mark size=5pt] coordinates {(0,0) (1,1) (2,0)};
\\ \hline 
mark=\rouge{-} & mark=\rouge{|} & mark=\RDDX{o}{mark} & mark=\RDDX{asterisk}{mark}
\\ \hline
\tikz \draw plot[mark=star,mark size=5pt] coordinates {(0,0) (1,1) (2,0)};
&
\tikz \draw plot[mark=10-pointed star,mark size=5pt] coordinates {(0,0) (1,1) (2,0)};
&
\tikz \draw plot[mark=oplus,mark size=5pt] coordinates {(0,0) (1,1) (2,0)};
&
\tikz \draw plot[mark=oplus*,mark size=5pt] coordinates {(0,0) (1,1) (2,0)};
\\ \hline
mark==\RDDX{star}{mark}  & mark==\RDDX{10-pointed star}{mark}  & mark=\RDDX{oplus}{mark} & mark=\RDDX{oplus*}{mark} 
\\ \hline
 
\tikz \draw plot[mark=otimes,mark size=5pt] coordinates {(0,0) (1,1) (2,0)};
&
\tikz \draw plot[mark=otimes*,mark size=5pt] coordinates {(0,0) (1,1) (2,0)};
&
\tikz \draw plot[mark=square,mark size=5pt] coordinates {(0,0) (1,1) (2,0)};
&
\tikz \draw plot[mark=square*,mark size=5pt] coordinates {(0,0) (1,1) (2,0)};
\\ \hline
 mark=\RDDX{otimes}{mark} & mark=\RDDX{otimes*}{mark} & mark=\RDDX{square}{mark} & mark=\RDDX{square*}{mark}
  \\ \hline
  
\tikz \draw plot[mark=triangle,mark size=5pt] coordinates {(0,0) (1,1) (2,0)};
& 
\tikz \draw plot[mark=triangle*,mark size=5pt] coordinates {(0,0) (1,1) (2,0)};
& 
\tikz \draw plot[mark=diamond,mark size=5pt]  coordinates {(0,0) (1,1) (2,0)};
 &
\tikz \draw plot[mark=diamond*,mark size=5pt] coordinates {(0,0) (1,1) (2,0)};
\\ \hline 
mark=\RDDX{triangle}{mark} & mark=\RDDX{triangle*}{mark} & mark=\RDDX{diamond}{mark} & mark=\RDDX{diamond*}{mark}
\\ \hline 

\tikz \draw plot[mark=halfdiamond*,mark size=5pt] coordinates {(0,0) (1,1) (2,0)};
 &
\tikz \draw plot[mark=halfsquare*,mark size=5pt] coordinates {(0,0) (1,1) (2,0)};
 &
\tikz \draw plot[mark=halfsquare right*,mark size=5pt] coordinates {(0,0) (1,1) (2,0)};
 &
\tikz \draw plot[mark=halfsquare left*,mark size=5pt] coordinates {(0,0) (1,1) (2,0)};
\\ \hline 
mark=\RDDX{halfdiamond*}{mark} & mark=\RDDX{halfsquare*}{mark} & mark=\RDDX{halfsquare right*}{mark} & mark=\RDDX{halfsquare left*}{mark}
\\ \hline 

\tikz \draw plot[mark=pentagon,mark size=5pt] coordinates {(0,0) (1,1) (2,0)};
 &
\tikz \draw plot[mark=pentagon*,mark size=5pt] coordinates {(0,0) (1,1) (2,0)};
 &
\tikz \draw plot[mark=Mercedes star,mark size=5pt] coordinates {(0,0) (1,1) (2,0)};
 &
\tikz \draw plot[mark=Mercedes star flipped,mark size=5pt] coordinates {(0,0) (1,1) (2,0)};
 \\ \hline
 mark=\RDDX{pentagon}{mark} & mark=\RDDX{pentagon*}{mark} & mark=\RDDX{Mercedes star}{mark} & mark=\RDDX{Mercedes star flipped}{mark}
 \\ \hline 
 
\tikz \draw plot[mark=halfcircle,mark size=5pt] coordinates {(0,0) (1,1) (2,0)};
 &
\tikz \draw plot[mark=halfcircle*,mark size=5pt] coordinates {(0,0) (1,1) (2,0)};
& 
\tikz \draw plot[mark=heart,mark size=5pt] coordinates {(0,0) (1,1) (2,0)};
 &
\tikz \draw plot[mark=text,mark size=5pt] coordinates {(0,0) (1,1) (2,0)};
 \\ \hline
 mark=\RDDX{halfcircle}{mark} & mark=\RDDX{halfcircle*}{mark} & mark=\RDDX{heart}{mark} & mark=\RDDX{text}{mark}
  \\ \hline
\end{tabular}

\bigskip

\begin{tabular}{|c | c | c | c |} \hline
\multicolumn{4}{|l|}{ \BS{draw}[mark=halfcircle,\RDD{mark color}=red,mark size=5pt] coordinates \AC{(0,0) (1,1) (2,0)};} 
\\ \hline
\tikz \draw plot[mark=halfcircle,mark color=red,mark size=5pt] coordinates {(0,0) (1,1) (2,0)};
&
\tikz \draw plot[mark=halfcircle*,mark color=red,mark size=5pt] coordinates {(0,0) (1,1) (2,0)};
&
\tikz \draw plot[mark=halfdiamond*,mark color=red,mark size=5pt] coordinates {(0,0) (1,1) (2,0)};
&
\tikz \draw plot[mark=halfsquare*,mark color=red,mark size=5pt] coordinates {(0,0) (1,1) (2,0)};
  \\ \hline
  mark=halfcircle & mark=halfcircle* & mark=halfdiamond* & mark=halfsquare*
   \\ \hline 
\end{tabular}

\SbSSCT{Graphes avec Gnuplot}{Graph with Gnuplot}
 
 \begin{tabular}{|l| } \hline

\BS{draw}[color=red] plot[\RDD{id}=sin] function\AC{sin(x)} ;
   \\ \hline
\\
==> plot[id=sin] \TFRGB{crée le fichier}{create the file} \og sin.gnuplot \fg \\
==>  \TFRGB{Ouvrir le fichier}{Open the file} \og sin.gnuplot \fg \TFRGB{avec le programme gnuplot pour créer le fichier}{with the program gnuplot : creation of the file }   \og sin.table \fg\\
==> \TFRGB{Utiliser le fichier de données} {Use the datafile }
 \og sin.table  \fg   \\ \hline 
\end{tabular}