[pstricks] 3dplot -- contour of a function

Marco Daniel marco.daniel at mada-nada.de
Sun Jul 25 10:58:30 CEST 2010


  Hello,

I have an example which I want to create with pstricks:

\documentclass{scrartcl}

\usepackage[ngerman]{babel}

\usepackage[utf8]{inputenc}

\usepackage[T1]{fontenc}

\usepackage{amsmath}

\usepackage{tikz}

\usepackage{pgfplots}

\begin{document}

\begin{tikzpicture}

\begin{axis}[colormap/cool] \addplot3[surf,samples=10,domain=0:1,

shader=interp]

{x*y}; \end{axis}

\end{tikzpicture}

\begin{tikzpicture}

\begin{axis}[colormap={bw}{gray(0cm)=(0); gray(1cm)=(1)}]] 
\addplot3[surf,samples=10,domain=0:1,

shader=interp]

{x*y}; \end{axis}

\end{tikzpicture}

\end{document}


You can see that there is a 3d-plot without any lines. Here I specified 
the colormap to plot the function. I know the website
http://tug.org/PSTricks/main.cgi?file=pst-plot/3D/contour

I hope you know what I mean :-)

regards
Marco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20100725/a7bfd754/attachment.html>


More information about the PSTricks mailing list