summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/metapost/context/third/gnuplot/mp-gnuplot.mp
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/metapost/context/third/gnuplot/mp-gnuplot.mp')
-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;