summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pst-math/pst-math-doc.tex
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2014-07-31 12:39:05 +0000
committerNorbert Preining <preining@logic.at>2014-07-31 12:39:05 +0000
commita28ea11a38e0166d492eebfa724103ec32f21cd6 (patch)
tree9d88e09d6a20d640b34a1e9f548f50cf95e2bac7 /Master/texmf-dist/doc/generic/pst-math/pst-math-doc.tex
parent521e1da4472a1ab26f9ea75257014e29d19f502b (diff)
pst-math (31Jul)
git-svn-id: svn://tug.org/texlive/trunk@34786 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/pst-math/pst-math-doc.tex')
-rw-r--r--Master/texmf-dist/doc/generic/pst-math/pst-math-doc.tex14
1 files changed, 11 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-math/pst-math-doc.tex b/Master/texmf-dist/doc/generic/pst-math/pst-math-doc.tex
index d5f1f1c4330..6e8b69f283d 100644
--- a/Master/texmf-dist/doc/generic/pst-math/pst-math-doc.tex
+++ b/Master/texmf-dist/doc/generic/pst-math/pst-math-doc.tex
@@ -118,7 +118,9 @@ operators \Lps{ACOS}, \Lps{ASIN} and \Lps{ATAN} defined by
\emph{Stack} & \emph{Operator} & \emph{Result} & \emph{Description} \\\hline
num & \Lps{ACOS} & angle & Return \Index{arccosine} of \textsf{num} in radians \\
num & \Lps{ASIN} & angle & Return \Index{arcsine} of \textsf{num} in radians \\
-num & \Lps{ATAN} & angle & Return \Index{arctangent} of \textsf{num} in radians \\\hline
+num & \Lps{ATAN} & angle & Return \Index{arctangent} of \textsf{num} in radians \\
+num & \Lps{ASEC} & angle & Return \Index{arcsecans} of \textsf{num} in radians \\
+num & \Lps{ACSC} & angle & Return \Index{arccosecans} of \textsf{num} in radians \\\hline
\end{tabular}
\end{center}
@@ -134,11 +136,17 @@ argument on the stack.
\psaxes[labels=x,Dy=\pstPI2]{->}(0,0)(-5,-2)(5,4)
\uput[0](!0 PI){$\pi$} \uput[0](!0 PI 2 div){$\frac{\pi}2$}
\uput[0](!0 PI 2 div neg){$-\frac{\pi}2$}
-\psplot[linewidth=1.5pt,linecolor=blue]{-1}{1}{x ACOS} \psplot[linecolor=red]{-1}{1}{x ASIN}
-\psplot[linewidth=1.5pt,linecolor=green]{-5}{5}{x ATAN}
+\psset{linewidth=1.5pt,yMaxValue=4}
+\psplot[linecolor=blue]{-1}{1}{x ACOS} \psplot[linecolor=red]{-1}{1}{x ASIN}
+\psplot[linecolor=green]{-5}{5}{x ATAN}
+\psplot[linestyle=dashed,linecolor=cyan,arrows=-*]{-5}{-1}{x ASEC}
+\psplot[linestyle=dashed,linecolor=cyan,arrows=*-]{1}{5}{x ASEC}
+\psplot[linestyle=dashed,linecolor=magenta,arrows=-*]{-5}{-1}{x ACSC}
+\psplot[linestyle=dashed,linecolor=magenta,arrows=*-]{1}{5}{x ACSC}
\end{pspicture}
\end{LTXexample}
+\clearpage
\section{Hyperbolic trigonometry}
\LPack{pst-math} introduces hyperbolic trigonometric postscript operators