[pstricks] psProjection (pst-solides3d)
mathias legrand
legrand.mathias at gmail.com
Tue Jul 6 22:00:50 CEST 2010
Hi all,
I'm trying to plot a set of 2D curves on different projection planes, in
order to create a
"fake" 3D surface, as follows (with pst-solides3d)
\begin{figure}[htp]
\begin{pspicture}(-4,-4)(4,4)%
\psset{lightsrc=50 20 20,viewpoint=55 30 15,Decran=60}
\psset{solidmemory}
\defFunction[algebraic]{1_sin}(x){2*sin(x)}{}{}
% plane 1
\psSolid[object=plan,definition=equation,args={[1 0 0 2] 90},name=monplanB]
\psset{plan=monplanB}
\psProjection[object=courbe,linecolor=blue,range=-3
3,resolution=720,function=1_sin]
% plane 2
\psSolid[object=plan,definition=equation,args={[1 0 0 0] 90},name=monplan]
\psset{plan=monplan}
\psProjection[object=courbe,linecolor=red,range=-3
3,resolution=720,function=1_sin]
\end{pspicture}
\end{figure}
1 - I'm trying to moves the successive planes along the x-axis, without
success. By looking at the guide, I feel like increasing the d parameter
of the plane equation should do the trick, is this correct?
2 - could the planes of projection be invisible so that we can see the
successive curves?
Thank you
More information about the PSTricks
mailing list