Debian Codegraph @

texmf-dist/doc/latex/visualpstricks/Source/eff3.tex

raw
1
2
3
4 %\TFRGB{Utilisation du module}{Package} \textbf{pst-slpe}
5 \label{pst-slpe}
6
7
8
9 \begin{center}
10 \begin{tabular}{|c|c|c|c|c|c|} \hline
11 \multicolumn{6}{|c|}{\BS{psframe}[\RDD{fillstyle=slope} ](0.5,0.5)(2.5,2.5) \RDI{fillstyle}{pst-slpe} } \\ \hline
12
13 \begin{pspicture}(2,2)
14 \psframe[fillstyle=slope](0.3,.3)(1.7,1.7)
15 \end{pspicture}
16 &
17 \begin{pspicture}(2,2)
18 \psframe[fillstyle=ccslope](0.3,.3)(1.7,1.7)
19 \end{pspicture}
20 &
21 \begin{pspicture}(2,2)
22 \psframe[fillstyle=radslope](0.3,.3)(1.7,1.7)
23 \end{pspicture}
24 &
25 \begin{pspicture}(2,2)
26 \psframe[fillstyle=slopes](0.3,.3)(1.7,1.7)
27 \end{pspicture}
28 &
29 \begin{pspicture}(2,2)
30 \psframe[fillstyle=ccslopes](0.3,.3)(1.7,1.7)
31 \end{pspicture}
32 &
33 \begin{pspicture}(2,2)
34 \psframe[fillstyle=radslopes](0.3,.3)(1.7,1.7)
35 \end{pspicture} \\ \hline
36 slope \BDI{slope}{pst-slpe} &
37 ccslope \BDI{ccslope}{pst-slpe}&
38 radslope \BDI{radslope}{pst-slpe}&
39 slopes \BDI{slopes}{pst-slpe}&
40 ccslopes \BDI{ccslopes}{pst-slpe}&
41 radslopes \BDI{radslopes}{pst-slpe} \\ \hline
42 \end{tabular}
43 \end{center}
44 %
45 %%-------------------------------------------------------------
46
47
48
49 \begin{center}
50 \begin{tabular}{|c|c|c|c|} \hline
51 \multicolumn{4}{|c|}{\BS{}psframe[fillstyle=slope](0.5,0.5)(2.5,1.5) } \\ \hline
52 \begin{pspicture}(0,.3)(3,1.7)
53 \psframe[fillstyle=slope](0.5,.5)(2.5,1.5)
54 \end{pspicture}
55 &
56 \begin{pspicture}(0,.3)(3,1.7)
57 \psframe[fillstyle=slope,slopebegin=green](0.5,.5)(2.5,1.5)
58 \end{pspicture}
59 &
60 \begin{pspicture}(0,.3)(3,1.7)
61 \psframe[fillstyle=slope,slopeend=green](0.5,.5)(2.5,1.5)
62 \end{pspicture}
63 &
64 \begin{pspicture}(0,.3)(3,1.7)
65 \psframe[fillstyle=slope,slopebegin=red,slopeend=green](0.5,.5)(2.5,1.5)
66 \end{pspicture} \\ \hline
67 {\blue \dft} &
68 \RDD{slopebegin}=green \RDI{slopebegin}{pst-slpe} &
69 &
70 \RDD{slopebegin}=red \\
71 &
72 &
73 \RDD{slopeend}=green \RDI{slopeend}{pst-slpe} & \RDD{slopeend}=green \\ \hline
74 \end{tabular}
75 \end{center}
76 %
77 %%---------------------------------------------------
78
79 \begin{center}
80 \begin{tabular}{|c|c|c|c|} \hline
81 \begin{pspicture}(0,-.3)(10,1.8)
82 \psframe[fillstyle=slopes,slopecolors=0 1 0 0 4 0 1 0 7 0 0 1 3](1,0.5)(9,1.5)
83 \psaxes[linecolor=black,xsubticks=10,linewidth=1pt,linestyle=dashed,yAxis=false]{->}(0,0)(10,0)
84
85 \end{pspicture} \\ \hline
86
87 \BS{psframe}[fillstyle=slopes,\RDD{slopecolors}= \psframebox{\red 0} \psovalbox{1 0 0} \psframebox{\red 4} \psovalbox{0 1 0} \psframebox{\red 7} \psovalbox{0 0 1} \psframebox{\blue 3}](1,.5)(9,2.5) \RDI{slopecolors}{pst-slpe}\\ \hline
88 \psframebox{\red Position} \psovalbox{couleur en RGB} \psframebox{\blue nombre de couleurs}\\ \hline
89 \end{tabular}
90 \end{center}
91 %
92 %%---------------------------------------------------
93
94 \begin{center}
95 \begin{tabular}{|c|c|c|c|c|c|} \hline
96 \multicolumn{6}{|c|}{\BS{}psframe[ fillstyle=slope,\RDD{slopesteps}=5 ](0.3,0.3)(1.7,1.7) {\blue (\dft : 100)} \RDI{slopesteps}{pst-slpe} } \\ \hline
97
98 \begin{pspicture}(2,2)
99 \psframe[fillstyle=slope,slopesteps=5](0.3,.3)(1.7,1.7)
100 \end{pspicture}
101 &
102 \begin{pspicture}(2,2)
103 \psframe[fillstyle=ccslope,slopesteps=5](0.3,.3)(1.7,1.7)
104 \end{pspicture}
105 &
106 \begin{pspicture}(2,2)
107 \psframe[fillstyle=radslope,slopesteps=5](0.3,.3)(1.7,1.7)
108 \end{pspicture}
109 &
110 \begin{pspicture}(2,2)
111 \psframe[fillstyle=slopes,slopesteps=5](0.3,.3)(1.7,1.7)
112 \end{pspicture}
113 &
114 \begin{pspicture}(2,2)
115 \psframe[fillstyle=ccslopes,slopesteps=5](0.3,.3)(1.7,1.7)
116 \end{pspicture}
117 &
118 \begin{pspicture}(2,2)
119 \psframe[fillstyle=radslopes,slopesteps=5](0.3,.3)(1.7,1.7)
120 \end{pspicture} \\ \hline
121 slope & ccslope & radslope &
122 slopes & ccslopes & radslopes \\ \hline
123 \end{tabular}
124 \end{center}
125 %
126 %%-------------------------------------------------------------
127 %
128
129 \begin{center}
130 \begin{tabular}{|c|c|c|c|c|c|} \hline
131 \multicolumn{6}{|c|}{\BS{}psframe[ fillstyle=slope,\RDD{slopeangle}=45 ](0.5,0.5)(2.5,2.5) {\blue ( \dft 0)} \RDI{slopeangle}{pst-slpe} } \\ \hline
132
133 \begin{pspicture}(2,2)
134 \psframe[fillstyle=slope,slopeangle=45](0.3,.3)(1.7,1.7)
135 \end{pspicture}
136 &
137 \begin{pspicture}(2,2)
138 \psframe[fillstyle=ccslope,slopeangle=45](0.3,.3)(1.7,1.7)
139 \end{pspicture}
140 &
141 \begin{pspicture}(2,2)
142 \psframe[fillstyle=radslope,slopeangle=45](0.3,.3)(1.7,1.7)
143 \end{pspicture}
144 &
145 \begin{pspicture}(2,2)
146 \psframe[fillstyle=slopes,slopeangle=45](0.3,.3)(1.7,1.7)
147 \end{pspicture}
148 &
149 \begin{pspicture}(2,2)
150 \psframe[fillstyle=ccslopes,slopeangle=45](0.3,.3)(1.7,1.7)
151 \end{pspicture}
152 &
153 \begin{pspicture}(2,2)
154 \psframe[fillstyle=radslopes,slopeangle=45](0.3,.3)(1.7,1.7)
155 \end{pspicture} \\ \hline
156 slope & ccslope & radslope &
157 slopes & ccslopes & radslopes \\ \hline
158 \end{tabular}
159 \end{center}
160 %
161 %%-------------------------------------------------------------
162
163
164 \begin{center}
165 \begin{tabular}{|c|c|c|c|c|c|} \hline
166 \multicolumn{6}{|c|}{\BS{}psframe[ fillstyle=slope,\RDD{slopecenter}= .25 .25](0.5,0.5)(2.5,2.5) {\blue (\dft .5 .5)} \RDI{slopecenter}{pst-slpe} } \\ \hline
167
168 \begin{pspicture}(2,2)
169 \psframe[fillstyle=slope,slopecenter= .25 .25](0.3,.3)(1.7,1.7)
170 \end{pspicture}
171 &
172 \begin{pspicture}(2,2)
173 \psframe[fillstyle=ccslope,slopecenter= .25 .25](0.3,.3)(1.7,1.7)
174 \end{pspicture}
175 &
176 \begin{pspicture}(2,2)
177 \psframe[fillstyle=radslope,slopecenter= .25 .25](0.3,.3)(1.7,1.7)
178 \end{pspicture}
179 &
180 \begin{pspicture}(2,2)
181 \psframe[fillstyle=slopes,slopecenter= .25 .25](0.3,.3)(1.7,1.7)
182 \end{pspicture}
183 &
184 \begin{pspicture}(2,2)
185 \psframe[fillstyle=ccslopes,slopecenter= .25 .25](0.3,.3)(1.7,1.7)
186 \end{pspicture}
187 &
188 \begin{pspicture}(2,2)
189 \psframe[fillstyle=radslopes,slopecenter= .25 .25](0.3,.3)(1.7,1.7)
190 \end{pspicture} \\ \hline
191 slope & ccslope & radslope &
192 slopes & ccslopes & radslopes \\ \hline
193 \end{tabular}
194 \end{center}
195
196 %%-------------------------------------------------------------
197
198 \begin{center}
199 \begin{tabular}{|c|c|c|c|c|c|} \hline
200 \multicolumn{6}{|c|}{\BS{}psframe[ fillstyle=slope,\RDD{sloperadius} =.75 ](0.5,0.5)(2.5,2.5) {\blue (\dft 0.5cm) } \RDI{sloperadius}{pst-slpe} } \\ \hline
201
202 \begin{pspicture}(2,2)
203 \psframe[fillstyle=slope,sloperadius =.75](0.3,.3)(1.7,1.7)
204 \end{pspicture}
205 &
206 \begin{pspicture}(2,2)
207 \psframe[fillstyle=ccslope,sloperadius =.75](0.3,.3)(1.7,1.7)
208 \end{pspicture}
209 &
210 \begin{pspicture}(2,2)
211 \psframe[fillstyle=radslope,sloperadius =.75](0.3,.3)(1.7,1.7)
212 \end{pspicture}
213 &
214 \begin{pspicture}(2,2)
215 \psframe[fillstyle=slopes,sloperadius =.75](0.3,.3)(1.7,1.7)
216 \end{pspicture}
217 &
218 \begin{pspicture}(2,2)
219 \psframe[fillstyle=ccslopes,sloperadius =.75](0.3,.3)(1.7,1.7)
220 \end{pspicture}
221 &
222 \begin{pspicture}(2,2)
223 \psframe[fillstyle=radslopes,sloperadius =.75](0.3,.3)(1.7,1.7)
224 \end{pspicture} \\ \hline
225 slope & ccslope & radslope &
226 slopes & ccslopes & radslopes \\ \hline
227 \end{tabular}
228 \end{center}
229 %
230 %%-------------------------------------------------------------
231
232 \begin{center}
233 \begin{tabular}{|c|c|c|c|c|c|} \hline
234 \multicolumn{6}{|c|}{\BS{}psframe[\RDD{fading}, fillstyle=slope](0.5,0.5)(2.5,2.5) \RDI{fading}{pst-slpe} } \\ \hline
235
236 \begin{pspicture}(2,2)
237 \psframe[fading,fillstyle=slope](0.3,.3)(1.7,1.7)
238 \end{pspicture}
239 &
240 \begin{pspicture}(2,2)
241 \psframe[fading,fillstyle=ccslope](0.3,.3)(1.7,1.7)
242 \end{pspicture}
243 &
244 \begin{pspicture}(2,2)
245 \psframe[fading,fillstyle=radslope](0.3,.3)(1.7,1.7)
246 \end{pspicture}
247 &
248 \begin{pspicture}(2,2)
249 \psframe[fading,fillstyle=slopes](0.3,.3)(1.7,1.7)
250 \end{pspicture}
251 &
252 \begin{pspicture}(2,2)
253 \psframe[fading,fillstyle=ccslopes](0.3,.3)(1.7,1.7)
254 \end{pspicture}
255 &
256 \begin{pspicture}(2,2)
257 \psframe[fading,fillstyle=radslopes](0.3,.3)(1.7,1.7)
258 \end{pspicture} \\ \hline
259 slope & ccslope & radslope &
260 slopes & ccslopes & radslopes \\ \hline
261 \end{tabular}
262 \end{center}
263 %
264 %%-------------------------------------------------------------
265
266
267 \begin{center}
268 \begin{tabular}{|c|c|c|c|c|c|} \hline
269 \multicolumn{6}{|c|}{\BS{}psframe[fading, \RDD{startfading}=0.5, fillstyle=slope](0.5,0.5)(2.5,2.5) \RDI{startfading}{pst-slpe} } \\ \hline
270
271 \begin{pspicture}(2,2)
272 \psframe[fading,startfading=0.5,fillstyle=slope](0.3,.3)(1.7,1.7)
273 \end{pspicture}
274 &
275 \begin{pspicture}(2,2)
276 \psframe[fading,startfading=0.5,fillstyle=ccslope](0.3,.3)(1.7,1.7)
277 \end{pspicture}
278 &
279 \begin{pspicture}(2,2)
280 \psframe[fading,startfading=0.5,fillstyle=radslope](0.3,.3)(1.7,1.7)
281 \end{pspicture}
282 &
283 \begin{pspicture}(2,2)
284 \psframe[fading,startfading=0.5,,fillstyle=slopes](0.3,.3)(1.7,1.7)
285 \end{pspicture}
286 &
287 \begin{pspicture}(2,2)
288 \psframe[fading,startfading=0.5,fillstyle=ccslopes](0.3,.3)(1.7,1.7)
289 \end{pspicture}
290 &
291 \begin{pspicture}(2,2)
292 \psframe[fading,startfading=0.5,fillstyle=radslopes](0.3,.3)(1.7,1.7)
293 \end{pspicture} \\ \hline
294 slope & ccslope & radslope &
295 slopes & ccslopes & radslopes \\ \hline
296 \end{tabular}
297 \end{center}
298 %
299 %%-------------------------------------------------------------
300
301 \begin{center}
302 \begin{tabular}{|c|c|c|c|c|c|} \hline
303 \multicolumn{6}{|c|}{\BS{}psframe[fading, \RDD{endfading}=0.5, fillstyle=slope](0.5,0.5)(2.5,2.5) \RDI{endfading}{pst-slpe} } \\ \hline
304
305 \begin{pspicture}(2,2)
306 \psframe[fading,endfading=0.5,fillstyle=slope](0.3,.3)(1.7,1.7)
307 \end{pspicture}
308 &
309 \begin{pspicture}(2,2)
310 \psframe[fading,endfading=0.5,fillstyle=ccslope](0.3,.3)(1.7,1.7)
311 \end{pspicture}
312 &
313 \begin{pspicture}(2,2)
314 \psframe[fading,endfading=0.5,fillstyle=radslope](0.3,.3)(1.7,1.7)
315 \end{pspicture}
316 &
317 \begin{pspicture}(2,2)
318 \psframe[fading,endfading=0.5,,fillstyle=slopes](0.3,.3)(1.7,1.7)
319 \end{pspicture}
320 &
321 \begin{pspicture}(2,2)
322 \psframe[fading,endfading=0.5,fillstyle=ccslopes](0.3,.3)(1.7,1.7)
323 \end{pspicture}
324 &
325 \begin{pspicture}(2,2)
326 \psframe[fading,endfading=0.5,fillstyle=radslopes](0.3,.3)(1.7,1.7)
327 \end{pspicture} \\ \hline
328 slope & ccslope & radslope & slopes & ccslopes & radslopes \\ \hline
329 \end{tabular}
330 \end{center}
331 %
332 %%-------------------------------------------------------------
333
334 \begin{center}
335 \begin{tabular}{|c|c|c|c|c|c|} \hline
336 \multicolumn{6}{|c|}{\BSS{psBall} [option](1,1)\AC{blue}\AC{.8} \BSI{psBall}{pst-slpe} }\\ \hline
337
338 %\begin{pspicture}(2,2)
339 %\psBall(1,1){black}{.8}
340 %\end{pspicture}
341 %&
342 \begin{pspicture}(2,2)
343 \psBall(1,1){blue}{.8}
344 \end{pspicture}
345 &
346 \begin{pspicture}(2,2)
347 \psBall[sloperadius=10pt](1,1){blue}{.8}
348
349 \end{pspicture}
350 &
351 \begin{pspicture}(2,2)
352 \psBall[slopebegin=red](1,1){blue}{.8}
353 \end{pspicture}
354 &
355 \begin{pspicture}(2,2)
356 \psBall[slopeend=red](1,1){blue}{.8}
357 \end{pspicture}
358 &
359 \begin{pspicture}(2,2)
360 \psBall[fading](1,1){blue}{.8}
361 \end{pspicture}
362 &
363 \begin{pspicture}(2,2)
364 \psBall[slopesteps=5](1,1){blue}{.8}
365 \end{pspicture}
366 \\ \hline
367 sans option & sloperadius=10pt & slopebegin=red & slopeend=red & fading & slopesteps=5 \\ \hline
368 \end{tabular}
369 \end{center}