summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pgfplots/pgfplots-macros.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-02-18 17:29:19 +0000
committerKarl Berry <karl@freefriends.org>2009-02-18 17:29:19 +0000
commit580735009eac6952e6ce112bd3c6f00fade80c3f (patch)
treef30360f712a94d2d7fb524989a55fd6a97ccda9e /Master/texmf-dist/doc/latex/pgfplots/pgfplots-macros.tex
parent55304cf473fbdece6b5392aac6cfb75671e34189 (diff)
pgfplots update (17feb09)
git-svn-id: svn://tug.org/texlive/trunk@12180 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/pgfplots/pgfplots-macros.tex')
-rw-r--r--Master/texmf-dist/doc/latex/pgfplots/pgfplots-macros.tex3
1 files changed, 3 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pgfplots/pgfplots-macros.tex b/Master/texmf-dist/doc/latex/pgfplots/pgfplots-macros.tex
index f60170652e1..ce1d14208bc 100644
--- a/Master/texmf-dist/doc/latex/pgfplots/pgfplots-macros.tex
+++ b/Master/texmf-dist/doc/latex/pgfplots/pgfplots-macros.tex
@@ -396,6 +396,9 @@
% Shows the colormap named '#1'.
\def\pgfplotsshowcolormap#1{%
+ \pgfplotscolormapifdefined{#1}{\relax}{%
+ \pgfplotsset{colormap/#1}%
+ }%
\pgfplotscolormaptoshadingspec{#1}{8cm}\result
\def\tempb{\pgfdeclarehorizontalshading{tempshading}{1cm}}%
\expandafter\tempb\expandafter{\result}%