\documentclass{article} \usepackage{pst-solides3d} \begin{document} \pagestyle{empty} \begin{pspicture}(-6,-5)(6,8)% \psframe*[linecolor=blue!50](-6,-5)(6,7) \psset{lightsrc=viewpoint,viewpoint=50 30 15,Decran=60} \psset{solidmemory} \defFunction[algebraic]{F1}(x){3*sin(x)}{}{} %% definition des plans %% exemple 1 \psSolid[object=plantype, definition=equation, args={[1 0 0 0] 90}, base=-4 4 -3 3, name=monplan, ] %% exemple 2 \psSolid[object=plantype, definition=normalpoint, args={1 1 2 [1 1 2 180]}, base=-4 4 -3 3, %% decommenter la ligne ci-dessous pour l'exemple 2 % name=monplan, ] %% dessin du plan \psSolid[object=plan, definition=plantype, args=monplan, fillcolor=white, linecolor=yellow, % action=draw, ] %% projete d'un chemin circulaire hachure \psProjection[object=chemin, fillstyle=hlines,hatchcolor=yellow, plan=monplan, linecolor=blue, path=2 0 1 cercle ] %% projete courbe de fonction numerique \psProjection[object=courbe, plan=monplan, range=-4 4,resolution=720, linecolor=red, function=F1] %% dessin des accessoires" du plan : quadrillage, graduations, base \psSolid[object=plan, definition=plantype, args=monplan, plangrid, planmarks, showBase, action=none, ] %% projete d'un texte \psProjection[object=texte, plan=monplan, fontsize=20,linecolor=red, text=Yes !, ](-3,2,0)% %% projete et nommage d'un point \psProjection[object=point, args=-2 1, name=A, text=A, plan=monplan, linecolor=red, pos=uc, ] %% projete et nommage d'un point \psProjection[object=point, args=1 2, plan=monplan, name=B, text=B, linecolor=blue, pos=ur, ] %% calcul d'un milieu \psProjection[object=point, definition=milieu, args=A B, plan=monplan, name=C, text=C, pos=uc ] \psProjection[object=vecteur, origine=1 1, plan=monplan, linestyle=dashed, linecolor=orange, ](-2,0,0)% \composeSolid \axesIIID(4,4,2)(5,5,6) \end{pspicture} \end{document}