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
|
\psset{unit=.5cm}
\psset{fillcolor=yellow,fillstyle=solid}
\SbSSCT{Les axes en 3 D}{3 D axis}
\label{3dplot}
%\subsubsection{pstThreeDCoor}
\begin{center}
\begin{tabular}{|c|c|c|}
\hline
\multicolumn{2}{|c|}{ \BSS{pstThreeDCoor} \BSI{pstThreeDCoor}{pst-3dplot} } \\ \hline
\begin{pspicture}(-3,-2.5)(3,4.25)
\pstThreeDCoor[drawing=true]
\end{pspicture}
&
\begin{pspicture}(-3,-2.5)(3,4.25)
\pstThreeDCoor[drawing=false]
\end{pspicture}
\\
\hline \RDD{drawing}=true (\dft) \RDI{drawing}{pst-3dplot} & \RDD{drawing}=false\\
\hline
\end{tabular}
\end{center}
\bigskip
\begin{tabular}{|c|c|c|}
\hline
\multicolumn{3}{|c|}{ \BS{pstThreeDCoor}[\RDD{xMax}=2,\RDD{yMax}=2,\RDD{zMax}=2] } \\ \hline
\begin{pspicture}(-3,-2.5)(3,4.5)
\pstThreeDCoor[xMax=2,yMax=2,zMax=2]
\end{pspicture}
&
\begin{pspicture}(-3,-2.5)(3,4.5)
\pstThreeDCoor[xMin=-2,yMin=-2,zMin=-2]
\end{pspicture}
&
\begin{pspicture}(-3,-2.5)(3,4.5)
\pstThreeDCoor[nameX=A,nameY=B,nameZ=C]
\end{pspicture}
\\
\hline \RDD{xMax}=2,\RDD{yMax}=2,\RDD{zMax}=2 & \RDD{xMin}=-2,\RDD{yMin}=-2,\RDD{zMin}=-2 & \RDD{nameX}=A,\RDD{nameY}=B,\RDD{nameZ}=C
\\
\RDI{xMax}{pst-3dplot} \RDI{yMax}{pst-3dplot} \RDI{zMax}{pst-3dplot}
&
\RDI{xMin}{pst-3dplot} \RDI{yMin}{pst-3dplot} \RDI{zMin}{pst-3dplot}
&
\RDI{nameX}{pst-3dplot} \RDI{nameY}{pst-3dplot} \RDI{nameZ}{pst-3dplot}
\\ \hline
{\blue \dft : xMax=yMax=zMax=4} & {\blue \dft : xMin=yMin=zMin=-1}& \\ \hline
\end{tabular}
\subsubsection{Option spotX}
\begin{center}
\psframebox[fillstyle=none]{\BS{pstThreeDCoor}[\RDD{spotX}=60,\RDD{spotY}=60,\RDD{spotZ}=60] \RDI{nspotX}{pst-3dplot} \RDI{nspotY}{pst-3dplot} \RDI{nspotZ}{pst-3dplot}}
\begin{animateinline}[controls,autoplay,loop]{2}%
\multiframe{20}{iAngle=60+10}{
\begin{pspicture}(-4,-4.5)(4,4.25)
\psframe(-4,-4.5)(4,4.25)
\pstThreeDCoor[linecolor=blue,linestyle=dotted]
\pstThreeDCoor[spotX=\iAngle,spotY=\iAngle,spotZ=\iAngle]
\rput(-.5,-4){ spotX : } \rput(1,-4){ \iAngle}
\end{pspicture}}
\end{animateinline}
\end{center}
\newpage
%-----------------------------------------------------------------------------------
\SbSbSSCT{Orientation des axes }{Axis orientation}
\begin{center}
\psframebox[fillstyle=none]{\BS{pstThreeDCoor}[linecolor=blue,linestyle=dotted] }
\end{center}
\begin{minipage}{7cm}
\begin{center}
\psframebox[fillstyle=none]{\BS{pstThreeDCoor}[\RDD{Alpha}=30] \RDI{Alpha}{pst-3dplot}}
\begin{animateinline}[controls,autoplay,loop,,palindrome]{2}%
\multiframe{20}{iAngle=60+10}{
\begin{pspicture}(-4,-4.5)(4,4.25)
\psframe(-4,-4.5)(4,4.25)
\pstThreeDCoor[linecolor=blue,linestyle=dotted]
\pstThreeDCoor[Alpha=\iAngle]
\rput(-.8,-4){ Alpha : } \rput(1,-4){ \iAngle}
\end{pspicture}}
\end{animateinline}
\end{center}
\end{minipage}\hfill
\begin{minipage}{7cm}
\begin{center}
\psframebox[fillstyle=none]{\BS{pstThreeDCoor}[\RDD{Beta}=30] \RDI{Beta}{pst-3dplot} }
\begin{animateinline}[controls,autoplay,loop,palindrome]{2}%
\multiframe{20}{iAngle=60+10}{
\begin{pspicture}(-4,-4.5)(4,4.25)
\psframe(-4,-4.5)(4,4.25)
\pstThreeDCoor[linecolor=blue,linestyle=dotted]
\pstThreeDCoor[Beta=\iAngle]
\rput(-.5,-4){ Beta : } \rput(1,-4){ \iAngle}
\end{pspicture}}
\end{animateinline}
\end{center}
\end{minipage}
\bigskip
\begin{tabular}{|c|c|c|}
\hline
\multicolumn{3}{|c|}{ \BS{pstThreeDCoor}[linestyle=dotted,linecolor=blue] \BS{pstThreeDCoor}[\RDD{RotX}=30] \RDI{RotX}{pst-3dplot}} \\ \hline
\begin{pspicture}(-4,-2.5)(4,5.25)
\pstThreeDCoor[linestyle=dotted,linecolor=blue]
\pstThreeDCoor[RotX=30]
\end{pspicture}
&
\begin{pspicture}(-4,-2.5)(4,5.25)
\pstThreeDCoor[linestyle=dotted,linecolor=blue]
\pstThreeDCoor[RotY=-30]
\end{pspicture}
&
\begin{pspicture}(-4,-2.5)(4,5.25)
\pstThreeDCoor[linestyle=dotted,linecolor=blue]
\pstThreeDCoor[RotZ=30]
\end{pspicture}
\\
\hline \RDD{RotX}=30 & \RDD{RotY}=-30 \RDI{RotY}{pst-3dplot} & \RDD{RotZ}=30 \RDI{RotZ}{pst-3dplot} \\ \hline
{\blue \dft : RotX=0} & {\blue \dft : RotY=0} & {\blue \dft : RotZ=0} \\ \hline
\end{tabular}
\bigskip
%\subsubsection{RotAngle xRotVec}
\psframebox[fillstyle=none]{\parbox[l]{12cm}{
\BS{pstThreeDCoor}[\RDD{RotSequence}=quaternion,\RDD{RotAngle}=10, \RDI{RotSequence}{pst-3dplot} \RDI{RotAngle}{pst-3dplot} \\ \RDD{xRotVec}=3,\RDD{yRotVec}=0,\RDD{zRotVec}=3, \RDI{xRotVec}{pst-3dplot} \RDI{yRotVec}{pst-3dplot} \RDI{zRotVec}{pst-3dplot} \\
xMin=0,xMax=3, yMin=0,yMax=3, zMin=0,zMax=3]\\
\\
\BS{pstThreeDLine}[linecolor=blue, linewidth=2pt, arrows=->](0,0,0)(3,0,3)}}
\begin{center}
\begin{animateinline}[controls,autoplay,loop]{2}%
\multiframe{10}{iA=0+10}{
\begin{pspicture}(-3,-3)(3,3.5)
\psframe(-3,-3)(3,3.5)
\pstThreeDCoor[linecolor=red, RotSequence=quaternion, RotAngle=\iA, xRotVec=3,yRotVec=0,zRotVec=3,
xMin=0,xMax=3, yMin=0,yMax=3, zMin=0,zMax=3]
\pstThreeDLine[linecolor=blue, linewidth=2pt, arrows=->](0,0,0)(3,0,3)
\uput[0](-2.28,-2.5){RotAngle : \iA}
\end{pspicture}}
\end{animateinline}
\end{center}
%--------------------------------------------------------------------------
\subsubsection{Option Ticks}
\begin{tabular}{|c|c|c|}
\hline
\multicolumn{3}{|c|}{ \BS{pstThreeDCoor}[\RDD{IIIDticks},\RDD{IIIDticksize}=.5pt] \RDI{IIIDticks}{pst-3dplot} \RDI{IIIDticksize}{pst-3dplot} \RDI{IIIDticks}{pst-3dplot} } \\ \hline
\begin{pspicture}(-4,-2.5)(4,4.25)
\pstThreeDCoor[IIIDticks,IIIDticksize=.5pt]
\end{pspicture}
&
\begin{pspicture}(-4,-2.5)(4,4.25)
\pstThreeDCoor[IIIDticks,IIIDlabels]
\end{pspicture}
&
\begin{pspicture}(-4,-2.5)(4,4.25)
\pstThreeDCoor[IIIDticks,IIIDlabels,Dx=.5,Dy=.5,Dz=.5]
\end{pspicture}
\\
\hline \RDD{IIIDticks},\RDD{IIIDticksize}= .5pt
\RDI{IIIDticks}{pst-3dplot} \RDI{IIIDticksize}{pst-3dplot}
&
\RDD{IIIDticks},\RDD{IIIDlabels}
\RDI{IIIDlabels}{pst-3dplot}
&
\RDD{Dx}=.5,\RDD{Dy}=.5,\RDD{Dz}=.5
\RDI{Dx}{pst-3dplot} \RDI{Dy}{pst-3dplot} \RDI{Dz}{pst-3dplot}
\\ \hline
{\blue \dft : IIIDticksize=0.1} & {\blue \dft : IIIDlabels=false} & {\blue \dft : Dx=Dy=Dz=1} \\ \hline
\end{tabular}
\bigskip
\begin{tabular}{|c|} \hline
\BS{pstThreeDCoor}[IIIDticks,IIIDlabels, yMin=-3,\RDD{IIIDOffset}=\AC{(1,-2,1)}]
\RDI{IIIDOffset}{pst-3dplot}
\\ \hline
\begin{pspicture}(-4,-1.25)(1,4)
\pstThreeDCoor[IIIDticks,IIIDlabels, yMin=-3,IIIDOffset={(1,-2,1)}]
\end{pspicture}
\\ \hline
\end{tabular}
\subsubsection{Option pstThreeDPlaneGrid}
\begin{tabular}{|c|c|c|} \hline
\multicolumn{3}{|c|}{ \BSS{pstThreeDPlaneGrid}[planeGrid=xz](0,0)(3,3) \BSI{pstThreeDPlaneGrid}{pst-3dplot} } \\ \hline
\begin{pspicture}(-4,-3.5)(5,5)
\pstThreeDCoor %[xMin=0,yMin=0,zMin=0,linewidth=2pt]
\pstThreeDPlaneGrid[linecolor=blue](0,0)(3,3)
\end{pspicture}
&
\begin{pspicture}(-4,-3.5)(5,5)
\pstThreeDCoor %[xMin=0,yMin=0,zMin=0,linewidth=2pt]
\pstThreeDPlaneGrid[linecolor=blue,planeGrid=xz](0,0)(3,3)
\end{pspicture}
&
\begin{pspicture}(-4,-3.5)(5,5)
\pstThreeDCoor %[xMin=0,yMin=0,zMin=0,linewidth=2pt]
\pstThreeDPlaneGrid[linecolor=blue,planeGrid=yz](0,0)(3,3)
\end{pspicture}
\\ \hline
\dft ( \RDD{planeGrid}=xy ) \RDI{planeGrid}{pst-3dplot}
& \RDD{planeGrid}=xz & \RDD{planeGrid}=yz \\ \hline
\end{tabular}
\bigskip
\begin{tabular}{|c|c|c|} \hline
\multicolumn{2}{|c|}{ BS{pstThreeDPlaneGrid}[planeGrid=xz, \RDD{planeGridOffset}=-1](0,0)(3,3) \RDI{planeGridOffset}{pst-3dplot}} \\ \hline
\begin{pspicture}(-4,-3.5)(5,5)
\pstThreeDCoor %[xMin=0,yMin=0,zMin=0,linewidth=2pt]
\pstThreeDPlaneGrid[linecolor=blue,planeGrid=xz,planeGridOffset=-1](0,0)(3,3)
\end{pspicture}
&
\begin{pspicture}(-4,-3.5)(5,5)
\pstThreeDCoor %[xMin=0,yMin=0,zMin=0,linewidth=2pt]
\pstThreeDPlaneGrid[linecolor=blue,planeGrid=xz,planeGridOffset=1](0,0)(3,3)
\end{pspicture}
\\ \hline
\RDD{planeGridOffset}=-1 & \RDD{planeGridOffset}=1
\\ \hline
\end{tabular}
\bigskip
\begin{tabular}{|c|c|c|} \hline
\multicolumn{3}{|c|}{ \BS{pstThreeDPlaneGrid}[planeGrid=xy,\RDD{subticks}=2](0,0)(3,3) } \\ \hline
\begin{pspicture}(-4,-3.5)(5,5)
\pstThreeDCoor %[xMin=0,yMin=0,zMin=0,linewidth=2pt]
\pstThreeDPlaneGrid[linecolor=blue,planeGrid=xy,subticks=2](0,0)(3,3)
\end{pspicture}
&
\begin{pspicture}(-4,-3.5)(5,5)
\pstThreeDCoor %[xMin=0,yMin=0,zMin=0,linewidth=2pt]
\pstThreeDPlaneGrid[linecolor=blue,planeGrid=xz,subticks=5](0,0)(3,3)
\end{pspicture}
&
\begin{pspicture}(-4,-3.5)(5,5)
\pstThreeDCoor %[xMin=0,yMin=0,zMin=0,linewidth=2pt]
\pstThreeDPlaneGrid[linecolor=blue,planeGrid=yz,subticks=20](0,0)(3,3)
\end{pspicture}
\\ \hline
planeGrid=xy & planeGrid=xz & planeGrid=yz \\
subticks=2 & subticks=5 & subticks=20 \\
\hline
\end{tabular}
\bigskip
\begin{tabular}{|c|c|c|} \hline
\multicolumn{3}{|c|}{ \BS{pstThreeDPlaneGrid}[planeGrid=xy,\RDD{xsubticks}=5](0,0)(3,3) } \\ \hline
\begin{pspicture}(-4,-3.5)(5,5)
\pstThreeDCoor %[xMin=0,yMin=0,zMin=0,linewidth=2pt]
\pstThreeDPlaneGrid[linecolor=blue,planeGrid=xy,xsubticks=5](0,0)(3,3)
\end{pspicture}
&
\begin{pspicture}(-4,-3.5)(5,5)
\pstThreeDCoor %[xMin=0,yMin=0,zMin=0,linewidth=2pt]
\pstThreeDPlaneGrid[linecolor=blue,planeGrid=xz,xsubticks=5](0,0)(3,3)
\end{pspicture}
&
\begin{pspicture}(-4,-3.5)(5,5)
\pstThreeDCoor %[xMin=0,yMin=0,zMin=0,linewidth=2pt]
\pstThreeDPlaneGrid[linecolor=blue,planeGrid=yz,xsubticks=5](0,0)(3,3)
\end{pspicture}
\\ \hline
planeGrid=xy & planeGrid=xz & planeGrid=yz \\
\RDD{xsubticks}=5 & \RDD{xsubticks}=5 & \RDD{xsubticks}=5 \\
\hline
\end{tabular}
\bigskip
\begin{tabular}{|c|c|c|} \hline
\multicolumn{3}{|c|}{ \BS{pstThreeDPlaneGrid}[planeGrid=xy,\RDD{ysubticks}=2](0,0)(3,3) } \\ \hline
\begin{pspicture}(-4,-3.5)(5,5)
\pstThreeDCoor %[xMin=0,yMin=0,zMin=0,linewidth=2pt]
\pstThreeDPlaneGrid[linecolor=blue,planeGrid=xy,ysubticks=5](0,0)(3,3)
\end{pspicture}
&
\begin{pspicture}(-4,-3.5)(5,5)
\pstThreeDCoor %[xMin=0,yMin=0,zMin=0,linewidth=2pt]
\pstThreeDPlaneGrid[linecolor=blue,planeGrid=xz,ysubticks=5](0,0)(3,3)
\end{pspicture}
&
\begin{pspicture}(-4,-3.5)(5,5)
\pstThreeDCoor %[xMin=0,yMin=0,zMin=0,linewidth=2pt]
\pstThreeDPlaneGrid[linecolor=blue,planeGrid=yz,ysubticks=5](0,0)(3,3)
\end{pspicture}
\\ \hline
planeGrid=xy & planeGrid=xz & planeGrid=yz \\
\RDD{ysubticks}=5 & \RDD{ysubticks}=5 & \RDD{ysubticks}=5 \\
\hline
\end{tabular}
%------------------------------------------------------------------
\subsubsection{Option coorType}
\begin{tabular}{|c|c|c|c|c|}
\hline
\multicolumn{3}{|c|}{ \BS{pstThreeDCoor}[\RDD{coorType}=0] } \\ \hline
\begin{pspicture}(-4,-2.5)(5,5)
\pstThreeDCoor[coorType=0]
\end{pspicture}
&
\begin{pspicture}(-4,-3)(5,5)
\pstThreeDCoor[coorType=1]
\end{pspicture}
&
\begin{pspicture}(-4,-2.5)(5,5)
\pstThreeDCoor[coorType=2]
\end{pspicture}
\\ \hline
\RDD{coorType}=0 & \RDD{coorType}=1 & \RDD{coorType}=2 \\ \hline
\begin{pspicture}(-4,-2.5)(5,5)
\pstThreeDCoor[coorType=3]
\end{pspicture}
&
\begin{pspicture}(-4,-2.5)(5,5)
\pstThreeDCoor[coorType=4]
\end{pspicture}
&
\\ \hline
\RDD{coorType}=3 & \RDD{coorType}=4 & \\ \hline
\end{tabular}
|