[pstricks] Plotting implicit 3d functions

Herbert Voss Herbert.Voss at FU-Berlin.DE
Tue Sep 28 09:55:41 CEST 2010


Am 27.09.2010 11:45, schrieb Vafa Khalighi:
> Is there any package/macro for plotting implicit 3d functions? For instance,
> how do you plot z+x+y=1 and x^2+2y^2=1 in 3d?

yes, but it is only experimental and needs some more
work ...

With pst-3dplot.tex from http://texnik.dante.de/tex/generic/pst-3dplot/
\psplotImpIIID(xMin,yMin,zMin)(xMax,yMax,zMax){equation}

e.g.
\documentclass[12pt,a4paper]{book}
\usepackage{pst-3dplot}

\begin{document}
\begin{pspicture}(-3,-3)(3,3)
\pstThreeDCoor[Beta=90]
\psplotImpIIID[algebraic,stepFactor=1](-3,-3,-3)(3,3,3){x+y+z-1}
\end{pspicture}

\end{document}

Herbert


More information about the PSTricks mailing list