From 084f1b4b577b51129c688cc6b3b87279a313a576 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 25 Jan 2008 00:36:22 +0000 Subject: pst-3dplot 1.79 (23jan08) git-svn-id: svn://tug.org/texlive/trunk@6395 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/generic/pst-3dplot/Changes | 3 ++ .../doc/generic/pst-3dplot/README.TEXLIVE | 6 +++ .../doc/generic/pst-3dplot/pst-3dplot-doc.bib | 17 ------ .../doc/generic/pst-3dplot/pst-3dplot-doc.pdf | Bin 2250617 -> 2250631 bytes .../doc/generic/pst-3dplot/pst-3dplot-doc.tex | 59 ++++++++++----------- 5 files changed, 36 insertions(+), 49 deletions(-) create mode 100644 Master/texmf-dist/doc/generic/pst-3dplot/README.TEXLIVE (limited to 'Master/texmf-dist/doc/generic') diff --git a/Master/texmf-dist/doc/generic/pst-3dplot/Changes b/Master/texmf-dist/doc/generic/pst-3dplot/Changes index 55fcfc45286..6b9387a9357 100644 --- a/Master/texmf-dist/doc/generic/pst-3dplot/Changes +++ b/Master/texmf-dist/doc/generic/pst-3dplot/Changes @@ -1,4 +1,5 @@ pst-3dplot.pro -------- +0.26 2007-01-03 - add routine for vector length 0.25 2007-12-22 - add code for special rotating (Darrell Lamm) 0.24 2007-08-30 - add code for special node calculating 0.23 2007-08-18 - add coorType 0,1,2,3 code for convertTo2D @@ -11,6 +12,8 @@ pst-3dplot.pro -------- pst-3dplot.tex -------- +1.79 2008-01-03 - add option algebraic for 3d plots + - fix bug with ellipse phi=f(alpha)! 1.78 2007-10-11 - fix bug in \parametricPlotThreeD - add option Debug=false|true for addtional comments written into the log file diff --git a/Master/texmf-dist/doc/generic/pst-3dplot/README.TEXLIVE b/Master/texmf-dist/doc/generic/pst-3dplot/README.TEXLIVE new file mode 100644 index 00000000000..472d3162675 --- /dev/null +++ b/Master/texmf-dist/doc/generic/pst-3dplot/README.TEXLIVE @@ -0,0 +1,6 @@ +The following files have been removed in the TeX Live installation of +the current package, typically due to duplication, lack of space, or +missing source code. You can find these files on CTAN. If questions or +concerns, email tex-live.org. + + tb72voss3d.pdf diff --git a/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.bib b/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.bib index 6d51864b381..721cd671185 100644 --- a/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.bib +++ b/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.bib @@ -38,15 +38,6 @@ } -@Manual{pstlens:2001, - Title = {PST-lens - {\PS} macros for Generic TeX}, - Author = {Denis Girou and Manuel Luque}, - Organization = {}, - Address = {\url{ftp://ftp.dante.de/tex-archive/graphics/pstricks/contrib/pst-lens/}}, - Note = {}, - year = 2001, -} - @Manual{vue3d:2002, Title = {Vue en 3D}, Author = {Manuel Luque}, @@ -117,14 +108,6 @@ address = {Heidelberg/Hamburg} } -@Book{voss:math, - author = {Herbert Vo\ss}, - title = {\LaTeX\ in {M}athematik und {N}aturwissenschaften}, - publisher = {{Franzis-Verlag}}, - year = {2006}, - address = {Poing} -} - @Book{LaTeXRef, author = {Herbert Vo\ss}, title = {\LaTeX\ Referenz}, diff --git a/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.pdf b/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.pdf index 10560d50bad..f1d6b6278e3 100644 Binary files a/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.pdf and b/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.pdf differ diff --git a/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.tex b/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.tex index d0113649230..ca0cde0d2c4 100644 --- a/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.tex +++ b/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.tex @@ -1,3 +1,4 @@ +%% $Id: pst-3dplot-doc.tex 9 2008-01-03 20:22:50Z herbert $ \listfiles \documentclass[11pt,a4paper]{article} @@ -1863,10 +1864,10 @@ In the following example the circle is drawn with only $20$ plotpoints and the \begin{pspicture}(-2,-1.25)(2,2.25) \pstThreeDCoor[xMax=2,yMax=2,zMax=2,linecolor=black] \psset{linecolor=red,linewidth=2pt,plotpoints=20,showpoints=true} - \pstThreeDCircle(1.6,+0.6,1.7)(0.8,0.4,0.8)(0.8,-0.8,-0.4) - \pstThreeDDot[drawCoor=true,linecolor=blue](1.6,+0.6,1.7) - \pstThreeDCircle[RotY=15,linecolor=blue](1.6,+0.6,1.7)(0.8,0.4,0.8)(0.8,-0.8,-0.4) - \pstThreeDDot[RotY=15,drawCoor=true,linecolor=blue](1.6,+0.6,1.7) + \pstThreeDCircle(1.6,0.6,1.7)(0.8,0.4,0.8)(0.8,-0.8,-0.4) + \pstThreeDDot[drawCoor=true,linecolor=red](1.6,0.6,1.7) + \pstThreeDCircle[linecolor=blue](1.6,1.6,1.7)(0.8,0.4,0.8)(0.8,-0.8,-0.4) + \pstThreeDDot[drawCoor=true,linecolor=blue](1.6,1.6,1.7) \end{pspicture} \end{LTXexample} @@ -2191,20 +2192,22 @@ otherwise \verb|xcolor| cannot read the values. A white color is given by \verb| - - \section{Mathematical functions} There are two macros for plotting mathematical functions, which work similiar to the one from \verb|pst-plot|. \subsection{Function $f(x,y)$} -The macro for plotting functions does not have the same syntax as the one from \verb|pst-plot|\cite{dtk02.1:voss:mathematischen}, but it is used in the same way: +The macro for plotting functions does not have the same syntax as the one from +\verb|pst-plot|\cite{dtk02.1:voss:mathematischen}, but it is used in the same way: \begin{verbatim} \psplotThreeD[](xMin,xMax)(yMin,yMax){} \end{verbatim} -The function has to be written in \PS{} code and the only valid variable names are \verb|x| and \verb|y|, f.ex: \verb|{x dup mul y dup mul add sqrt}| for the math expression $\sqrt{x^2 + y^2}$. The macro has the same plotstyle options as \verb|psplot|, except the \verb|plotpoints|-option which is split into one for \verb|x| and one for \verb|y| (table \ref{tab:lineOptions}). +The function has to be written in \PS{} code and the only valid variable names are \verb|x| +and \verb|y|, f.ex: \verb|{x dup mul y dup mul add sqrt}| for the math expression $\sqrt{x^2 + y^2}$. +The macro has the same plotstyle options as \verb|psplot|, except the \verb|plotpoints|-option which is +split into one for \verb|x| and one for \verb|y| (table \ref{tab:lineOptions}). \begin{table}[htb] \centering @@ -2227,7 +2230,8 @@ The function has to be written in \PS{} code and the only valid variable names a & \verb|yLines|\\ & \verb|xyLines|\\ & \verb|yxLines|\\ -\verb|hiddenLine| & default is false +\verb|hiddenLine| & default is false\\ +\verb|algebraic| & default is false \end{tabular} \end{table} @@ -2282,15 +2286,13 @@ figure~\ref{fig:3dfunc}, only with the option \verb|hiddenLine=true|. \begin{figure*} \centering \begin{pspicture}(-6,-4)(6,5) - \psset{Beta=15} - \psplotThreeD[% - plotstyle=curve,% - yPlotpoints=50,xPlotpoints=50,% - linewidth=0.5pt](-4,4)(-4,4){% - x 3 exp x y 4 exp mul add x 5 div sub 10 mul - 2.729 x dup mul y dup mul add neg exp mul - 2.729 x 1.225 sub dup mul y dup mul add neg exp add} - \pstThreeDCoor[xMin=-1,xMax=5,yMin=-1,yMax=5,zMin=-1,zMax=5] + \psset{Beta=15} + \pstThreeDCoor[xMin=-1,xMax=5,yMin=-1,yMax=5,zMin=-1,zMax=5] + \psplotThreeD[ + algebraic, + plotstyle=curve, + yPlotpoints=50,xPlotpoints=50, + linewidth=0.5pt](-4,4)(-4,4){10*(x^3+x*y^4-x/5)*Euler^(-x^2-y^2)+Euler^(-((x-1.225)^2+y^2))} \end{pspicture} \caption{Plot of the equation \ref{eq:3dfunc}}\label{fig:3dfunc} \end{figure*} @@ -2299,8 +2301,8 @@ figure~\ref{fig:3dfunc}, only with the option \verb|hiddenLine=true|. \begin{figure*} \centering \begin{pspicture}(-6,-4)(6,5) - \psset{Alpha=45,Beta=15} + \pstThreeDCoor[xMin=-1,xMax=5,yMin=-1,yMax=5,zMin=-1,zMax=5] \psplotThreeD[% plotstyle=curve,% yPlotpoints=50,xPlotpoints=50,% @@ -2308,7 +2310,6 @@ figure~\ref{fig:3dfunc}, only with the option \verb|hiddenLine=true|. x 3 exp x y 4 exp mul add x 5 div sub 10 mul 2.729 x dup mul y dup mul add neg exp mul 2.729 x 1.225 sub dup mul y dup mul add neg exp add} - \pstThreeDCoor[xMin=-1,xMax=5,yMin=-1,yMax=5,zMin=-1,zMax=5] \end{pspicture} \caption{Plot of the equation \ref{eq:3dfunc} with the \texttt{hiddenLine=true} option}\label{fig:3dfunc-hidden} \end{figure*} @@ -2318,8 +2319,8 @@ figure~\ref{fig:3dfunc}, only with the option \verb|hiddenLine=true|. \begin{figure*} \centering \begin{pspicture}(-6,-4)(6,5) - \psset{Alpha=45,Beta=15} + \pstThreeDCoor[xMin=-1,xMax=5,yMin=-1,yMax=5,zMin=-1,zMax=5] \psplotThreeD[% plotstyle=line,% drawStyle=yLines,% @@ -2328,7 +2329,6 @@ figure~\ref{fig:3dfunc}, only with the option \verb|hiddenLine=true|. x 3 exp x y 4 exp mul add x 5 div sub 10 mul 2.729 x dup mul y dup mul add neg exp mul 2.729 x 1.225 sub dup mul y dup mul add neg exp add} - \pstThreeDCoor[xMin=-1,xMax=5,yMin=-1,yMax=5,zMin=-1,zMax=5] \end{pspicture} \caption{Plot of the equation \ref{eq:3dfunc} with the \texttt{drawStyle=yLines} option} \end{figure*} @@ -2336,8 +2336,8 @@ figure~\ref{fig:3dfunc}, only with the option \verb|hiddenLine=true|. \begin{figure*} \centering \begin{pspicture}(-6,-4)(6,5) - \psset{Alpha=45,Beta=15} + \pstThreeDCoor[xMin=-1,xMax=5,yMin=-1,yMax=5,zMin=-1,zMax=5] \psplotThreeD[% plotstyle=curve,% drawStyle=yLines,% @@ -2347,7 +2347,6 @@ figure~\ref{fig:3dfunc}, only with the option \verb|hiddenLine=true|. x 3 exp x y 4 exp mul add x 5 div sub 10 mul 2.729 x dup mul y dup mul add neg exp mul 2.729 x 1.225 sub dup mul y dup mul add neg exp add} - \pstThreeDCoor[xMin=-1,xMax=5,yMin=-1,yMax=5,zMin=-1,zMax=5] \end{pspicture} \caption{Plot of the equation \ref{eq:3dfunc} with the \texttt{drawStyle=yLines} and \texttt{hiddenLine=true} option} @@ -2359,8 +2358,8 @@ figure~\ref{fig:3dfunc}, only with the option \verb|hiddenLine=true|. \begin{figure*} \centering \begin{pspicture}(-6,-4)(6,5) - \psset{Alpha=45,Beta=15} + \pstThreeDCoor[xMin=-1,xMax=5,yMin=-1,yMax=5,zMin=-1,zMax=5] \psplotThreeD[% plotstyle=line,% drawStyle=xyLines,% @@ -2369,7 +2368,6 @@ figure~\ref{fig:3dfunc}, only with the option \verb|hiddenLine=true|. x 3 exp x y 4 exp mul add x 5 div sub 10 mul 2.729 x dup mul y dup mul add neg exp mul 2.729 x 1.225 sub dup mul y dup mul add neg exp add} - \pstThreeDCoor[xMin=-1,xMax=5,yMin=-1,yMax=5,zMin=-1,zMax=5] \end{pspicture} \caption{Plot of the equation \ref{eq:3dfunc} with the \texttt{drawStyle=xyLines} option} \end{figure*} @@ -2377,8 +2375,8 @@ figure~\ref{fig:3dfunc}, only with the option \verb|hiddenLine=true|. \begin{figure*}[htbp] \centering \begin{pspicture}(-6,-4)(6,5) - \psset{Alpha=45,Beta=15} + \pstThreeDCoor[xMin=-1,xMax=5,yMin=-1,yMax=5,zMin=-1,zMax=5] \psplotThreeD[% plotstyle=curve,% drawStyle=xLines,% @@ -2388,7 +2386,6 @@ figure~\ref{fig:3dfunc}, only with the option \verb|hiddenLine=true|. x 3 exp x y 4 exp mul add x 5 div sub 10 mul 2.729 x dup mul y dup mul add neg exp mul 2.729 x 1.225 sub dup mul y dup mul add neg exp add} - \pstThreeDCoor[xMin=-1,xMax=5,yMin=-1,yMax=5,zMin=-1,zMax=5] \end{pspicture} \caption{Plot of the equation \ref{eq:3dfunc} with the \texttt{drawStyle=xLines} and \texttt{hiddenLine=true} option} @@ -2397,8 +2394,8 @@ figure~\ref{fig:3dfunc}, only with the option \verb|hiddenLine=true|. \begin{figure*}[htbp] \centering \begin{pspicture}(-6,-4)(6,5) - \psset{Alpha=45,Beta=15} + \pstThreeDCoor[xMin=-1,xMax=5,yMin=-1,yMax=5,zMin=-1,zMax=5] \psplotThreeD[% plotstyle=curve,% drawStyle=yLines,% @@ -2408,7 +2405,6 @@ figure~\ref{fig:3dfunc}, only with the option \verb|hiddenLine=true|. x 3 exp x y 4 exp mul add x 5 div sub 10 mul 2.729 x dup mul y dup mul add neg exp mul 2.729 x 1.225 sub dup mul y dup mul add neg exp add} - \pstThreeDCoor[xMin=-1,xMax=5,yMin=-1,yMax=5,zMin=-1,zMax=5] \end{pspicture} \caption{Plot of the equation \ref{eq:3dfunc} with the \texttt{drawStyle=yLines} and \texttt{hiddenLine=true} option} @@ -2454,10 +2450,10 @@ which is the same as \verb|(0,0)| for the parameter \verb|u|. \begin{LTXexample}[width=6.75cm] \begin{pspicture}(-3.25,-2.25)(3.25,5.25) + \pstThreeDCoor[zMax=5] \parametricplotThreeD[xPlotpoints=200,linecolor=blue,% linewidth=1.5pt,plotstyle=curve](0,2160){% 2.5 t cos mul 2.5 t sin mul t 600 div} - \pstThreeDCoor[zMax=5] \end{pspicture} \end{LTXexample} @@ -2499,7 +2495,6 @@ and at last both together is also not a problem when having these parametric fun \begin{figure}[htbp] {\psset{xunit=1.75cm,yunit=1.75cm} \begin{pspicture}(-1,-1)(1,1) - \setIIIDplotDefaults %\pstThreeDCoor[xMin=-1,xMax=1,yMin=-1,yMax=1,zMin=-1,zMax=1] \parametricplotThreeD[plotstyle=curve](0,360)(0,360){% -- cgit v1.2.3