summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/makeplot
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-08-26 23:59:02 +0000
committerKarl Berry <karl@freefriends.org>2009-08-26 23:59:02 +0000
commit67f2e7d5c34856c46dfc54d79dc9592984aefc17 (patch)
tree28ad3470f2eb2e1cc7d8a6a152deeef941c03006 /Master/texmf-dist/tex/latex/makeplot
parentccb587e18c23dd8a68d9deaab22ec4e090142e23 (diff)
makeplot update (26aug09)
git-svn-id: svn://tug.org/texlive/trunk@14876 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/makeplot')
-rw-r--r--Master/texmf-dist/tex/latex/makeplot/makeplot.sty38
1 files changed, 19 insertions, 19 deletions
diff --git a/Master/texmf-dist/tex/latex/makeplot/makeplot.sty b/Master/texmf-dist/tex/latex/makeplot/makeplot.sty
index 72b92bfb59b..516716b5fab 100644
--- a/Master/texmf-dist/tex/latex/makeplot/makeplot.sty
+++ b/Master/texmf-dist/tex/latex/makeplot/makeplot.sty
@@ -5,7 +5,7 @@
%% The original source files were:
%%
%% makeplot.dtx (with options: `makeplot')
-%% Copyright 2004--2008 by Jose Emilio Vila Forcen (jemilio@ieee.org)
+%% Copyright 2004--2008 by Jose Emilio Vila Forcen (jemilio@gmail.com)
%%
%% All rights reserved.
%%
@@ -20,7 +20,7 @@
%% version 2003/12/01 or later.
%%
%% This work has the LPPL maintenance status "maintained".
-%% The Current Maintainer of this work is Jose Emilio Vila Forcen (jemilio@ieee.org).
+%% The Current Maintainer of this work is Jose Emilio Vila Forcen (jemilio@gmail.com).
%%
%% \CharacterTable
@@ -40,8 +40,8 @@
%% Right brace \} Tilde \~}
%%
\NeedsTeXFormat{LaTeX2e}%
-\ProvidesPackage{makeplot}[2008/01/18 %
- v1.0.6 %
+\ProvidesPackage{makeplot}[2009/08/26 %
+ v1.0.7 %
Plots utility from Jose-Emilio Vila-Forcen]%
\RequirePackage[nomessages]{fp}%
\RequirePackage{pst-plot}%
@@ -157,10 +157,10 @@
\define@key[psset]{makeplot}{orgY}%
{\def\orgYmakeplot{#1}} %
\pst@addfams{makeplot}%
-\psset{Dx=1, Dy=1,%
-width=50, heightFactor=1, startX=0, endX=1, startY=0, endY=1,%
-showorigin=true, axesstyle=frame, ticks=all, labels=all, %
-factorBoundaryX=1, factorBoundaryY=1, captionY=100, captionX=100, %
+\psset{Dx=1, Dy=1,
+width=50, heightFactor=1, startX=0, endX=1, startY=0, endY=1,
+showorigin=true, axesstyle=frame, ticks=all, labels=all,
+factorBoundaryX=1, factorBoundaryY=1, captionY=100, captionX=100,
xsubticks=0, subticksize=1, subtickcolor=black}%
\ifMP@big%
\psset{tickwidth=0.5pt, subtickwidth=0.5pt, linewidth=1pt}%
@@ -242,9 +242,9 @@ xsubticks=0, subticksize=1, subtickcolor=black}%
% Change of the size of the plot
% if it is asked in the options,
% like putting the legend at the right
- \ifnum \endXb>0%
+ \ifnum \endXb>0
\FPdiv\w{\endXb}\unitX%
- \ifnum \endXa=0%
+ \ifnum \endXa=0
\def\endXa{\xz}%
\fi%
\FPadd\ww{\endXa}{-\xz}%
@@ -259,7 +259,7 @@ xsubticks=0, subticksize=1, subtickcolor=black}%
\begin{pspicture}(\xaaa,\yaaa)(\xzz,\yz)%
%
% Draw a box with the margins if requested
- \ifnum \drawmargins=0%
+ \ifnum \drawmargins=0
\psframe(\xaaa,\yaaa)(\xzz,\yz)%
\fi%
%
@@ -272,38 +272,38 @@ xsubticks=0, subticksize=1, subtickcolor=black}%
% not working yet
\def\xaOrigin{\xa}%
\def\yaOrigin{\ya}%
- \ifnum \orgX=314%
+ \ifnum \orgX=314
\else%
\def\xaOrigin{\orgX}%
\fi%
- \ifnum \orgY=314%
+ \ifnum \orgY=314
\else%
\def\yaOrigin{\orgY}%
\fi %
%
% Put the ticks as given in the options
- \ifnum \ticky=0%
+ \ifnum \ticky=0
\psaxes[Ox=\xa,Oy=\ya,Dx=\gridDx,Dy=\gridDy, #1,%
ticksize=-4pt 4pt, subticks=0, subticksize=0,%
tickwidth=0.5pt, linewidth=0pt,%
axesstyle=axes, linecolor=white, #1, ticks=all, labels=none]%
{-}(\xa,\ya)(\xa,\ya)(\xz,\yz)%
\fi%
- \ifnum \ticky=1%
+ \ifnum \ticky=1
\psaxes[Ox=\xa,Oy=\ya,Dx=\gridDx,Dy=\gridDy, #1,%
ticksize=-4pt 4pt, subticks=0, subticksize=0,%
tickwidth=0.5pt, linewidth=0pt,%
axesstyle=axes, linecolor=white, #1, ticks=x, labels=none]%
{-}(\xa,\ya)(\xa,\ya)(\xz,\yz)%
\fi%
- \ifnum \ticky=2%
+ \ifnum \ticky=2
\psaxes[Ox=\xa,Oy=\ya,Dx=\gridDx,Dy=\gridDy, #1,%
ticksize=-4pt 4pt, subticks=0, subticksize=0,%
tickwidth=0.5pt, linewidth=0pt,%
axesstyle=axes, linecolor=white, #1, ticks=y, labels=none]%
{-}(\xa,\ya)(\xa,\ya)(\xz,\yz)%
\fi%
- \ifnum \ticky=3%
+ \ifnum \ticky=3
\fi%
%
% Put the main axes and the grid
@@ -439,8 +439,8 @@ xsubticks=0, subticksize=1, subtickcolor=black}%
\define@key[psset]{whiteBG}{linestyleWhiteBG}{\def\linestyleWhiteBG{#1}}%
\define@key[psset]{whiteBG}{linecolorWhiteBG}{\def\linecolorWhiteBG{#1}}%
\pst@addfams{whiteBG}%
-\psset{fillcolorWhiteBG=white, fillstyleWhiteBG=solid,%
- framearcWhiteBG=0.3, linewidthWhiteBG=0.01, %
+\psset{fillcolorWhiteBG=white, fillstyleWhiteBG=solid,
+ framearcWhiteBG=0.3, linewidthWhiteBG=0.01,
linestyleWhiteBG=solid, linecolorWhiteBG=black}%
\def\whiteBG{\@ifnextchar[\@whiteBG{\@whiteBG[]}}%
\def\@whiteBG[#1]#2#3#4#5{%