summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/metapost/context
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-07-20 18:06:20 +0000
committerKarl Berry <karl@freefriends.org>2009-07-20 18:06:20 +0000
commitaba1a497da7708c4f143ed49ed034a4058fc2828 (patch)
treed7aeed0fc952931967e15b124ef8d34ca4f056d9 /Master/texmf-dist/metapost/context
parent160531a5e2d0c9b532fb083d090e1f0c451a52f8 (diff)
context-gnuplot update (13jul09)
git-svn-id: svn://tug.org/texlive/trunk@14342 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/metapost/context')
-rw-r--r--Master/texmf-dist/metapost/context/third/gnuplot/mp-gnuplot.mp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Master/texmf-dist/metapost/context/third/gnuplot/mp-gnuplot.mp b/Master/texmf-dist/metapost/context/third/gnuplot/mp-gnuplot.mp
index 36c791c9373..46c0137e6cb 100644
--- a/Master/texmf-dist/metapost/context/third/gnuplot/mp-gnuplot.mp
+++ b/Master/texmf-dist/metapost/context/third/gnuplot/mp-gnuplot.mp
@@ -669,6 +669,9 @@ boolean context_gnuplot ; context_gnuplot := true;
def gp_fill_pattern(expr p, pattern) =
save arg_pattern; arg_pattern = pattern mod gp_num_patterns;
+ if arg_is_transparent = false:
+ fill p withcolor gp_color_background;
+ fi;
if pattern = gp_pattern_name_full:
% fill the area
fill p withcolor gp_color_current;