Initialisation du projet pst-solides3d.git (SVN revision 142)
[pst-solides3d.git] / tests / test_16.tex
1 \documentclass{article}
2 \usepackage{pst-solides3d,pst-node,pst-plot,multido,url}
3 \usepackage[latin1]{inputenc}
4 \usepackage[T1]{fontenc}
5 \usepackage{colortbl}
6 \usepackage{array}
7 \usepackage[a4paper,bottom=2.5cm,top=2cm]{geometry}
8 %%\usepackage[frenchle]{babel}
9 \makeatletter
10
11 \title{\texttt{pst-solides3d} :\\
12 Test}
13 \date{\today }
14 \begin{document}
15 \maketitle
16
17 %\psset{lightsrc=10 20 30,viewpoint=50 20 30 rtp2xyz}
18 %\psset{SphericalCoor=true,viewpoint=50 20 40}
19
20 \section {planshowbase3d}
21
22 Avec l'équation $z=0$
23 \begin{center}
24 %\psset{unit=0.75}
25 \psset{viewpoint=10 18 40 rtp2xyz,Decran=10,fontsize=10}
26 \begin{pspicture*}(-5,-4)(6,4)
27 \psframe(-5,-4)(6,4)
28 \psSolid[object=plan,
29 definition=equation,
30 args={[0 0 1 0]},
31 fillcolor=yellow,
32 base=-2 2 -3 3,
33 % ngrid=1. 1.,
34 ]
35 \codejps {
36 [0 0 1 0] eq2plan [.15 .35] planshowbase3d
37 }
38 \axesIIID(0,0,0)(2,3,4)
39 \end{pspicture*}
40 \end{center}
41
42 \section {planshowbase}
43
44 Avec l'équation $z=0$ et en prenant $(0,3,0)$ comme origine.
45 \begin{center}
46 %\psset{unit=0.75}
47 \psset{viewpoint=10 18 40 rtp2xyz,Decran=10,fontsize=10}
48 \begin{pspicture*}(-5,-4)(8,4)
49 \psframe(-5,-4)(6,4)
50 \psSolid[object=plan,
51 definition=equation,
52 args={[0 0 1 0]},
53 fillcolor=yellow,
54 origine=0 3 0,
55 base=-2 2 -3 3,
56 ngrid=1. 1.,
57 ]
58 \axesIIID(0,0,0)(4,4,4)
59 \codejps {
60 2 setlinewidth
61 [0 0 1 0] (0 3 0) eq2plan (bleu) (bleu) planshowbase
62 }
63 \end{pspicture*}
64 \end{center}
65 \end{document}

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.