diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex')
-rw-r--r-- | Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex | 34 |
1 files changed, 33 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex b/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex index c98a703caad..99d0fdd1263 100644 --- a/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex +++ b/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex @@ -1,4 +1,4 @@ -%% $Id: pstricks-add-doc.tex 710 2012-09-28 07:27:01Z herbert $ +%% $Id: pstricks-add-doc.tex 825 2013-09-18 12:10:17Z herbert $ \documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings headexclude,footexclude,oneside]{pst-doc} \listfiles @@ -965,6 +965,38 @@ Some nonsense text, which is nothing more than nonsense. \clearpage +%-------------------------------------------------------------------------------------- +\section{Contour plots} +%-------------------------------------------------------------------------------------- +Contour plots are 2D-images but representing 3D data. The color is the representation of +the z coordinate. +It is only possible to plot data files which must have the following +structure: +\begin{verbatim} +/contourdata [[ +x y z +x y z +][ +x y z +... +][ +... +] def +\end{verbatim} +it is an PostScript array of array. The Perl script \url{http://tug.org/pstricks/pst-plot/3D/MakeData.pl} +allows to plot a file of the 3D-data of a mathematical function $z=f(x,y)$ and the Perl script +\url{http://tug.org/pstricks/pst-plot/3D/PrepareData.pl} prepares the data file +into the above structure for using it with the example file. + +\begin{LTXexample}[pos=t] +\psset{unit=1.75cm} +\begin{pspicture}[showgrid](-3,-3)(3,3) +\pstContour[colored]{contourN.data} +\end{pspicture} +\end{LTXexample} + +\emph{Important} is the option \verb|-dNOSAFER| for the \texttt{ps2pdf} run, otherwise Ghostscript +didn't allow the run of external data files. %-------------------------------------------------------------------------------------- \section{Random dots} |