summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-04-23 22:40:09 +0000
committerKarl Berry <karl@freefriends.org>2011-04-23 22:40:09 +0000
commit0c7d6abf80d6c8ae90936dfed87abd179341bdc4 (patch)
tree2d94913dda072d51de967d75c9bb4bcbe9842540 /Master/texmf-dist/doc/generic
parent59c2fb860cfc7f447fded1f644421e4ee9bff956 (diff)
pst-func 0.72 (23apr11)
git-svn-id: svn://tug.org/texlive/trunk@22177 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic')
-rw-r--r--Master/texmf-dist/doc/generic/pst-func/Changes2
-rw-r--r--Master/texmf-dist/doc/generic/pst-func/pst-func-doc.bib8
-rw-r--r--Master/texmf-dist/doc/generic/pst-func/pst-func-doc.pdfbin2964258 -> 2299574 bytes
-rw-r--r--Master/texmf-dist/doc/generic/pst-func/pst-func-doc.tex54
4 files changed, 63 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-func/Changes b/Master/texmf-dist/doc/generic/pst-func/Changes
index ff6ac422057..b8657e392e0 100644
--- a/Master/texmf-dist/doc/generic/pst-func/Changes
+++ b/Master/texmf-dist/doc/generic/pst-func/Changes
@@ -1,4 +1,6 @@
..... pst-func.tex
+0.72 2011-04-23 - allow option comma for all functions
+ - use helper function dot2comma
0.71 2010-11-03 - allow option dotstyle for \psGaussI
0.70 2010-10-02 - moved vasicek as \psvasicek from pst-math
to pst-func
diff --git a/Master/texmf-dist/doc/generic/pst-func/pst-func-doc.bib b/Master/texmf-dist/doc/generic/pst-func/pst-func-doc.bib
index af618fecc8b..93973ad3893 100644
--- a/Master/texmf-dist/doc/generic/pst-func/pst-func-doc.bib
+++ b/Master/texmf-dist/doc/generic/pst-func/pst-func-doc.bib
@@ -148,6 +148,14 @@
address = {Cambridge}
}
+@Book{PSTricks2-UIT,
+ author = {Herbert Vo\ss},
+ title = {PSTricks -- Graphics for \LaTeX},
+ publisher = {UIT},
+ year = {2011},
+ address = {Cambridge}
+}
+
@Manual{wolfram,
author = {Eric Weisstein},
title = {Wolfram MathWorld},
diff --git a/Master/texmf-dist/doc/generic/pst-func/pst-func-doc.pdf b/Master/texmf-dist/doc/generic/pst-func/pst-func-doc.pdf
index fe22e463702..05259c1428e 100644
--- a/Master/texmf-dist/doc/generic/pst-func/pst-func-doc.pdf
+++ b/Master/texmf-dist/doc/generic/pst-func/pst-func-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/pst-func/pst-func-doc.tex b/Master/texmf-dist/doc/generic/pst-func/pst-func-doc.tex
index 10b31b92ba3..306f8eb536f 100644
--- a/Master/texmf-dist/doc/generic/pst-func/pst-func-doc.tex
+++ b/Master/texmf-dist/doc/generic/pst-func/pst-func-doc.tex
@@ -1,4 +1,4 @@
-%% $Id: pst-func-doc.tex 411 2010-11-03 07:58:25Z herbert $
+%% $Id: pst-func-doc.tex 488 2011-04-23 09:19:40Z herbert $
\documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,
smallheadings, headexclude,footexclude,oneside]{pst-doc}
\usepackage[utf8]{inputenc}
@@ -1748,6 +1748,58 @@ for polar plots are also possible (see next example).
\end{LTXexample}
+The data of an implicit plot can be written into an external file for further purposes.
+Use the optional argument \Lkeyword[pstricks-add]{saveData} to write the $x|y$ values
+into the file \nxLcs{jobname.data}. The file name can be changed with the keyword {\Lkeyword[pstricks-add]{filename}.
+When running a \TeX\ file from within a GUI it may be possible that you get a writeaccess error from GhostScript, because
+it prevents writing into a file when called from another program. In this case run GhostScript on the \PS-output from
+the command line.
+
+\psset{mathLabel}
+\begin{LTXexample}[preset=\centering]
+\begin{pspicture*}(-3,-3)(3,3)
+ \psaxes[linewidth=0.25pt,
+ xlabelPos=top,
+ labelFontSize=\scriptscriptstyle,
+ labelsep=2pt,
+ ticksize=0.05]{<->}(0,0)(-2,-1.75)(2,2)[x,0][y,90]
+ \psplotImp[linecolor=red,linewidth=1pt,stepFactor=0.2,saveData,
+ algebraic](-2.5,-1.75)(2.5,2.5){x^2+(5*y/4-sqrt(abs(x)))^2-2.5}
+\end{pspicture*}
+\end{LTXexample}
+
+The values are saved pairwise in an array, e.\,g.:
+\begin{verbatim}
+...
+[
+-1.53237 0.695058
+-1.53237 1.29957
+]
+[
+-1.52534 0.666941
+-1.52534 1.32065
+]
+...
+\end{verbatim}
+
+In one array all $y$ values for the same $x$ value are stored.
+
+\iffalse
+The data then can be read back to get a continous line of the plot.
+
+\begin{LTXexample}[preset=\centering]
+\readdata[nStep=20]{\data}{\jobname.data}
+\begin{pspicture*}(-3,-3)(3,3)
+ \psaxes[linewidth=0.25pt,
+ xlabelPos=top,
+ labelFontSize=\scriptscriptstyle,
+ labelsep=2pt,
+ ticksize=0.05]{<->}(0,0)(-2,-1.75)(2,2)[x,0][y,90]
+ \pslistplot[linecolor=red,linewidth=1pt,plotstyle=curve]{\data}
+\end{pspicture*}
+\end{LTXexample}
+\fi
+
\clearpage
\section{\nxLcs{psVolume} -- Rotating functions around the x-axis}