diff options
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2011-08-02 19:11:40 +0000 |
---|---|---|
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2011-08-02 19:11:40 +0000 |
commit | c7dc62be48e8b177ca923c449a385b51ac14b918 (patch) | |
tree | 8d09176421956ce45ac8191bbe30b17c25f8e3f3 | |
parent | c14b8786025185aece16677d28dbd7c9e4c7b506 (diff) |
tikz-3Dplot update
git-svn-id: svn://tug.org/texlive/trunk@23338 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/latex/tikz-3dplot/tikz-3dplot_documentation.pdf | bin | 450917 -> 447589 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/tikz-3dplot/tikz-3dplot_documentation.tex | 14 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/tikz-3dplot/tikz-3dplot.sty | 4 |
3 files changed, 9 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/latex/tikz-3dplot/tikz-3dplot_documentation.pdf b/Master/texmf-dist/doc/latex/tikz-3dplot/tikz-3dplot_documentation.pdf Binary files differindex cbbe92912f3..7f3a9c56b93 100644 --- a/Master/texmf-dist/doc/latex/tikz-3dplot/tikz-3dplot_documentation.pdf +++ b/Master/texmf-dist/doc/latex/tikz-3dplot/tikz-3dplot_documentation.pdf diff --git a/Master/texmf-dist/doc/latex/tikz-3dplot/tikz-3dplot_documentation.tex b/Master/texmf-dist/doc/latex/tikz-3dplot/tikz-3dplot_documentation.tex index dcafb44821a..5430a251dbf 100644 --- a/Master/texmf-dist/doc/latex/tikz-3dplot/tikz-3dplot_documentation.tex +++ b/Master/texmf-dist/doc/latex/tikz-3dplot/tikz-3dplot_documentation.tex @@ -61,7 +61,7 @@ \title{The \texttt{\tdplot} Package} -\author{Jeff Hein} +\author{Jeff Hein\\ \url{http://tikz3dplot.wordpress.com}} @@ -134,7 +134,7 @@ \vfill \parindent=0pt - Copyright 2010 Jeff Hein + Copyright 2010, 2011 Jeff Hein \medskip Permission is granted to distribute and/or modify \emph{both @@ -158,7 +158,7 @@ \chapter{Introduction}\label{cha:intro} \section{Overview of the \tdplot\ Package} -The \tdplot\ package offers commands and coordinate tranformation styles for \tikzname, providing relatively straightforward tools to draw three-dimensional coordinate systems and simple three-dimensional diagrams. The package is currently in its infancy, and is subject to change. Comments or suggetions are encouraged. +The \tdplot\ package offers commands and coordinate transformation styles for \tikzname, providing relatively straightforward tools to draw three-dimensional coordinate systems and simple three-dimensional diagrams. The package is currently in its infancy, and is subject to change. Comments or suggestions are encouraged. This document describes the basics of the \tdplot\ package and provides information about the various available commands. Examples are given where possible. @@ -166,7 +166,7 @@ This document describes the basics of the \tdplot\ package and provides informat \tdplot\ provides commands to easily specify coordinate transformations for \tikzname, allowing for relatively easy plotting. I needed to draw accurate 3d vector images for a physics thesis, and this package was developed to meet this need. -Various plotting commands are used to itentify coordinate locations using spherical polar or cartesian coordinates. Coordinate transformation commands allow for the calculation of a coordinate in one frame based on its values in another frame. Some drawing commands have been developed to assist in the rendering of arcs. These commands do the number crunching required to position and render the arcs. These commands are discussed in Section \ref{sec:tdplotcommands}. +Various plotting commands are used to identify coordinate locations using spherical polar or Cartesian coordinates. Coordinate transformation commands allow for the calculation of a coordinate in one frame based on its values in another frame. Some drawing commands have been developed to assist in the rendering of arcs. These commands do the number crunching required to position and render the arcs. These commands are discussed in Section \ref{sec:tdplotcommands}. In addition, the \verb|\tdplotsphericalsurfaceplot| was developed to render three-dimensional surfaces in spherical polar coordinates, where the radius is expressed in terms of a user-defined function of $\theta$ and $\phi$. With this function, the surface hue can be given explicitly, or expressed as a user-defined function of $r$, $\theta$, and $\phi$. This command is discussed in Section \ref{sec:spherical_surface_plot}. @@ -243,7 +243,7 @@ Get a copy of \tdplot\ from \tdplotlocation. Place the style file in the same d % \begin{shaded} \begin{verbatim} -\include{tikz-3dplot} +\usepackage{tikz-3dplot} \end{verbatim} \end{shaded} @@ -347,7 +347,7 @@ Using this matrix, the \tikzname\ coordinate transformation can be applied as de z &= (R^d_{1,3}, R^d_{2,3}) \end{split}\end{align} -Note that the third row of the rotation matrix is not needed for this transformation, since a screen coordinate is a 2d value. Once the transformed axes have been established, any 3d coordinate specified in \tikzname\ will adhere to the transformation, yeilding a 3d representation. Lines and nodes can readily be drawn by using these 3d coordinates. +Note that the third row of the rotation matrix is not needed for this transformation, since a screen coordinate is a 2d value. Once the transformed axes have been established, any 3d coordinate specified in \tikzname\ will adhere to the transformation, yielding a 3D representation. Lines and nodes can readily be drawn by using these 3d coordinates. This coordinate transformation is accessible through \tdplot\ using the command \texttt{tdplotsetmaincoords}, as described in Chapter \ref{cha:using_tdplot}. @@ -447,7 +447,7 @@ As described in Chapter \ref{cha:using_tdplot}, \tdplot\ offers the commands \te \chapter{Using the \tdplot\ Package} \label{cha:using_tdplot} -The \tdplot\ package was developed to handle the number crunching described in Chapter \ref{cha:overview3d}, and provide a relatively simple and straightforward frontend for users. +The \tdplot\ package was developed to handle the number crunching described in Chapter \ref{cha:overview3d}, and provide a relatively simple and straightforward front-end for users. The main and rotated coordinate frames are configured by using commands described in Section \ref{sec:tdplotcommands}. These commands generate \tikzname\ styles which can be used either in defining the \texttt{tikzpicture} environment, or directly in any \tikzname\ command. The styles are described further in Section \ref{sec:tikzstyles}. diff --git a/Master/texmf-dist/tex/latex/tikz-3dplot/tikz-3dplot.sty b/Master/texmf-dist/tex/latex/tikz-3dplot/tikz-3dplot.sty index ab642ab963b..357028b73f0 100644 --- a/Master/texmf-dist/tex/latex/tikz-3dplot/tikz-3dplot.sty +++ b/Master/texmf-dist/tex/latex/tikz-3dplot/tikz-3dplot.sty @@ -809,10 +809,10 @@ \pgfmathsetmacro{\vycalc}{#2} \pgfmathsetmacro{\vzcalc}{#3} % - \pgfmathsetmacro{\vcalc}{ sqrt(\vxcalc^2 + \vycalc^2 + \vzcalc^2) } + \pgfmathsetmacro{\vcalc}{ sqrt((\vxcalc)^2 + (\vycalc)^2 + (\vzcalc)^2) } % \pgfmathsetmacro{\vcalc}{ (\vxcalc^2 + \vycalc^2 + \vzcalc^2)^.5 } - \pgfmathsetmacro{\vxycalc}{ sqrt(\vxcalc^2 + \vycalc^2) } + \pgfmathsetmacro{\vxycalc}{ sqrt((\vxcalc)^2 + (\vycalc)^2) } % \pgfmathsetmacro{\vxycalc}{ (\vxcalc^2 + \vycalc^2)^.5 } \pgfmathsetmacro{\tdplotrestheta}{asin(\vxycalc/\vcalc)} |