diff options
author | Karl Berry <karl@freefriends.org> | 2014-03-16 21:44:33 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-03-16 21:44:33 +0000 |
commit | 569deb81a37d567d56be480ec1af765229961d13 (patch) | |
tree | 0fc80196effe18c87eafaef31569a5a1c5d9eb2d | |
parent | 1d5112325f65cbc2470ff12c81854ada5ce499a9 (diff) |
pst-plot
git-svn-id: svn://tug.org/texlive/trunk@33196 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-plot/Changes | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.pdf | bin | 1244740 -> 1250011 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.tex | 35 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/pst-plot/pst-plot.tex | 12 |
4 files changed, 44 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-plot/Changes b/Master/texmf-dist/doc/generic/pst-plot/Changes index 8f73f3a4df2..0e58903cb53 100644 --- a/Master/texmf-dist/doc/generic/pst-plot/Changes +++ b/Master/texmf-dist/doc/generic/pst-plot/Changes @@ -1,4 +1,6 @@ ----- pst-plot.tex +1.61 2014-03-12 - allow plotstyle cspline (cubic splines) + (Christoph Bersch) 1.60 2014-02-28 - allow postActions for \psBoxplot (log, etc) 1.59 2014-02-18 - modifications to \psBoxplot 1.58 2014-01-15 - save last coordinates as /FinalState instead of diff --git a/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.pdf b/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.pdf Binary files differindex 816226c8301..5402b5051fa 100644 --- a/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.pdf +++ b/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.pdf diff --git a/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.tex b/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.tex index adcf60d30cd..770ab4eb295 100644 --- a/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.tex +++ b/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.tex @@ -1138,6 +1138,7 @@ redefinition, then do it for \Lcs{pst@@@hlabel} and \Lkeyword{nStep} & integer & 1 & \pageref{nxstep}\\ \Lkeyword{plotNo} & integer & 1 & \pageref{plotno}\\ \Lkeyword{plotNoMax} & integer & 1 & \pageref{plotno}\\ +\Lkeyword{plotstyle} & style & \Lkeyval{line} & \pageref{plotstyle}\\ \Lkeyword{polarplot} & boolean & \false & \pageref{polarplots}\\ \Lkeyword{PSfont} & PS font & \Lkeyval{Times-Romasn} & \pageref{values}\\ \Lkeyword{quadrant} & integer & 4 & \pageref{quadrant}\\ @@ -1220,6 +1221,40 @@ redefinition, then do it for \Lcs{pst@@@hlabel} and %------------------------------------------------------------------------------------------- +\subsection{Option \nxLkeyword{plotstyle} (Christoph Bersch)}\label{plotstyle} +%------------------------------------------------------------------------------------------- +\xLkeyword{plotstyle}\xLkeyval{cspline} + +There is a new value \Lkeyval{cspline} for the plotstyle to interpolate a curve with cubic splines. + +\begin{filecontents}{data1.dat} +256.4912 0.0674 +259.7543 0.0904 +264.7287 0.0502 +270.1739 0.0339 +276.2696 0.0531 +281.4192 0.0402 +284.4351 -0.1221 +286.7098 -0.2659 +289.9052 -0.8337 +292.8813 -1.391 +295.1299 -1.3968 +297.858 -1.8959 +299.5145 -0.608 +302.1028 -0.323 +\end{filecontents} +% +\begin{LTXexample}[pos=b] +\readdata{\foo}{data1.dat} +\begin{psgraph}[axesstyle=frame,ticksize=6pt,subticks=5,ury=1cm, + Ox=250,Dx=10,Oy=-2,](250,-2)(310,0.2){0.8\linewidth}{0.3\linewidth} +\listplot[plotstyle=cspline,linecolor=red,linewidth=0.5pt,showpoints]{\foo} +\end{psgraph} +\end{LTXexample} + +\vspace{1cm} + +%------------------------------------------------------------------------------------------- \subsection{Option \nxLkeyword{xLabels}, \nxLkeyword{yLabels}, \nxLkeyword{xLabelsrot}, and \nxLkeyword{yLabelsrot}}\label{xLabels} %------------------------------------------------------------------------------------------- diff --git a/Master/texmf-dist/tex/generic/pst-plot/pst-plot.tex b/Master/texmf-dist/tex/generic/pst-plot/pst-plot.tex index ac549681f1f..cb97e0d5d5d 100644 --- a/Master/texmf-dist/tex/generic/pst-plot/pst-plot.tex +++ b/Master/texmf-dist/tex/generic/pst-plot/pst-plot.tex @@ -19,8 +19,8 @@ \ifx\PSTFPloaded\endinput\else \input pst-fp.tex \fi \ifx\MultidoLoaded\endinput\else \input multido.tex \fi % -\def\fileversion{1.60} -\def\filedate{2014/02/28} +\def\fileversion{1.61} +\def\filedate{2014/03/12} \message{ v\fileversion, \filedate\space (tvz,hv)} % \edef\TheAtCode{\the\catcode`\@} @@ -241,9 +241,11 @@ D\space##1% % \def\beginplot@cbezier{\begin@ClosedObj} \def\endplot@cbezier{\pscbezier@ii} - -% added 2007-06-26 (hv) -\let\beginplot@LineToYAxis\beginplot@line % all from pst-plot +% +\def\beginplot@cspline{\begin@OpenObj}%% Christoph Bersch +\def\endplot@cspline{\pscspline@ii} +% +\let\beginplot@LineToYAxis\beginplot@line % all from pst-plot added 2007-06-26 (hv) \def\endplot@LineToYAxis{\psLineToYAxis@ii} \let\beginqp@LineToYAxis\beginqp@line \let\doqp@LineToYAxis\doqp@line |