diff options
Diffstat (limited to 'metapost/context/base/mpxl/mp-lmtx.mpxl')
-rw-r--r-- | metapost/context/base/mpxl/mp-lmtx.mpxl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/metapost/context/base/mpxl/mp-lmtx.mpxl b/metapost/context/base/mpxl/mp-lmtx.mpxl index f06bb6991..9984ab805 100644 --- a/metapost/context/base/mpxl/mp-lmtx.mpxl +++ b/metapost/context/base/mpxl/mp-lmtx.mpxl @@ -1070,6 +1070,9 @@ def lmt_do_chart_start (expr what) = save width, height, distance, linewidth, labelgap, labelfraction, value, nofsamples, nofsamplesets ; save fillcolor, drawcolor, labelcolor, labelstyle, labelformat, labelstrut, labelanchor, colormode ; string fillcolor, drawcolor, labelcolor, labelstyle, labelformat, labelstrut, labelanchor, colormode ; + if hasparameter "sampleset" : + setluaparameter "what" "samples" (getparameter "sampleset") ; + fi ; height := getparameter "height" ; width := getparameter "width" ; distance := getparameter "distance" ; |