summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex
diff options
context:
space:
mode:
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.tex38
1 files changed, 31 insertions, 7 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 ffc6915ea78..cfe3e882030 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 118 2009-05-25 18:47:43Z herbert $
+%% $Id: pstricks-add-doc.tex 122 2009-08-13 07:21:10Z herbert $
\documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings
headexclude,footexclude,oneside]{pst-doc}
\listfiles
@@ -5550,15 +5550,36 @@ a function for the curve.
\Lcs{psTangentLine}\OptArgs\Largr{\coord1}\Largr{\coord2}\Largr{\coord3}\Largb{x}\Largb{dx}
\end{BDef}
-\begin{LTXexample}[pos=t,preset=\centering,wide]
+\begin{LTXexample}[width=0.45\linewidth,wide]
\psset{unit=2}
\begin{pspicture}[showgrid=true](1,-1)(4,1)
- \pscurve[showpoints=true](2.1,-0.2)(2.5,0.2)(3.2,0.235)(3.8,-0.2)
- \psTangentLine[Tnormal,arrows=->,linecolor=red](2.5,0.2)(3.2,0.235)(3.8,-0.2){3}{0.1}
- \psTangentLine[arrows=<->,linecolor=blue](2.5,0.2)(3.2,0.235)(3.8,-0.2){3}{0.5}
+ \pscurve[showpoints=true]
+ (2.1,-0.2)(2.5,0.2)(3.2,0.235)(3.8,-0.2)
+ \psTangentLine[Tnormal,arrows=->,
+ linecolor=red](2.5,0.2)(3.2,0.235)%
+ (3.8,-0.2){3}{0.1}
+ \psTangentLine[arrows=<->,
+ linecolor=blue](2.5,0.2)(3.2,0.235)%
+ (3.8,-0.2){3}{0.5}
+\end{pspicture}
+\end{LTXexample}
+
+In special cases one has to use \Lkeyword{curvature}\verb+=1 1 1+ for the macro \Lcs{pscurve}
+to get the same equation for the curve as \Lcs{psplotTangentLine} does.
+
+\begin{LTXexample}[pos=t,preset=\centering,wide]
+\psset{unit=2}
+\begin{pspicture}[showgrid=true](2,-1)(6,2)
+\pscurve[showpoints=true,
+ curvature=1 1 1](2.1,-0.2)(2.5,0.2)(3.2,0.235)(5.8,2)
+\pscurve[showpoints=true,linecolor=green,
+ curvature=1 1 1](2.5,0.2)(3.2,0.235)(5.8,2)
+\psTangentLine[Tnormal,arrows=->,linecolor=red](2.5,0.2)(3.2,0.235)(5.8,2){4.6}{0.6}
+\psTangentLine[arrows=<->,linecolor=blue](2.5,0.2)(3.2,0.235)(5.8,2){4.5}{0.6}
\end{pspicture}
\end{LTXexample}
+
\subsection{\nxLcs{psplotTangent} and option \nxLkeyword{Tnormal}}
%--------------------------------------------------------------------------------------
There is an additional option, named \Lkeyword{Derive} for an
@@ -7565,9 +7586,12 @@ is the first plotted line ($y=1$). With the option
\clearpage
With the \Lkeyword{colorType}=1 the data is printed as continous color
-in the range of the wavelength. \Lkeyword{colorType}=2 ist the same, but vice versa
+in the range of the wavelength. The smallest value of the data array
+is set to red and the biggest value is set to violett. All other values
+are substituted by the corresponding color of the wavlength.
+\Lkeyword{colorType}=2 ist the same, but vice versa
with the color, from violet to red. The following examples uses a 200$\times$200
-matrix data.
+matrix data, which is saved as /dotmatrix [...] in the file \LFile{pstricks-add-doc.dat}.
\begin{LTXexample}[pos=t,preset=\centering]
\begin{pspicture}(10,10)