From 65d009a0596b194597f47531523addd3e64ed005 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 20 Mar 2018 22:10:59 +0000 Subject: context [current] (20mar18) git-svn-id: svn://tug.org/texlive/trunk@47050 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/metapost/context/base/mpiv/mp-grap.mpiv | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Master/texmf-dist/metapost/context/base/mpiv/mp-grap.mpiv') diff --git a/Master/texmf-dist/metapost/context/base/mpiv/mp-grap.mpiv b/Master/texmf-dist/metapost/context/base/mpiv/mp-grap.mpiv index 3a1d7742ad6..e799f629c0f 100644 --- a/Master/texmf-dist/metapost/context/base/mpiv/mp-grap.mpiv +++ b/Master/texmf-dist/metapost/context/base/mpiv/mp-grap.mpiv @@ -199,7 +199,8 @@ def begingraph(expr w, h) = graph_number_of_arrowheads = 0 ; if known graph_background : % new feature! - fill origin--(w,0)--(w,h)--(0,h)--cycle withcolor graph_background ; + addto graph_finished_graph contour + origin--(w,0)--(w,h)--(0,h)--cycle withcolor graph_background ; fi enddef ; @@ -863,7 +864,7 @@ vardef graph_gridline_picture@#(suffix $)(expr c, f, u)(text w) = if c : graph_xyscale fi shifted (((.5 + mfun_laboff@# dotprod (.5,.5)) * mfun_laboff@#) graph_xyscale) ; image(draw p w ; - label@#(if string f : format(f,u) else : f fi, point 0 of p)) + label@#(if string f : format(f,u) else : f fi, point 0 of p) w) fi enddef ; -- cgit v1.2.3