diff options
author | Karl Berry <karl@freefriends.org> | 2014-08-06 22:47:59 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-08-06 22:47:59 +0000 |
commit | 1da164bf9c4fed03b30b98439a239f5a1873f9ae (patch) | |
tree | 2ed76752cb203cacf4135b821206b45c24b1a534 /Master/texmf-dist/tex/generic/pgfplots/pgfplotsmeshplothandler.code.tex | |
parent | e16354c1642ffdd8e82798c9f0f60108e85059c6 (diff) |
pgfplots (6aug14)
git-svn-id: svn://tug.org/texlive/trunk@34851 c570f23f-e606-0410-a88d-b1316a301751
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, 8 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/generic/pgfplots/pgfplotsmeshplothandler.code.tex b/Master/texmf-dist/tex/generic/pgfplots/pgfplotsmeshplothandler.code.tex index e1430c929cb..9d1ee9221e2 100644 --- a/Master/texmf-dist/tex/generic/pgfplots/pgfplotsmeshplothandler.code.tex +++ b/Master/texmf-dist/tex/generic/pgfplots/pgfplotsmeshplothandler.code.tex @@ -2227,6 +2227,7 @@ \global\pgf@x=\pgfplotspatchvertexx\space \global\pgf@y=\pgfplotspatchvertexy\space % compute the bounding box using the vertices: + \pgfpointtransformed{}% \pgf@protocolsizes{\pgf@x}{\pgf@y}% }% \fi @@ -2498,7 +2499,6 @@ % use colordata of ONE corner point. That's easy, not % much to do. \def\pgfplotsplothandlermesh@get@flat@color{% - \message{pgfplotsplothandlermesh@get@flat@color^^J}% \pgfplotspatchclass{\pgfplotsplothandlermesh@patchclass@output}{first vertex}% \let\pgfplots@current@point@meta=\pgfplotspatchvertexmeta \pgfplotsaxisvisphasetransformpointmeta @@ -2658,11 +2658,14 @@ /pgfplots/mesh/rows=3, /pgfplots/mesh/cols=3, /pgfplots/mesh/num points=, + /pgfplots/mesh input=lattice, + /pgfplots/patch type=rectangle, /tikz/x={(0.44237cm,-0.07439cm)}, /tikz/y={(0.30942cm,0.23932cm)}, /tikz/z={(0.0cm,1.5cm)}, scale=0.4, yshift=-0.7cm, + /pgfplots/point meta=explicit, ] \let\pgfplots@metamax=\pgfutil@empty \pgfplots@curplot@threedimtrue @@ -2676,22 +2679,15 @@ \pgfmathparse{1000/(\rangeb-\rangea)} \let\factor=\pgfmathresult - \pgfutil@IfUndefined{pgfqpointxyz@orig}{% - \let\pgfqpointxyz@orig=\pgfqpointxyz - }{}% - % \def\simplecoordinate(##1,##2,##3){% \pgfmathparse{\factor*(##3 - \rangea)}% \pgfmathfloatparsenumber\pgfmathresult \let\pgfplots@current@point@meta=\pgfmathresult - % pgfplots changes \pgfqpointxyz to - % \pgfplotspointdescriptionxy inside of legends, so use the - % '@orig' point command: - \pgfplotstreampoint{\pgfqpointxyz@orig{##1}{##2}{##3}}% + \pgfplotstreampoint{\pgfqpointxyz{##1}{##2}{##3}}% }% % for the case 'shader=interp': - \def\pgfplotspointbbupperright{\pgfqpointxyz@orig{2}{2}{0.9}} - \def\pgfplotspointbblowerleft {\pgfqpointxyz@orig{0}{0}{0.1}} + %\def\pgfplotspointbbupperright{\pgfqpointxyz{2}{2}{0.9}} + %\def\pgfplotspointbblowerleft {\pgfqpointxyz{0}{0}{0.1}} \simplecoordinate(0,2,0.7) \simplecoordinate(1,2,0.5) @@ -2745,7 +2741,7 @@ \def\pgfplotsplothandlermesh@PIPE@DECODE@to@shader#1{% \pgfplotsaxisvisphasetransformpointmeta \ifpgf@relevantforpicturesize - \pgf@process{#1}% + \pgfpointtransformed{#1}% \pgf@protocolsizes{\pgf@x}{\pgf@y}% \fi \pgfplotslibrarysurfstreamcoord |