[pstricks] help wanted
Herbert Voss
Herbert.Voss at FU-Berlin.DE
Sat Nov 12 13:03:36 CET 2011
Am 11.11.2011 15:05, schrieb Cyrille Piatecki:
> Could some one help me with the standard representation in 3D of the
> function z = x^.3 y^.7 and the hyperplan .5 x + .7 y = 10 in the same
> graphic with projection of both in the plane (x,y) with any pstricks
> package
\documentclass{report}
\usepackage{pst-solides3d}
\begin{document}
\psset{Decran=20,viewpoint=50 50 20 rtp2xyz}
% change 50 50 20 to 50 50 80 for a view from above
\begin{pspicture}(-5,-6.5)(8,6)
\defFunction[algebraic]{Func}(x,y){}{}{(x^0.3)*(y^0.7)}
\psSolid[object=surface,base=0 18 0 18,function=Func,ngrid=0.25 0.25,
name=FUNC,action=none]
\psSolid[object=plan,definition=equation,
args={[0.5 0.7 0 -10]},
base=-25 -5 -15 5,ngrid=50 50,fillcolor=blue!30,
name=PLANE,action=none]
\psSolid[object=fusion,base=PLANE_s FUNC]
\gridIIID[Zmin=-4,Zmax=16](0,16)(0,16)
\end{pspicture}
\end{document}
Herbert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bildschirmfoto.png
Type: image/png
Size: 142575 bytes
Desc: not available
URL: <http://tug.org/pipermail/pstricks/attachments/20111112/e83e4ee1/attachment-0001.png>
More information about the PSTricks
mailing list