Initialisation du projet pst-solides3d.git (SVN revision 142)
[pst-solides3d.git] / doc-en / par-grille-en.tex
1 \section{The grid}
2
3 The object \verb+grille+ allows you to obtain a solid plane.
4 The key \texttt{[base=$x{min}$ ${x{max}}$ ${y{min}}$
5 ${y{max}}$]} lets you specify the dimension of the grid. % $
6
7
8 \psset{viewpoint=50 50 20 rtp2xyz,Decran=30}
9 \begin{LTXexample}[width=6.5cm]
10 \begin{pspicture}(-3.5,-1.5)(3.5,2.5)
11 \psSolid[object=grille,
12 base=0 4 -3 3,
13 linecolor=gray](0,0,0)
14 \axesIIID(0,0,0)(4,3,3)
15 \end{pspicture}
16 \end{LTXexample}
17
18
19 The key \texttt{[ngrid=$n_1$ $n_2$]} lets you specify
20 fineness of the grid. If $n_2$ is not set up, it is considered that $n_2 =
21 n_1$.
22
23 If $n_1$ is an integer, it represents the number of grid points along the
24 $Ox$ axis. If it is a real, it represents the step size along the
25 $Ox$ axis. For example, the number \verb+1+ is an integer, the number \verb+1.+ is real (note the decimal point).
26
27
28
29 \psset{viewpoint=50 50 20 rtp2xyz,Decran=30}
30 \begin{LTXexample}[width=6.5cm]
31 \begin{pspicture}(-3.5,-1.5)(3.5,2.5)
32 \psSolid[object=grille,
33 ngrid=1,
34 base=0 4 -3 3,
35 linecolor=gray](0,0,0)
36 \axesIIID(0,0,0)(3,3,3)
37 \end{pspicture}
38 \end{LTXexample}
39
40 \psset{viewpoint=50 50 20 rtp2xyz,Decran=30}
41 \begin{LTXexample}[width=6.5cm]
42 \begin{pspicture}(-3.5,-1.5)(3.5,2.5)
43 \psSolid[object=grille,
44 ngrid=1. 1,
45 base=0 4 -3 3,
46 linecolor=gray](0,0,0)
47 \axesIIID(0,0,0)(3,3,3)
48 \end{pspicture}
49 \end{LTXexample}
50
51
52 \endinput

Licence Creative Commons Les fichiers de Syracuse sont mis à disposition (sauf mention contraire) selon les termes de la
Licence Creative Commons Attribution - Pas d’Utilisation Commerciale - Partage dans les Mêmes Conditions 4.0 International.