diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/pgfplots/pgfplotsmeshplothandler.code.tex')
-rw-r--r-- | Master/texmf-dist/tex/generic/pgfplots/pgfplotsmeshplothandler.code.tex | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/generic/pgfplots/pgfplotsmeshplothandler.code.tex b/Master/texmf-dist/tex/generic/pgfplots/pgfplotsmeshplothandler.code.tex index 63cd7be107c..5084cd21b1e 100644 --- a/Master/texmf-dist/tex/generic/pgfplots/pgfplotsmeshplothandler.code.tex +++ b/Master/texmf-dist/tex/generic/pgfplots/pgfplotsmeshplothandler.code.tex @@ -362,6 +362,20 @@ }{\pgfplotspointmetatransformed}% }% },% + fill path={% + \def\b@pgfplotsmeshplothandler@fillpath@default@isfirst{1}% + \pgfplotspatchclass{\pgfplotspatchclassname}{foreach vertex}{% +%\message{vertex (\pgfplotspatchvertexx,\pgfplotspatchvertexy[\pgfplotspatchvertexmeta]. ^^J}% + \if1\b@pgfplotsmeshplothandler@fillpath@default@isfirst + \expandafter\pgfpathmoveto + \else + \expandafter\pgfpathlineto + \fi + {\global\pgf@x=\pgfplotspatchvertexx\space\global\pgf@y=\pgfplotspatchvertexy\space}% + \def\b@pgfplotsmeshplothandler@fillpath@default@isfirst{0}% + }% + \pgfpathclose + }, get num cdata vertices=\pgfplotspatchclass{\pgfplotspatchclassname}{get vertices}, set edge visible=\expandafter\edef\csname pgfppatchedge@##1\endcsname{##2}, uses view depth=0, @@ -797,6 +811,12 @@ }% +% A rectangle specified in the sequence +% D <-- C +% | ^ +% v | +% A --> B +% \pgfplotsdeclarepatchclass{rectangle}{% allow matrix=1, new=\def\pgfplotspatchclass@rect@no{0}, |