From 327cd87d4221068ab573a3504626efee4617a231 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 5 Jun 2017 23:09:50 +0000 Subject: pgfplots (5jun17) git-svn-id: svn://tug.org/texlive/trunk@44469 c570f23f-e606-0410-a88d-b1316a301751 --- .../libs/pgflibrarypgfplots.colortol.code.tex | 766 +++++++++++++++++++++ .../pgfplots/libs/tikzlibrarycolortol.code.tex | 277 ++++++++ .../libs/tikzlibrarypgfplots.dateplot.code.tex | 15 +- .../libs/tikzlibrarypgfplots.fillbetween.code.tex | 16 +- .../libs/tikzlibrarypgfplots.groupplots.code.tex | 34 +- .../libs/tikzlibrarypgfplots.patchplots.code.tex | 156 ++--- .../libs/tikzlibrarypgfplots.polar.code.tex | 8 +- .../libs/tikzlibrarypgfplots.statistics.code.tex | 50 +- 8 files changed, 1189 insertions(+), 133 deletions(-) create mode 100644 Master/texmf-dist/tex/generic/pgfplots/libs/pgflibrarypgfplots.colortol.code.tex create mode 100644 Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarycolortol.code.tex (limited to 'Master/texmf-dist/tex/generic/pgfplots/libs') diff --git a/Master/texmf-dist/tex/generic/pgfplots/libs/pgflibrarypgfplots.colortol.code.tex b/Master/texmf-dist/tex/generic/pgfplots/libs/pgflibrarypgfplots.colortol.code.tex new file mode 100644 index 00000000000..e83d62a70f9 --- /dev/null +++ b/Master/texmf-dist/tex/generic/pgfplots/libs/pgflibrarypgfplots.colortol.code.tex @@ -0,0 +1,766 @@ + +% load all colors for the `colormap's and `cycle list's +\usetikzlibrary{colortol} + +% define `colormap's +\pgfplotsset{ + /pgfplots/@@colortol set cycle list/.code={% + \pgfkeysalso{ + /pgfplots/ensure colormap={/pgfplots/colormap/#1}, + /pgfplots/cycle list name=#1, + }, + }, + % ----------------------------------- + % define "the" palette I colormap, which is just an alias for + % the colormap `colortol-P1-9' + /pgfplots/colormap/colortol-P1/.style={ + colormap={colortol-P1}{ + color=(colortol-P1-A); + color=(colortol-P1-D); + color=(colortol-P1-E); + color=(colortol-P1-F); + color=(colortol-P1-G); + color=(colortol-P1-H); + color=(colortol-P1-I); + color=(colortol-P1-L); + color=(colortol-P1-M); + }, + cycle list/.define={colortol-P1}{[of colormap=colortol-P1]}, + }, + /pgfplots/cycle list/colortol-P1/.style={/pgfplots/@@colortol set cycle list={colortol-P1}}, + % + % ----------------------------------- + % define (other) palette I colormaps + /pgfplots/colormap/colortol-P1-3/.style={ + colormap={colortol-P1-3}{ + color=(colortol-P1-B); + color=(colortol-P1-H); + color=(colortol-P1-J); + }, + cycle list/.define={colortol-P1-3}{[of colormap=colortol-P1-3]}, + }, + /pgfplots/cycle list/colortol-P1-3/.style={/pgfplots/@@colortol set cycle list={colortol-P1-3}}, + % + /pgfplots/colormap/colortol-P1-4/.style={ + colormap={colortol-P1-4}{ + color=(colortol-P1-B); + color=(colortol-P1-F); + color=(colortol-P1-H); + color=(colortol-P1-J); + }, + cycle list/.define={colortol-P1-4}{[of colormap=colortol-P1-4]}, + }, + /pgfplots/cycle list/colortol-P1-4/.style={/pgfplots/@@colortol set cycle list={colortol-P1-4}}, + % + /pgfplots/colormap/colortol-P1-5/.style={ + colormap={colortol-P1-5}{ + color=(colortol-P1-A); + color=(colortol-P1-D); + color=(colortol-P1-F); + color=(colortol-P1-H); + color=(colortol-P1-J); + }, + cycle list/.define={colortol-P1-5}{[of colormap=colortol-P1-5]}, + }, + /pgfplots/cycle list/colortol-P1-5/.style={/pgfplots/@@colortol set cycle list={colortol-P1-5}}, + % + /pgfplots/colormap/colortol-P1-6/.style={ + colormap={colortol-P1-6}{ + color=(colortol-P1-A); + color=(colortol-P1-D); + color=(colortol-P1-F); + color=(colortol-P1-H); + color=(colortol-P1-J); + color=(colortol-P1-M); + }, + cycle list/.define={colortol-P1-6}{[of colormap=colortol-P1-6]}, + }, + /pgfplots/cycle list/colortol-P1-6/.style={/pgfplots/@@colortol set cycle list={colortol-P1-6}}, + % + /pgfplots/colormap/colortol-P1-7/.style={ + colormap={colortol-P1-7}{ + color=(colortol-P1-A); + color=(colortol-P1-D); + color=(colortol-P1-E); + color=(colortol-P1-F); + color=(colortol-P1-H); + color=(colortol-P1-J); + color=(colortol-P1-M); + }, + cycle list/.define={colortol-P1-7}{[of colormap=colortol-P1-7]}, + }, + /pgfplots/cycle list/colortol-P1-7/.style={/pgfplots/@@colortol set cycle list={colortol-P1-7}}, + % + /pgfplots/colormap/colortol-P1-8/.style={ + colormap={colortol-P1-8}{ + color=(colortol-P1-A); + color=(colortol-P1-D); + color=(colortol-P1-E); + color=(colortol-P1-F); + color=(colortol-P1-G); + color=(colortol-P1-H); + color=(colortol-P1-J); + color=(colortol-P1-M); + }, + cycle list/.define={colortol-P1-8}{[of colormap=colortol-P1-8]}, + }, + /pgfplots/cycle list/colortol-P1-8/.style={/pgfplots/@@colortol set cycle list={colortol-P1-8}}, + % + /pgfplots/colormap/colortol-P1-9/.style={ + colormap={colortol-P1-9}{ + color=(colortol-P1-A); + color=(colortol-P1-D); + color=(colortol-P1-E); + color=(colortol-P1-F); + color=(colortol-P1-G); + color=(colortol-P1-H); + color=(colortol-P1-J); + color=(colortol-P1-L); + color=(colortol-P1-M); + }, + cycle list/.define={colortol-P1-9}{[of colormap=colortol-P1-9]}, + }, + /pgfplots/cycle list/colortol-P1-9/.style={/pgfplots/@@colortol set cycle list={colortol-P1-9}}, + % + /pgfplots/colormap/colortol-P1-10/.style={ + colormap={colortol-P1-10}{ + color=(colortol-P1-A); + color=(colortol-P1-D); + color=(colortol-P1-E); + color=(colortol-P1-F); + color=(colortol-P1-G); + color=(colortol-P1-H); + color=(colortol-P1-I); + color=(colortol-P1-J); + color=(colortol-P1-L); + color=(colortol-P1-M); + }, + cycle list/.define={colortol-P1-10}{[of colormap=colortol-P1-10]}, + }, + /pgfplots/cycle list/colortol-P1-10/.style={/pgfplots/@@colortol set cycle list={colortol-P1-10}}, + % + /pgfplots/colormap/colortol-P1-11/.style={ + colormap={colortol-P1-11}{ + color=(colortol-P1-A); + color=(colortol-P1-C); + color=(colortol-P1-D); + color=(colortol-P1-E); + color=(colortol-P1-F); + color=(colortol-P1-G); + color=(colortol-P1-H); + color=(colortol-P1-I); + color=(colortol-P1-J); + color=(colortol-P1-L); + color=(colortol-P1-M); + }, + cycle list/.define={colortol-P1-11}{[of colormap=colortol-P1-11]}, + }, + /pgfplots/cycle list/colortol-P1-11/.style={/pgfplots/@@colortol set cycle list={colortol-P1-11}}, + % + /pgfplots/colormap/colortol-P1-12/.style={ + colormap={colortol-P1-12}{ + color=(colortol-P1-A); + color=(colortol-P1-C); + color=(colortol-P1-D); + color=(colortol-P1-E); + color=(colortol-P1-F); + color=(colortol-P1-G); + color=(colortol-P1-H); + color=(colortol-P1-I); + color=(colortol-P1-J); + color=(colortol-P1-K); + color=(colortol-P1-L); + color=(colortol-P1-M); + }, + cycle list/.define={colortol-P1-12}{[of colormap=colortol-P1-12]}, + }, + /pgfplots/cycle list/colortol-P1-12/.style={/pgfplots/@@colortol set cycle list={colortol-P1-12}}, + % + % ----------------------------------- + % define palette II colormaps + /pgfplots/colormap/colortol-P2light/.style={ + colormap={colortol-P2light}{ + color=(colortol-P2light-A); + color=(colortol-P2light-B); + color=(colortol-P2light-C); + color=(colortol-P2light-D); + color=(colortol-P2light-E); + color=(colortol-P2light-F); + color=(colortol-P2light-G); + }, + cycle list/.define={colortol-P2light}{[of colormap=colortol-P2light]}, + }, + /pgfplots/cycle list/colortol-P2light/.style={/pgfplots/@@colortol set cycle list={colortol-P2light}}, + % + /pgfplots/colormap/colortol-P2/.style={ + colormap={colortol-P2}{ + color=(colortol-P2-A); + color=(colortol-P2-B); + color=(colortol-P2-C); + color=(colortol-P2-D); + color=(colortol-P2-E); + color=(colortol-P2-F); + color=(colortol-P2-G); + }, + cycle list/.define={colortol-P2}{[of colormap=colortol-P2]}, + }, + /pgfplots/cycle list/colortol-P2/.style={/pgfplots/@@colortol set cycle list={colortol-P2}}, + % + /pgfplots/colormap/colortol-P2dark/.style={ + colormap={colortol-P2dark}{ + color=(colortol-P2dark-A); + color=(colortol-P2dark-B); + color=(colortol-P2dark-C); + color=(colortol-P2dark-D); + color=(colortol-P2dark-E); + color=(colortol-P2dark-F); + color=(colortol-P2dark-G); + }, + cycle list/.define={colortol-P2dark}{[of colormap=colortol-P2dark]}, + }, + /pgfplots/cycle list/colortol-P2dark/.style={/pgfplots/@@colortol set cycle list={colortol-P2dark}}, + % + % ----------------------------------- + % define palette III colormap, which is just an alias for + % the colormap `colortol-P3-5+' + /pgfplots/colormap/colortol-P3/.style={ + colormap={colortol-P3}{ + color=(colortol-P3-blue), + color=(colortol-P3-cyan), + color=(colortol-P3-green), + color=(colortol-P3-yellow), + color=(colortol-P3-red), + color=(colortol-P3-pink), + }, + cycle list/.define={colortol-P3}{[of colormap=colortol-P3]}, + }, + /pgfplots/cycle list/colortol-P3/.style={/pgfplots/@@colortol set cycle list={colortol-P3}}, + % + % ----------------------------------- + % define (other) palette III colormaps + /pgfplots/colormap/colortol-P3-4-/.style={ + colormap={colortol-P3-4-}{ + color=(colortol-P3-blue), + color=(colortol-P3-red), + color=(colortol-P3-green), + color=(colortol-P3-yellow), + }, + cycle list/.define={colortol-P3-4-}{[of colormap=colortol-P3-4-]}, + }, + /pgfplots/cycle list/colortol-P3-4-/.style={/pgfplots/@@colortol set cycle list={colortol-P3-4-}}, + % + /pgfplots/colormap/colortol-P3-5+/.style={ + colormap={colortol-P3-5+}{ + color=(colortol-P3-blue), + color=(colortol-P3-cyan), + color=(colortol-P3-green), + color=(colortol-P3-yellow), + color=(colortol-P3-red), + color=(colortol-P3-pink), + }, + cycle list/.define={colortol-P3-5+}{[of colormap=colortol-P3-5+]}, + }, + /pgfplots/cycle list/colortol-P3-5+/.style={/pgfplots/@@colortol set cycle list={colortol-P3-5+}}, + % + % =================================== + % define colormaps for sequential data + /pgfplots/colormap/colortol-seq-3/.style={ + colormap={colortol-seq-3}{ + color=(colortol-seq-C); + color=(colortol-seq-F); + color=(colortol-seq-I); + }, + cycle list/.define={colortol-seq-3}{[of colormap=colortol-seq-3]}, + }, + /pgfplots/cycle list/colortol-seq-3/.style={/pgfplots/@@colortol set cycle list={colortol-seq-3}}, + % + /pgfplots/colormap/colortol-seq-4/.style={ + colormap={colortol-seq-4}{ + color=(colortol-seq-B); + color=(colortol-seq-E); + color=(colortol-seq-G); + color=(colortol-seq-J); + }, + cycle list/.define={colortol-seq-4}{[of colormap=colortol-seq-4]}, + }, + /pgfplots/cycle list/colortol-seq-4/.style={/pgfplots/@@colortol set cycle list={colortol-seq-4}}, + % + /pgfplots/colormap/colortol-seq-5/.style={ + colormap={colortol-seq-5}{ + color=(colortol-seq-B); + color=(colortol-seq-E); + color=(colortol-seq-G); + color=(colortol-seq-I); + color=(colortol-seq-K); + }, + cycle list/.define={colortol-seq-5}{[of colormap=colortol-seq-5]}, + }, + /pgfplots/cycle list/colortol-seq-5/.style={/pgfplots/@@colortol set cycle list={colortol-seq-5}}, + % + /pgfplots/colormap/colortol-seq-6/.style={ + colormap={colortol-seq-6}{ + color=(colortol-seq-B); + color=(colortol-seq-D); + color=(colortol-seq-F); + color=(colortol-seq-G); + color=(colortol-seq-I); + color=(colortol-seq-K); + }, + cycle list/.define={colortol-seq-6}{[of colormap=colortol-seq-6]}, + }, + /pgfplots/cycle list/colortol-seq-6/.style={/pgfplots/@@colortol set cycle list={colortol-seq-6}}, + % + /pgfplots/colormap/colortol-seq-7/.style={ + colormap={colortol-seq-7}{ + color=(colortol-seq-B); + color=(colortol-seq-D); + color=(colortol-seq-F); + color=(colortol-seq-G); + color=(colortol-seq-H); + color=(colortol-seq-J); + color=(colortol-seq-L); + }, + cycle list/.define={colortol-seq-7}{[of colormap=colortol-seq-7]}, + }, + /pgfplots/cycle list/colortol-seq-7/.style={/pgfplots/@@colortol set cycle list={colortol-seq-7}}, + % + /pgfplots/colormap/colortol-seq-8/.style={ + colormap={colortol-seq-8}{ + color=(colortol-seq-A); + color=(colortol-seq-C); + color=(colortol-seq-D); + color=(colortol-seq-F); + color=(colortol-seq-G); + color=(colortol-seq-H); + color=(colortol-seq-J); + color=(colortol-seq-L); + }, + cycle list/.define={colortol-seq-8}{[of colormap=colortol-seq-8]}, + }, + /pgfplots/cycle list/colortol-seq-8/.style={/pgfplots/@@colortol set cycle list={colortol-seq-8}}, + % + /pgfplots/colormap/colortol-seq-9/.style={ + colormap={colortol-seq-9}{ + color=(colortol-seq-A); + color=(colortol-seq-C); + color=(colortol-seq-D); + color=(colortol-seq-F); + color=(colortol-seq-G); + color=(colortol-seq-H); + color=(colortol-seq-J); + color=(colortol-seq-K); + color=(colortol-seq-M); + }, + cycle list/.define={colortol-seq-9}{[of colormap=colortol-seq-9]}, + }, + /pgfplots/cycle list/colortol-seq-9/.style={/pgfplots/@@colortol set cycle list={colortol-seq-9}}, + % + % ----------------------------------- + % define colormaps for diverging data + /pgfplots/colormap/colortol-div-3/.style={ + colormap={colortol-div-3}{ + color=(colortol-div-E); + color=(colortol-div-H); + color=(colortol-div-K); + }, + cycle list/.define={colortol-div-3}{[of colormap=colortol-div-3]}, + }, + /pgfplots/cycle list/colortol-div-3/.style={/pgfplots/@@colortol set cycle list={colortol-div-3}}, + % + /pgfplots/colormap/colortol-div-4/.style={ + colormap={colortol-div-4}{ + color=(colortol-div-A); + color=(colortol-div-F); + color=(colortol-div-J); + color=(colortol-div-N); + }, + cycle list/.define={colortol-div-4}{[of colormap=colortol-div-4]}, + }, + /pgfplots/cycle list/colortol-div-4/.style={/pgfplots/@@colortol set cycle list={colortol-div-4}}, + % + /pgfplots/colormap/colortol-div-5/.style={ + colormap={colortol-div-5}{ + color=(colortol-div-A); + color=(colortol-div-F); + color=(colortol-div-H); + color=(colortol-div-J); + color=(colortol-div-N); + }, + cycle list/.define={colortol-div-5}{[of colormap=colortol-div-5]}, + }, + /pgfplots/cycle list/colortol-div-5/.style={/pgfplots/@@colortol set cycle list={colortol-div-5}}, + % + /pgfplots/colormap/colortol-div-6/.style={ + colormap={colortol-div-6}{ + color=(colortol-div-C); + color=(colortol-div-E); + color=(colortol-div-G); + color=(colortol-div-I); + color=(colortol-div-K); + color=(colortol-div-M); + }, + cycle list/.define={colortol-div-6}{[of colormap=colortol-div-6]}, + }, + /pgfplots/cycle list/colortol-div-6/.style={/pgfplots/@@colortol set cycle list={colortol-div-6}}, + % + /pgfplots/colormap/colortol-div-7/.style={ + colormap={colortol-div-7}{ + color=(colortol-div-C); + color=(colortol-div-E); + color=(colortol-div-G); + color=(colortol-div-H); + color=(colortol-div-I); + color=(colortol-div-K); + color=(colortol-div-M); + }, + cycle list/.define={colortol-div-7}{[of colormap=colortol-div-7]}, + }, + /pgfplots/cycle list/colortol-div-7/.style={/pgfplots/@@colortol set cycle list={colortol-div-7}}, + % + /pgfplots/colormap/colortol-div-8/.style={ + colormap={colortol-div-8}{ + color=(colortol-div-C); + color=(colortol-div-D); + color=(colortol-div-F); + color=(colortol-div-G); + color=(colortol-div-I); + color=(colortol-div-J); + color=(colortol-div-L); + color=(colortol-div-M); + }, + cycle list/.define={colortol-div-8}{[of colormap=colortol-div-8]}, + }, + /pgfplots/cycle list/colortol-div-8/.style={/pgfplots/@@colortol set cycle list={colortol-div-8}}, + % + /pgfplots/colormap/colortol-div-9/.style={ + colormap={colortol-div-9}{ + color=(colortol-div-C); + color=(colortol-div-D); + color=(colortol-div-F); + color=(colortol-div-G); + color=(colortol-div-H); + color=(colortol-div-I); + color=(colortol-div-J); + color=(colortol-div-L); + color=(colortol-div-M); + }, + cycle list/.define={colortol-div-9}{[of colormap=colortol-div-9]}, + }, + /pgfplots/cycle list/colortol-div-9/.style={/pgfplots/@@colortol set cycle list={colortol-div-9}}, + % + /pgfplots/colormap/colortol-div-10/.style={ + colormap={colortol-div-10}{ + color=(colortol-div-B); + color=(colortol-div-C); + color=(colortol-div-D); + color=(colortol-div-F); + color=(colortol-div-G); + color=(colortol-div-I); + color=(colortol-div-J); + color=(colortol-div-L); + color=(colortol-div-M); + color=(colortol-div-O); + }, + cycle list/.define={colortol-div-10}{[of colormap=colortol-div-10]}, + }, + /pgfplots/cycle list/colortol-div-10/.style={/pgfplots/@@colortol set cycle list={colortol-div-10}}, + % + /pgfplots/colormap/colortol-div-11/.style={ + colormap={colortol-div-11}{ + color=(colortol-div-B); + color=(colortol-div-C); + color=(colortol-div-D); + color=(colortol-div-F); + color=(colortol-div-G); + color=(colortol-div-H); + color=(colortol-div-I); + color=(colortol-div-J); + color=(colortol-div-L); + color=(colortol-div-M); + color=(colortol-div-O); + }, + cycle list/.define={colortol-div-11}{[of colormap=colortol-div-11]}, + }, + /pgfplots/cycle list/colortol-div-11/.style={/pgfplots/@@colortol set cycle list={colortol-div-11}}, + % + % ----------------- + /pgfplots/colormap/colortol-div2/.style={ + colormap={colortol-div2}{ + color=(colortol-div2-A); + color=(colortol-div2-B); + color=(colortol-div2-C); + color=(colortol-div2-D); + color=(colortol-div2-E); + color=(colortol-div2-F); + color=(colortol-div2-G); + color=(colortol-div2-H); + color=(colortol-div2-I); + }, + cycle list/.define={colortol-div2}{[of colormap=colortol-div2]}, + }, + /pgfplots/cycle list/colortol-div2/.style={/pgfplots/@@colortol set cycle list={colortol-div2}}, + % + /pgfplots/colormap/colortol-div3/.style={ + colormap={colortol-div3}{ + color=(colortol-div3-A); + color=(colortol-div3-B); + color=(colortol-div3-C); + color=(colortol-div3-D); + color=(colortol-div3-E); + color=(colortol-div3-F); + color=(colortol-div3-G); + color=(colortol-div3-H); + color=(colortol-div3-I); + }, + cycle list/.define={colortol-div3}{[of colormap=colortol-div3]}, + }, + /pgfplots/cycle list/colortol-div3/.style={/pgfplots/@@colortol set cycle list={colortol-div3}}, + % + % =================================== + % define rainbow colormaps + /pgfplots/colormap/colortol-rainbow-4/.style={ + colormap={colortol-rainbow-4}{ + color=(colortol-rainbow-F); + color=(colortol-rainbow-W); + color=(colortol-rainbow-AQ); + color=(colortol-rainbow-AD); + }, + cycle list/.define={colortol-rainbow-4}{[of colormap=colortol-rainbow-4]}, + }, + /pgfplots/cycle list/colortol-rainbow-4/.style={/pgfplots/@@colortol set cycle list={colortol-rainbow-4}}, + % + /pgfplots/colormap/colortol-rainbow-5/.style={ + colormap={colortol-rainbow-5}{ + color=(colortol-rainbow-F); + color=(colortol-rainbow-T); + color=(colortol-rainbow-AD); + color=(colortol-rainbow-AS); + color=(colortol-rainbow-AD); + }, + cycle list/.define={colortol-rainbow-5}{[of colormap=colortol-rainbow-5]}, + }, + /pgfplots/cycle list/colortol-rainbow-5/.style={/pgfplots/@@colortol set cycle list={colortol-rainbow-5}}, + % + /pgfplots/colormap/colortol-rainbow-6/.style={ + colormap={colortol-rainbow-6}{ + color=(colortol-rainbow-F); + color=(colortol-rainbow-Q); + color=(colortol-rainbow-AA); + color=(colortol-rainbow-AK); + color=(colortol-rainbow-AV); + color=(colortol-rainbow-AD); + }, + cycle list/.define={colortol-rainbow-6}{[of colormap=colortol-rainbow-6]}, + }, + /pgfplots/cycle list/colortol-rainbow-6/.style={/pgfplots/@@colortol set cycle list={colortol-rainbow-6}}, + % + /pgfplots/colormap/colortol-rainbow-7/.style={ + colormap={colortol-rainbow-7}{ + color=(colortol-rainbow-A); + color=(colortol-rainbow-J); + color=(colortol-rainbow-U); + color=(colortol-rainbow-AB); + color=(colortol-rainbow-AM); + color=(colortol-rainbow-AW); + color=(colortol-rainbow-AD); + }, + cycle list/.define={colortol-rainbow-7}{[of colormap=colortol-rainbow-7]}, + }, + /pgfplots/cycle list/colortol-rainbow-7/.style={/pgfplots/@@colortol set cycle list={colortol-rainbow-7}}, + % + /pgfplots/colormap/colortol-rainbow-8/.style={ + colormap={colortol-rainbow-8}{ + color=(colortol-rainbow-A); + color=(colortol-rainbow-I); + color=(colortol-rainbow-R); + color=(colortol-rainbow-Y); + color=(colortol-rainbow-AG); + color=(colortol-rainbow-AO); + color=(colortol-rainbow-AX); + color=(colortol-rainbow-AD); + }, + cycle list/.define={colortol-rainbow-8}{[of colormap=colortol-rainbow-8]}, + }, + /pgfplots/cycle list/colortol-rainbow-8/.style={/pgfplots/@@colortol set cycle list={colortol-rainbow-8}}, + % + /pgfplots/colormap/colortol-rainbow-9/.style={ + colormap={colortol-rainbow-9}{ + color=(colortol-rainbow-A); + color=(colortol-rainbow-H); + color=(colortol-rainbow-N); + color=(colortol-rainbow-W); + color=(colortol-rainbow-AB); + color=(colortol-rainbow-AI); + color=(colortol-rainbow-AR); + color=(colortol-rainbow-AY); + color=(colortol-rainbow-AD); + }, + cycle list/.define={colortol-rainbow-9}{[of colormap=colortol-rainbow-9]}, + }, + /pgfplots/cycle list/colortol-rainbow-9/.style={/pgfplots/@@colortol set cycle list={colortol-rainbow-9}}, + % + /pgfplots/colormap/colortol-rainbow-10/.style={ + colormap={colortol-rainbow-10}{ + color=(colortol-rainbow-A); + color=(colortol-rainbow-G); + color=(colortol-rainbow-M); + color=(colortol-rainbow-T); + color=(colortol-rainbow-Z); + color=(colortol-rainbow-AF); + color=(colortol-rainbow-AL); + color=(colortol-rainbow-AS); + color=(colortol-rainbow-AZ); + color=(colortol-rainbow-AD); + }, + cycle list/.define={colortol-rainbow-10}{[of colormap=colortol-rainbow-10]}, + }, + /pgfplots/cycle list/colortol-rainbow-10/.style={/pgfplots/@@colortol set cycle list={colortol-rainbow-10}}, + % + /pgfplots/colormap/colortol-rainbow-11/.style={ + colormap={colortol-rainbow-11}{ + color=(colortol-rainbow-A); + color=(colortol-rainbow-F); + color=(colortol-rainbow-L); + color=(colortol-rainbow-S); + color=(colortol-rainbow-X); + color=(colortol-rainbow-AC); + color=(colortol-rainbow-AH); + color=(colortol-rainbow-AN); + color=(colortol-rainbow-AT); + color=(colortol-rainbow-BA); + color=(colortol-rainbow-AD); + }, + cycle list/.define={colortol-rainbow-11}{[of colormap=colortol-rainbow-11]}, + }, + /pgfplots/cycle list/colortol-rainbow-11/.style={/pgfplots/@@colortol set cycle list={colortol-rainbow-11}}, + % + /pgfplots/colormap/colortol-rainbow-12/.style={ + colormap={colortol-rainbow-12}{ + color=(colortol-rainbow-A); + color=(colortol-rainbow-E); + color=(colortol-rainbow-K); + color=(colortol-rainbow-P); + color=(colortol-rainbow-V); + color=(colortol-rainbow-AA); + color=(colortol-rainbow-AE); + color=(colortol-rainbow-AJ); + color=(colortol-rainbow-AP); + color=(colortol-rainbow-AU); + color=(colortol-rainbow-AB); + color=(colortol-rainbow-AD); + }, + cycle list/.define={colortol-rainbow-12}{[of colormap=colortol-rainbow-12]}, + }, + /pgfplots/cycle list/colortol-rainbow-12/.style={/pgfplots/@@colortol set cycle list={colortol-rainbow-12}}, + % + /pgfplots/colormap/colortol-rainbow-14/.style={ + colormap={colortol-rainbow-14}{ + color=(colortol-rainbow-B); + color=(colortol-rainbow-C); + color=(colortol-rainbow-D); + color=(colortol-rainbow-AF); + color=(colortol-rainbow-O); + color=(colortol-rainbow-AG); + color=(colortol-rainbow-AH); + color=(colortol-rainbow-AI); + color=(colortol-rainbow-AJ); + color=(colortol-rainbow-AK); + color=(colortol-rainbow-AL); + color=(colortol-rainbow-AM); + color=(colortol-rainbow-AC); + color=(colortol-rainbow-AE); + }, + cycle list/.define={colortol-rainbow-14}{[of colormap=colortol-rainbow-14]}, + }, + /pgfplots/cycle list/colortol-rainbow-14/.style={/pgfplots/@@colortol set cycle list={colortol-rainbow-14}}, + % + % ----------------------------------- + % define continuous rainbow colormap + /pgfplots/colormap/colortol-rainbow-cont/.style={ + colormap={colortol-rainbow-cont}{ + color=(colortol-rainbow-cont-A); + color=(colortol-rainbow-cont-B); + color=(colortol-rainbow-cont-C); + color=(colortol-rainbow-cont-D); + color=(colortol-rainbow-cont-E); + color=(colortol-rainbow-cont-F); + color=(colortol-rainbow-cont-G); + color=(colortol-rainbow-cont-H); + color=(colortol-rainbow-cont-I); + color=(colortol-rainbow-cont-J); + color=(colortol-rainbow-cont-K); + color=(colortol-rainbow-cont-L); + color=(colortol-rainbow-cont-M); + color=(colortol-rainbow-cont-N); + color=(colortol-rainbow-cont-O); + color=(colortol-rainbow-cont-P); + color=(colortol-rainbow-cont-Q); + color=(colortol-rainbow-cont-R); + color=(colortol-rainbow-cont-S); + color=(colortol-rainbow-cont-T); + color=(colortol-rainbow-cont-U); + color=(colortol-rainbow-cont-V); + color=(colortol-rainbow-cont-W); + color=(colortol-rainbow-cont-X); + color=(colortol-rainbow-cont-Y); + }, + cycle list/.define={colortol-rainbow-cont}{[of colormap=colortol-rainbow-cont]}, + }, + /pgfplots/cycle list/colortol-rainbow-cont/.style={/pgfplots/@@colortol set cycle list={colortol-rainbow-cont}}, + % + % ----------------- + /pgfplots/colormap/colortol-rainbow-ext-low/.style={ + colormap={colortol-rainbow-ext-low}{ + color=(colortol-rainbow-ext-low-A), + color=(colortol-rainbow-ext-low-B), + color=(colortol-rainbow-ext-low-C), + color=(colortol-rainbow-ext-low-D), + color=(colortol-rainbow-ext-low-E), + color=(colortol-rainbow-ext-low-F), + color=(colortol-rainbow-ext-low-G), + color=(colortol-rainbow-ext-low-H), + }, + cycle list/.define={colortol-rainbow-ext-low}{[of colormap=colortol-rainbow-ext-low]}, + }, + /pgfplots/cycle list/colortol-rainbow-ext-low/.style={/pgfplots/@@colortol set cycle list={colortol-rainbow-ext-low}}, + % + /pgfplots/colormap/colortol-rainbow-cont/.style={ + colormap={colortol-rainbow-cont}{ + color=(colortol-rainbow-ext-A), + color=(colortol-rainbow-ext-B), + color=(colortol-rainbow-ext-C), + color=(colortol-rainbow-ext-D), + color=(colortol-rainbow-ext-E), + color=(colortol-rainbow-ext-F), + color=(colortol-rainbow-ext-G), + color=(colortol-rainbow-ext-H), + color=(colortol-rainbow-ext-I), + color=(colortol-rainbow-ext-J), + color=(colortol-rainbow-ext-K), + color=(colortol-rainbow-ext-L), + color=(colortol-rainbow-ext-M), + color=(colortol-rainbow-ext-N), + color=(colortol-rainbow-ext-O), + color=(colortol-rainbow-ext-P), + color=(colortol-rainbow-ext-Q), + color=(colortol-rainbow-ext-R), + color=(colortol-rainbow-ext-S), + color=(colortol-rainbow-ext-T), + color=(colortol-rainbow-ext-U), + color=(colortol-rainbow-ext-V), + }, + cycle list/.define={colortol-rainbow-ext}{[of colormap=colortol-rainbow-ext]}, + }, + /pgfplots/cycle list/colortol-rainbow-ext/.style={/pgfplots/@@colortol set cycle list={colortol-rainbow-ext}}, + % + /pgfplots/colormap/colortol-rainbow-ext-high/.style={ + colormap={colortol-rainbow-ext-high}{ + color=(colortol-rainbow-ext-high-A), + color=(colortol-rainbow-ext-high-B), + color=(colortol-rainbow-ext-high-C), + color=(colortol-rainbow-ext-high-D), + }, + cycle list/.define={colortol-rainbow-ext-high}{[of colormap=colortol-rainbow-ext-high]}, + }, + /pgfplots/cycle list/colortol-rainbow-ext-high/.style={/pgfplots/@@colortol set cycle list={colortol-rainbow-ext-high}}, +} diff --git a/Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarycolortol.code.tex b/Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarycolortol.code.tex new file mode 100644 index 00000000000..21a1e4c7813 --- /dev/null +++ b/Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarycolortol.code.tex @@ -0,0 +1,277 @@ + +% Color schemes as obtained from +% and respectively + +% ============================================================================= +% colors from palette I +\pgfutil@definecolor{colortol-P1-A}{RGB}{51,34,136} +\pgfutil@definecolor{colortol-P1-B}{RGB}{68,119,170} +\pgfutil@definecolor{colortol-P1-C}{RGB}{102,153,204} +\pgfutil@definecolor{colortol-P1-D}{RGB}{136,204,238} +\pgfutil@definecolor{colortol-P1-E}{RGB}{68,170,153} +\pgfutil@definecolor{colortol-P1-F}{RGB}{17,119,51} +\pgfutil@definecolor{colortol-P1-G}{RGB}{153,153,51} +\pgfutil@definecolor{colortol-P1-H}{RGB}{221,204,119} +\pgfutil@definecolor{colortol-P1-I}{RGB}{102,17,0} +\pgfutil@definecolor{colortol-P1-J}{RGB}{204,102,119} +\pgfutil@definecolor{colortol-P1-K}{RGB}{170,68,102} +\pgfutil@definecolor{colortol-P1-L}{RGB}{136,34,85} +\pgfutil@definecolor{colortol-P1-M}{RGB}{170,68,153} +% color for data gaps +\pgfutil@definecolor{colortol-P1-gap}{RGB}{221,221,221} + + +% ----------------------------------------------------------------------------- +% colors from palette II +% bright +\pgfutil@definecolor{colortol-P2light-A}{RGB}{119,170,221} +\pgfutil@definecolor{colortol-P2light-B}{RGB}{119,204,204} +\pgfutil@definecolor{colortol-P2light-C}{RGB}{136,204,170} +\pgfutil@definecolor{colortol-P2light-D}{RGB}{221,221,119} +\pgfutil@definecolor{colortol-P2light-E}{RGB}{221,170,119} +\pgfutil@definecolor{colortol-P2light-F}{RGB}{221,119,136} +\pgfutil@definecolor{colortol-P2light-G}{RGB}{204,153,187} +% medium +\pgfutil@definecolor{colortol-P2-A}{RGB}{68,119,170} +\pgfutil@definecolor{colortol-P2-B}{RGB}{68,170,170} +\pgfutil@definecolor{colortol-P2-C}{RGB}{68,170,119} +\pgfutil@definecolor{colortol-P2-D}{RGB}{170,170,68} +\pgfutil@definecolor{colortol-P2-E}{RGB}{170,119,68} +\pgfutil@definecolor{colortol-P2-F}{RGB}{170,68,85} +\pgfutil@definecolor{colortol-P2-G}{RGB}{170,68,136} +% dark +\pgfutil@definecolor{colortol-P2dark-A}{RGB}{17,68,119} +\pgfutil@definecolor{colortol-P2dark-B}{RGB}{17,119,119} +\pgfutil@definecolor{colortol-P2dark-C}{RGB}{17,119,68} +\pgfutil@definecolor{colortol-P2dark-D}{RGB}{119,119,17} +\pgfutil@definecolor{colortol-P2dark-E}{RGB}{119,68,17} +\pgfutil@definecolor{colortol-P2dark-F}{RGB}{119,17,34} +\pgfutil@definecolor{colortol-P2dark-G}{RGB}{119,17,85} + + +% ----------------------------------------------------------------------------- +% colors from palette III +\pgfutil@definecolor{colortol-P3-blue}{RGB}{68,119,170} +\pgfutil@definecolor{colortol-P3-cyan}{RGB}{102,204,238} +\pgfutil@definecolor{colortol-P3-green}{RGB}{34,136,51} +\pgfutil@definecolor{colortol-P3-yellow}{RGB}{204,187,68} +\pgfutil@definecolor{colortol-P3-red}{RGB}{238,102,119} +\pgfutil@definecolor{colortol-P3-pink}{RGB}{170,51,119} +% color for data gaps +\pgfutil@definecolor{colortol-P3-gray}{RGB}{187,187,187} + + +% ============================================================================= +% colors from diverging and sequential palettes +% sequential palette +% (same as `YlOrBr' colormap from `ColorBrewer' library) +\pgfutil@definecolor{colortol-seq-A}{RGB}{255,255,229} +\pgfutil@definecolor{colortol-seq-B}{RGB}{255,251,213} +\pgfutil@definecolor{colortol-seq-C}{RGB}{255,247,188} +\pgfutil@definecolor{colortol-seq-D}{RGB}{254,227,145} +\pgfutil@definecolor{colortol-seq-E}{RGB}{254,217,142} +\pgfutil@definecolor{colortol-seq-F}{RGB}{254,196,79} +\pgfutil@definecolor{colortol-seq-G}{RGB}{251,154,41} +\pgfutil@definecolor{colortol-seq-H}{RGB}{236,112,20} +\pgfutil@definecolor{colortol-seq-I}{RGB}{217,95,14} +\pgfutil@definecolor{colortol-seq-J}{RGB}{204,76,2} +\pgfutil@definecolor{colortol-seq-K}{RGB}{153,52,4} +\pgfutil@definecolor{colortol-seq-L}{RGB}{140,45,4} +\pgfutil@definecolor{colortol-seq-M}{RGB}{102,37,6} +% color for data gaps +\pgfutil@definecolor{colortol-seq-gap}{RGB}{136,136,136} + + +% ----------------------------------------------------------------------------- +% diverging palettes +% ----------------------------------------------------------------------------- +% (similar to `RdYlBu' colormap from `ColorBrewer' library) +\pgfutil@definecolor{colortol-div-A}{RGB}{0,139,206} +\pgfutil@definecolor{colortol-div-B}{RGB}{61,82,161} +\pgfutil@definecolor{colortol-div-C}{RGB}{58,137,201} +\pgfutil@definecolor{colortol-div-D}{RGB}{119,183,229} +\pgfutil@definecolor{colortol-div-E}{RGB}{153,199,236} +\pgfutil@definecolor{colortol-div-F}{RGB}{180,221,247} +\pgfutil@definecolor{colortol-div-G}{RGB}{230,245,254} +\pgfutil@definecolor{colortol-div-H}{RGB}{255,250,210} +\pgfutil@definecolor{colortol-div-I}{RGB}{255,227,170} +\pgfutil@definecolor{colortol-div-J}{RGB}{249,189,126} +\pgfutil@definecolor{colortol-div-K}{RGB}{245,162,117} +\pgfutil@definecolor{colortol-div-L}{RGB}{237,135,94} +\pgfutil@definecolor{colortol-div-M}{RGB}{210,77,62} +\pgfutil@definecolor{colortol-div-N}{RGB}{208,50,50} +\pgfutil@definecolor{colortol-div-O}{RGB}{174,28,62} +% color for data gaps +\pgfutil@definecolor{colortol-div-gap}{RGB}{102,102,102} + + +% (reversed `RdBu-9' colormap from `ColorBrewer' library) +\pgfutil@definecolor{colortol-div2-A}{RGB}{33,102,172} +\pgfutil@definecolor{colortol-div2-B}{RGB}{67,147,195} +\pgfutil@definecolor{colortol-div2-C}{RGB}{146,197,222} +\pgfutil@definecolor{colortol-div2-D}{RGB}{209,229,240} +\pgfutil@definecolor{colortol-div2-E}{RGB}{247,247,247} +\pgfutil@definecolor{colortol-div2-F}{RGB}{253,219,199} +\pgfutil@definecolor{colortol-div2-G}{RGB}{244,165,130} +\pgfutil@definecolor{colortol-div2-H}{RGB}{214,96,77} +\pgfutil@definecolor{colortol-div2-I}{RGB}{178,24,43} +% color for data gaps +\pgfutil@definecolor{colortol-div2-gaps}{RGB}{255,238,153} + + +% (similar to `PRGn-9' colormap from `ColorBrewer' library, +% where only color G has changed. (PRGn-J = 166,219,160)) +\pgfutil@definecolor{colortol-div3-A}{RGB}{118,42,131} +\pgfutil@definecolor{colortol-div3-B}{RGB}{153,112,171} +\pgfutil@definecolor{colortol-div3-C}{RGB}{194,165,207} +\pgfutil@definecolor{colortol-div3-D}{RGB}{231,212,232} +\pgfutil@definecolor{colortol-div3-E}{RGB}{247,247,247} +\pgfutil@definecolor{colortol-div3-F}{RGB}{217,240,211} +\pgfutil@definecolor{colortol-div3-G}{RGB}{172,211,158} +\pgfutil@definecolor{colortol-div3-H}{RGB}{90,174,97} +\pgfutil@definecolor{colortol-div3-I}{RGB}{27,120,55} +% color for data gaps +\pgfutil@definecolor{colortol-div3-gaps}{RGB}{255,238,153} + + +% ============================================================================= +% colors for the rainbow palette (from the TechNote) +\pgfutil@definecolor{colortol-rainbow-A}{RGB}{120,28,129} +\pgfutil@definecolor{colortol-rainbow-B}{RGB}{136,46,114} +\pgfutil@definecolor{colortol-rainbow-C}{RGB}{177,120,166} +\pgfutil@definecolor{colortol-rainbow-D}{RGB}{214,193,222} +\pgfutil@definecolor{colortol-rainbow-E}{RGB}{65,59,147} +\pgfutil@definecolor{colortol-rainbow-F}{RGB}{64,64,150} +\pgfutil@definecolor{colortol-rainbow-G}{RGB}{63,71,155} +\pgfutil@definecolor{colortol-rainbow-H}{RGB}{63,78,161} +\pgfutil@definecolor{colortol-rainbow-I}{RGB}{63,86,167} +\pgfutil@definecolor{colortol-rainbow-J}{RGB}{63,96,174} +\pgfutil@definecolor{colortol-rainbow-K}{RGB}{64,101,177} +\pgfutil@definecolor{colortol-rainbow-L}{RGB}{65,108,183} +\pgfutil@definecolor{colortol-rainbow-M}{RGB}{66,119,189} +\pgfutil@definecolor{colortol-rainbow-N}{RGB}{70,131,193} +\pgfutil@definecolor{colortol-rainbow-O}{RGB}{82,137,199} +\pgfutil@definecolor{colortol-rainbow-P}{RGB}{72,139,194} +\pgfutil@definecolor{colortol-rainbow-Q}{RGB}{73,140,194} +\pgfutil@definecolor{colortol-rainbow-R}{RGB}{75,145,192} +\pgfutil@definecolor{colortol-rainbow-S}{RGB}{77,149,190} +\pgfutil@definecolor{colortol-rainbow-T}{RGB}{82,157,183} +\pgfutil@definecolor{colortol-rainbow-U}{RGB}{83,158,182} +\pgfutil@definecolor{colortol-rainbow-V}{RGB}{85,161,177} +\pgfutil@definecolor{colortol-rainbow-W}{RGB}{87,163,173} +\pgfutil@definecolor{colortol-rainbow-X}{RGB}{91,167,167} +\pgfutil@definecolor{colortol-rainbow-Y}{RGB}{95,170,159} +\pgfutil@definecolor{colortol-rainbow-Z}{RGB}{98,172,155} +\pgfutil@definecolor{colortol-rainbow-AA}{RGB}{99,173,153} +\pgfutil@definecolor{colortol-rainbow-AB}{RGB}{109,179,136} +\pgfutil@definecolor{colortol-rainbow-AC}{RGB}{110,179,135} +\pgfutil@definecolor{colortol-rainbow-AD}{RGB}{125,184,116} +\pgfutil@definecolor{colortol-rainbow-AE}{RGB}{127,185,114} +\pgfutil@definecolor{colortol-rainbow-AF}{RGB}{134,187,106} +\pgfutil@definecolor{colortol-rainbow-AG}{RGB}{145,189,97} +\pgfutil@definecolor{colortol-rainbow-AH}{RGB}{161,190,86} +\pgfutil@definecolor{colortol-rainbow-AI}{RGB}{177,190,78} +\pgfutil@definecolor{colortol-rainbow-AJ}{RGB}{181,189,76} +\pgfutil@definecolor{colortol-rainbow-AK}{RGB}{190,188,72} +\pgfutil@definecolor{colortol-rainbow-AL}{RGB}{199,185,68} +\pgfutil@definecolor{colortol-rainbow-AM}{RGB}{202,184,67} +\pgfutil@definecolor{colortol-rainbow-AN}{RGB}{211,179,63} +\pgfutil@definecolor{colortol-rainbow-AO}{RGB}{216,175,61} +\pgfutil@definecolor{colortol-rainbow-AP}{RGB}{217,173,60} +\pgfutil@definecolor{colortol-rainbow-AQ}{RGB}{222,167,58} +\pgfutil@definecolor{colortol-rainbow-AR}{RGB}{223,165,58} +\pgfutil@definecolor{colortol-rainbow-AS}{RGB}{227,156,55} +\pgfutil@definecolor{colortol-rainbow-AT}{RGB}{229,148,53} +\pgfutil@definecolor{colortol-rainbow-AU}{RGB}{230,142,52} +\pgfutil@definecolor{colortol-rainbow-AV}{RGB}{230,139,51} +\pgfutil@definecolor{colortol-rainbow-AW}{RGB}{231,133,50} +\pgfutil@definecolor{colortol-rainbow-AX}{RGB}{231,124,48} +\pgfutil@definecolor{colortol-rainbow-AY}{RGB}{231,116,47} +\pgfutil@definecolor{colortol-rainbow-AZ}{RGB}{231,109,46} +\pgfutil@definecolor{colortol-rainbow-BA}{RGB}{230,104,45} +\pgfutil@definecolor{colortol-rainbow-BB}{RGB}{230,100,44} +\pgfutil@definecolor{colortol-rainbow-BC}{RGB}{232,96,28} +\pgfutil@definecolor{colortol-rainbow-BD}{RGB}{217,33,32} +\pgfutil@definecolor{colortol-rainbow-BE}{RGB}{220,5,12} +% --- +\pgfutil@definecolor{colortol-rainbow-BF}{RGB}{25,101,176} +\pgfutil@definecolor{colortol-rainbow-BG}{RGB}{123,175,222} +\pgfutil@definecolor{colortol-rainbow-BH}{RGB}{78,178,101} +\pgfutil@definecolor{colortol-rainbow-BI}{RGB}{144,201,135} +\pgfutil@definecolor{colortol-rainbow-BJ}{RGB}{202,224,171} +\pgfutil@definecolor{colortol-rainbow-BK}{RGB}{247,238,85} +\pgfutil@definecolor{colortol-rainbow-BL}{RGB}{246,193,65} +\pgfutil@definecolor{colortol-rainbow-BM}{RGB}{241,147,45} +% color for data gaps +\pgfutil@definecolor{colortol-rainbow-gap}{RGB}{119,119,119} + + +% ----------------------------------------------------------------------------- +% rainbow continuous palette +\pgfutil@definecolor{colortol-rainbow-cont-A}{rgb}{0.47200,0.10893,0.50761} +\pgfutil@definecolor{colortol-rainbow-cont-B}{rgb}{0.34213,0.09855,0.49621} +\pgfutil@definecolor{colortol-rainbow-cont-C}{rgb}{0.28275,0.14652,0.52189} +\pgfutil@definecolor{colortol-rainbow-cont-D}{rgb}{0.25545,0.22543,0.57205} +\pgfutil@definecolor{colortol-rainbow-cont-E}{rgb}{0.24671,0.31603,0.63730} +\pgfutil@definecolor{colortol-rainbow-cont-F}{rgb}{0.25077,0.40567,0.70361} +\pgfutil@definecolor{colortol-rainbow-cont-G}{rgb}{0.26491,0.48682,0.75045} +\pgfutil@definecolor{colortol-rainbow-cont-H}{rgb}{0.28782,0.55584,0.75812} +\pgfutil@definecolor{colortol-rainbow-cont-I}{rgb}{0.31885,0.61177,0.72118} +\pgfutil@definecolor{colortol-rainbow-cont-J}{rgb}{0.35763,0.65539,0.65239} +\pgfutil@definecolor{colortol-rainbow-cont-K}{rgb}{0.40379,0.68838,0.57183} +\pgfutil@definecolor{colortol-rainbow-cont-L}{rgb}{0.45673,0.71262,0.49478} +\pgfutil@definecolor{colortol-rainbow-cont-M}{rgb}{0.51545,0.72969,0.42849} +\pgfutil@definecolor{colortol-rainbow-cont-N}{rgb}{0.57835,0.74051,0.37454} +\pgfutil@definecolor{colortol-rainbow-cont-O}{rgb}{0.64317,0.74507,0.33179} +\pgfutil@definecolor{colortol-rainbow-cont-P}{rgb}{0.70698,0.74240,0.29822} +\pgfutil@definecolor{colortol-rainbow-cont-Q}{rgb}{0.76646,0.73065,0.27175} +\pgfutil@definecolor{colortol-rainbow-cont-R}{rgb}{0.81822,0.70734,0.25045} +\pgfutil@definecolor{colortol-rainbow-cont-S}{rgb}{0.85937,0.66972,0.23257} +\pgfutil@definecolor{colortol-rainbow-cont-T}{rgb}{0.88791,0.61535,0.21650} +\pgfutil@definecolor{colortol-rainbow-cont-U}{rgb}{0.90305,0.54279,0.20076} +\pgfutil@definecolor{colortol-rainbow-cont-V}{rgb}{0.90520,0.45244,0.18413} +\pgfutil@definecolor{colortol-rainbow-cont-W}{rgb}{0.89577,0.34756,0.16585} +\pgfutil@definecolor{colortol-rainbow-cont-X}{rgb}{0.87679,0.23541,0.14585} +\pgfutil@definecolor{colortol-rainbow-cont-Y}{rgb}{0.85054,0.12858,0.12484} + + +% ----------------------------------------------------------------------------- +% colors for the extended rainbow palette (from the website) +\pgfutil@definecolor{colortol-rainbow-ext-low-A}{RGB}{232,236,251} +\pgfutil@definecolor{colortol-rainbow-ext-low-B}{RGB}{221,216,239} +\pgfutil@definecolor{colortol-rainbow-ext-low-C}{RGB}{209,193,225} +\pgfutil@definecolor{colortol-rainbow-ext-low-D}{RGB}{195,168,209} +\pgfutil@definecolor{colortol-rainbow-ext-low-E}{RGB}{181,143,194} +\pgfutil@definecolor{colortol-rainbow-ext-low-F}{RGB}{167,120,180} +\pgfutil@definecolor{colortol-rainbow-ext-low-G}{RGB}{155,98,167} +\pgfutil@definecolor{colortol-rainbow-ext-low-H}{RGB}{140,78,153} +% --- +\pgfutil@definecolor{colortol-rainbow-ext-A}{RGB}{111,76,155} +\pgfutil@definecolor{colortol-rainbow-ext-B}{RGB}{96,89,169} +\pgfutil@definecolor{colortol-rainbow-ext-C}{RGB}{85,104,184} +\pgfutil@definecolor{colortol-rainbow-ext-D}{RGB}{78,121,197} +\pgfutil@definecolor{colortol-rainbow-ext-E}{RGB}{77,138,198} +\pgfutil@definecolor{colortol-rainbow-ext-F}{RGB}{78,150,188} +\pgfutil@definecolor{colortol-rainbow-ext-G}{RGB}{84,158,179} +\pgfutil@definecolor{colortol-rainbow-ext-H}{RGB}{89,165,169} +\pgfutil@definecolor{colortol-rainbow-ext-I}{RGB}{96,171,158} +\pgfutil@definecolor{colortol-rainbow-ext-J}{RGB}{105,177,144} +\pgfutil@definecolor{colortol-rainbow-ext-K}{RGB}{119,183,125} +\pgfutil@definecolor{colortol-rainbow-ext-L}{RGB}{140,188,104} +\pgfutil@definecolor{colortol-rainbow-ext-M}{RGB}{166,190,84} +\pgfutil@definecolor{colortol-rainbow-ext-N}{RGB}{190,188,72} +\pgfutil@definecolor{colortol-rainbow-ext-O}{RGB}{209,181,65} +\pgfutil@definecolor{colortol-rainbow-ext-P}{RGB}{221,170,60} +\pgfutil@definecolor{colortol-rainbow-ext-Q}{RGB}{228,156,57} +\pgfutil@definecolor{colortol-rainbow-ext-R}{RGB}{231,140,53} +\pgfutil@definecolor{colortol-rainbow-ext-S}{RGB}{230,121,50} +\pgfutil@definecolor{colortol-rainbow-ext-T}{RGB}{228,99,45} +\pgfutil@definecolor{colortol-rainbow-ext-U}{RGB}{223,72,40} +\pgfutil@definecolor{colortol-rainbow-ext-V}{RGB}{218,34,34} +% --- +\pgfutil@definecolor{colortol-rainbow-ext-high-A}{RGB}{184,34,30} +\pgfutil@definecolor{colortol-rainbow-ext-high-B}{RGB}{149,33,27} +\pgfutil@definecolor{colortol-rainbow-ext-high-C}{RGB}{114,30,23} +\pgfutil@definecolor{colortol-rainbow-ext-high-D}{RGB}{82,26,19} +% color for data gaps +\pgfutil@definecolor{colortol-rainbow-ext-gaps}{RGB}{102,102,102} diff --git a/Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplots.dateplot.code.tex b/Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplots.dateplot.code.tex index 76fb9fd67a2..e4859785e36 100644 --- a/Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplots.dateplot.code.tex +++ b/Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplots.dateplot.code.tex @@ -8,12 +8,12 @@ % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. -% +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. -% +% % You should have received a copy of the GNU General Public License % along with this program. If not, see . % @@ -35,7 +35,7 @@ % }; % \end{axis} % \end{tikzpicture} -%-------------------------------------------------- +%-------------------------------------------------- \def\pgfplotslibdateplot@number@to@julian@and@time#1.#2\julianto#3\hourto#4\minuteto#5{% #3=#1 @@ -50,7 +50,7 @@ \c@pgf@countb=\the\pgf@xa\relax % round minutes (we may loose precision here) \advance\pgf@xa by-\the\c@pgf@countb pt - \ifdim\pgf@xa>0.5pt + \ifdim\pgf@xa>0.5pt \advance\c@pgf@countb by1 \ifnum\c@pgf@countb=60 \c@pgf@countb=#4 % @@ -65,7 +65,7 @@ % #1 the date % #2 the hours % #3 the minutes -% #4 is either empty or is the seconds. +% #4 is either empty or is the seconds. % #5 a macro which will be filled with the date part. % #6 the macro which will contain a number in the range [0,1] % representing hours and minutes. @@ -121,7 +121,7 @@ % \edef#6{\pgf@sys@tonumber\pgf@xa}% % }% % \def\pgfplotslibdateplot@discard@trailing@colon#1:{#1}% -%-------------------------------------------------- +%-------------------------------------------------- \let\pgfplots@calender@ZEROSHIFT=\pgfutil@empty \def\pgfplots@dateplot@ensure@ZEROSHIFT#1{% @@ -256,7 +256,7 @@ }{}% }, /pgfplots/date coordinates in/.value required, - % + % % #1: the argument for 'data coordinates in={#1} % #2: the default for the inverse transformation. If there is % none, a default will be chosen automatically (with full @@ -268,4 +268,3 @@ /pgfplots/date coordinates default inverse={y}{\year-\month-\day}, /pgfplots/date coordinates default inverse={z}{\year-\month-\day}, } - diff --git a/Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplots.fillbetween.code.tex b/Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplots.fillbetween.code.tex index fea448143d7..b9a38406a75 100644 --- a/Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplots.fillbetween.code.tex +++ b/Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplots.fillbetween.code.tex @@ -4,7 +4,7 @@ % % Provides a user-friendly interface to create function plots (normal % plots, semi-logplots and double-logplots). -% +% % It is based on Till Tantau's PGF package. % % Copyright 2013 by Christian Feuersaenger @@ -13,12 +13,12 @@ % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. -% +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. -% +% % You should have received a copy of the GNU General Public License % along with this program. If not, see . % @@ -55,7 +55,7 @@ /tikz/soft clip assign/domain/.code args={#1:#2}{% \pgfplotsifisvisualizationphase{% \edef\pgfplots@loc@TMPa{% - (axis cs:#1,\pgfkeysvalueof{/pgfplots/ymin}) + (axis cs:#1,\pgfkeysvalueof{/pgfplots/ymin}) rectangle (axis cs:#2,\pgfkeysvalueof{/pgfplots/ymax})}% \pgfkeysalso{/tikz/soft clip assign/path/.expand once=\pgfplots@loc@TMPa}% }{}% @@ -64,7 +64,7 @@ /tikz/soft clip assign/domain y/.code args={#1:#2}{% \pgfplotsifisvisualizationphase{% \edef\pgfplots@loc@TMPa{% - (axis cs:\pgfkeysvalueof{/pgfplots/xmin},#1) + (axis cs:\pgfkeysvalueof{/pgfplots/xmin},#1) rectangle (axis cs:\pgfkeysvalueof{/pgfplots/xmax},#2)}% \pgfkeysalso{/tikz/soft clip assign/path/.expand once=\pgfplots@loc@TMPa}% }{}% @@ -75,7 +75,7 @@ }, } -% The options are from +% The options are from % \addplot[#1] fill between[#2] #3; % % This method is invoked from the global \addplot dispatching. @@ -147,7 +147,7 @@ \endscope \endpgfplotsonlayer% \fi - }{% + }{% % post command. }% } @@ -184,7 +184,7 @@ }{% % the path instruction: \tikzfillbetween[#1]{#2}% - }{% + }{% % post command. }% }% diff --git a/Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplots.groupplots.code.tex b/Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplots.groupplots.code.tex index 2c0c06baec4..a1a11127c2e 100644 --- a/Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplots.groupplots.code.tex +++ b/Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplots.groupplots.code.tex @@ -320,9 +320,9 @@ % Determine the ticklabels of both x and y. % \def\pgfplots@group@determine@ticklabels{% - \def\pgfplots@loc@TMPa{all} - \def\pgfplots@loc@TMPb{top} - \def\pgfplots@loc@TMPc{lower} + \def\pgfplots@loc@TMPa{all}% + \def\pgfplots@loc@TMPb{top}% + \def\pgfplots@loc@TMPc{lower}% \ifx\pgfplots@loc@TMPa\pgfplots@group@xticklabels% % Do nothing as all should have xticklabels \fi @@ -330,11 +330,13 @@ \ifx\pgfplots@loc@TMPb\pgfplots@group@xticklabels% \foreach \pgfplots@column in {1,...,\pgfplots@group@columns} {% \expandafter\xdef\expandafter\pgfplots@glob@TMPa\expandafter{% - \pgfplots@glob@TMPa,/pgfplots/group/plot c\pgfplots@column r1/.append style={xticklabel pos=upper}}% + \pgfplots@glob@TMPa,/pgfplots/group/plot c\pgfplots@column r1/.append style={% + xticklabel pos=upper}}% \ifnum1<\pgfplots@group@rows\relax \foreach \pgfplots@row in {2,...,\pgfplots@group@rows} {% \expandafter\xdef\expandafter\pgfplots@glob@TMPa\expandafter{% - \pgfplots@glob@TMPa,/pgfplots/group/plot c\pgfplots@column r\pgfplots@row/.append style={/pgfplots/xticklabels={}}}% + \pgfplots@glob@TMPa,/pgfplots/group/plot c\pgfplots@column r\pgfplots@row/.append style={% + /pgfplots/xticklabels={},/pgfplots/xtick scale label code/.code={}}}% }% \fi% }% @@ -342,12 +344,14 @@ \ifx\pgfplots@loc@TMPc\pgfplots@group@xticklabels% \foreach \pgfplots@column in {1,...,\pgfplots@group@columns} {% \expandafter\xdef\expandafter\pgfplots@glob@TMPa\expandafter{% - \pgfplots@glob@TMPa,/pgfplots/group/plot c\pgfplots@column r\pgfplots@group@rows/.append style={xticklabel pos=lower}}% + \pgfplots@glob@TMPa,/pgfplots/group/plot c\pgfplots@column r\pgfplots@group@rows/.append style={% + xticklabel pos=lower}}% \ifnum1<\pgfplots@group@rows\relax \pgfplotsgroupplotsmath@decrease\pgfplots@group@rows \foreach \pgfplots@row in {1,...,\pgfmathresult} {% \expandafter\xdef\expandafter\pgfplots@glob@TMPa\expandafter{% - \pgfplots@glob@TMPa,/pgfplots/group/plot c\pgfplots@column r\pgfplots@row/.append style={/pgfplots/xticklabels={}}}% + \pgfplots@glob@TMPa,/pgfplots/group/plot c\pgfplots@column r\pgfplots@row/.append style={% + /pgfplots/xticklabels={},/pgfplots/xtick scale label code/.code={}}}% }% \fi% }% @@ -355,8 +359,9 @@ % % Defining styles for the ytick's % - \def\pgfplots@loc@TMPb{left} - \def\pgfplots@loc@TMPc{right} + \def\pgfplots@loc@TMPa{all}% + \def\pgfplots@loc@TMPb{left}% + \def\pgfplots@loc@TMPc{right}% \ifx\pgfplots@loc@TMPa\pgfplots@group@yticklabels% % Do nothing as all should have yticklabels \fi @@ -367,7 +372,8 @@ \ifnum1<\pgfplots@group@columns\relax \foreach \pgfplots@column in {2,...,\pgfplots@group@columns} {% \expandafter\xdef\expandafter\pgfplots@glob@TMPa\expandafter{% - \pgfplots@glob@TMPa,/pgfplots/group/plot c\pgfplots@column r\pgfplots@row/.append style={/pgfplots/yticklabels={}}}% + \pgfplots@glob@TMPa,/pgfplots/group/plot c\pgfplots@column r\pgfplots@row/.append style={% + /pgfplots/yticklabels={}, /pgfplots/ytick scale label code/.code={}}}% }% \fi% }% @@ -375,17 +381,19 @@ \ifx\pgfplots@loc@TMPc\pgfplots@group@yticklabels% \foreach \pgfplots@row in {1,...,\pgfplots@group@rows} {% \expandafter\xdef\expandafter\pgfplots@glob@TMPa\expandafter{% - \pgfplots@glob@TMPa,/pgfplots/group/plot c\pgfplots@group@columns r\pgfplots@row/.append style={yticklabel pos=right}}% + \pgfplots@glob@TMPa,/pgfplots/group/plot c\pgfplots@group@columns r\pgfplots@row/.append style={% + yticklabel pos=right}}% \ifnum1<\pgfplots@group@columns\relax \pgfplotsgroupplotsmath@decrease\pgfplots@group@columns \foreach \pgfplots@column in {1,...,\pgfmathresult} {% \expandafter\xdef\expandafter\pgfplots@glob@TMPa\expandafter{% - \pgfplots@glob@TMPa,/pgfplots/group/plot c\pgfplots@column r\pgfplots@row/.append style={/pgfplots/yticklabels={}}}% + \pgfplots@glob@TMPa,/pgfplots/group/plot c\pgfplots@column r\pgfplots@row/.append style={% + /pgfplots/yticklabels={}, /pgfplots/ytick scale label code/.code={}}}% }% \fi% }% \fi% - \expandafter\pgfkeys\expandafter{\pgfplots@glob@TMPa} + \expandafter\pgfkeys\expandafter{\pgfplots@glob@TMPa}% } % diff --git a/Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplots.patchplots.code.tex b/Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplots.patchplots.code.tex index a1259e975f4..fb9283571c9 100644 --- a/Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplots.patchplots.code.tex +++ b/Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplots.patchplots.code.tex @@ -12,17 +12,17 @@ % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. -% +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. -% +% % You should have received a copy of the GNU General Public License % along with this program. If not, see . % %-------------------------------------------- - + % NOTES: % In general, a Bezier spline C:[0,1] -> \R of order n fulfills % C'(0) = n ( P_1 - P_0 ), @@ -31,32 +31,32 @@ % the derivatives at t=0 and t=1. % % - % + % %-------------------------------------------------- % 4-point Lagrange interpolation on {0,1/3,2/3,1}: -% C(x) = +% C(x) = % a * (1/3 - x)/(1/3) * (2/3-x)/(2/3) * (1-x) + % b * (0 - x)/(0 - 1/3) * (2/3-x)/(2/3-1/3) * (1-x)/(1-1/3) + % c * (0 - x)/(0 - 2/3) * (1/3-x)/(1/3-2/3) * (1-x)/(1-2/3) + % d * (0 - x)/(0 - 1) * (1/3-x)/(1/3-1) * (2/3-x) /(2/3-1) -% -% +% +% % Derivative: -% -% (-9*c + 2*d + 72*c*x - 18*d*x - 81*c*x^2 + 27*d*x^2 + +% +% (-9*c + 2*d + 72*c*x - 18*d*x - 81*c*x^2 + 27*d*x^2 + % a*(-11 + 36*x - 27*x^2) + 9*b*(2 - 10*x + 9*x^2))/2 -% +% % bezier control points are % P1 = (-5*a)/6 + 3*b - (3*c)/2 + d/3 % = -0.833333 a + 3. b - 1.5 c + 0.333333 d -% +% % P2 = 0.333333 (0.5 (2. a - 9. b + 18. c - 11. d) + 3. d) % = 0.333333 a - 1.5 b + 3. c - 0.833333 d -%-------------------------------------------------- +%-------------------------------------------------- -% A quadratic spline in the ordering +% A quadratic spline in the ordering % % % @@ -267,7 +267,7 @@ },% recursive refine@={% % The 4-point lagrangian interpolation formular is shown on - % the top of this page. What I do here is simply to evaluate + % the top of this page. What I do here is simply to evaluate % C(i*1/9) for i =0,...,9: % 0 % 0.493827 A +0.740741 C -0.296296 D +0.0617284 B @@ -542,7 +542,7 @@ % \fi % \fi % }, - %-------------------------------------------------- + %-------------------------------------------------- stream to shader={% % create a degenerate coons patch: \begingroup @@ -569,7 +569,7 @@ \pgfplotslibrarysurfstreamcoord{\pgfqpoint\pgfplotspatchvertexx\pgfplotspatchvertexy}{\pgfplotspointmetatransformed}% % degenerate: the "edge" \PA -- \PA collabses into one % point. - % Per construction, the "edge" is the FOREGROUND. + % Per construction, the "edge" is the FOREGROUND. %\message{STREAMING COLLAPSED EDGE AT START POINT^^J}% \pgfplotslibrarysurfstreamcoord{\pgfqpoint\pgfplotspatchvertexx\pgfplotspatchvertexy}{\pgfplotspointmetatransformed}% \pgfplotslibrarysurfstreamcoord{\pgfqpoint\pgfplotspatchvertexx\pgfplotspatchvertexy}{\pgfplotspointmetatransformed}% @@ -666,7 +666,7 @@ % \pgfplotspatchclass{\pgfplotspatchclassname}{set edge visible}01% % \pgfplotspatchclass{\pgfplotspatchclassname}{set edge visible}11% % \pgfplotspatchclass{\pgfplotspatchclassname}{set edge visible}20% - %-------------------------------------------------- + %-------------------------------------------------- % The ordering is not arbitrary % (unless z buffer=sort is in effect). Let's assume that the % AB edge is BACKGROUND and the CD edge is FOREGROUND. Then @@ -734,7 +734,7 @@ %-------------------------------------------------- % \pgfplotspatchclass{\pgfplotspatchclassname}{set edge visible}00% % \pgfplotspatchclass{\pgfplotspatchclassname}{set edge visible}10% - %-------------------------------------------------- + %-------------------------------------------------- \expandafter\pgfplotsplothandlermesh@setnextvertex\expandafter{\pgfplotspatchclass@qtri@F@}% \expandafter\pgfplotsplothandlermesh@setnextvertex\expandafter{\pgfplotspatchclass@qtri@D@}% \expandafter\pgfplotsplothandlermesh@setnextvertex\expandafter{\pgfplotspatchclass@qtri@E@}% @@ -745,7 +745,7 @@ % %-------------------------------------------------- % % \pgfplotspatchclass{\pgfplotspatchclassname}{set edge visible}01% % % \pgfplotspatchclass{\pgfplotspatchclassname}{set edge visible}11% - % %-------------------------------------------------- + % %-------------------------------------------------- #1\pgfplotspatchclass@qtri@recursiverefine@newnames % % @@ -1063,7 +1063,7 @@ % \pgfplotspatchclass{\pgfplotspatchclassname}{set edge visible}01% % \pgfplotspatchclass{\pgfplotspatchclassname}{set edge visible}11% % \pgfplotspatchclass{\pgfplotspatchclassname}{set edge visible}20% - %-------------------------------------------------- + %-------------------------------------------------- % The ordering is not arbitrary % (unless z buffer=sort is in effect). Let's assume that the % AB edge is BACKGROUND and the CD edge is FOREGROUND. Then @@ -1163,8 +1163,8 @@ % D <-- C % | ^ % v | -% A --> B -% +% A --> B +% \pgfkeyssetvalue{/pgfplots/vertex count}{0}% \pgfplotsdeclarepatchclass{polygon}{% new=\def\pgfplotspatchclass@poly@no{0}, @@ -1242,13 +1242,13 @@ }% -% mathematica shape functions parameterized in +% mathematica shape functions parameterized in % (xi,eta) in [-1,1]x[-1,1]: %f[xi_, eta_] = % a*1/4*(1 - xi) (1 - eta) xi*eta + -% b 1/4 (-1 - xi) (1 - eta) xi*eta + +% b 1/4 (-1 - xi) (1 - eta) xi*eta + % c* 1/4 (-1 - xi) (-1 - eta) xi*eta + -% d *1/4 (1 - xi) (-1 - eta) xi*eta + +% d *1/4 (1 - xi) (-1 - eta) xi*eta + % e * 1/2 (xi^2 - 1) (1 - eta) eta + % f*1/2 (-1 - xi) (eta^2 - 1) xi + % g* -1/2 (1 - xi^2) (-1 - eta) eta + @@ -1321,9 +1321,9 @@ % % This involves a change from Lagrange to bezier % representation of the boundary curves. - % + % % Furthermore, pdf supports only **cubic** bezier curves. What - % I am doing here is + % I am doing here is % a) change of basis from 3-point lagrange ---> 3 point quadratic bezier % b) expression 3 point quadratic bezier ----> 4 point cubic bezier % @@ -1333,7 +1333,7 @@ % % OUTPUT: % \PA,bezier control 1, bezier control 2, \PC. - % + % \def\pgfplots@edge{% \ifx\pgfplotspatchclass@biquad@A\PA \pgfpathmoveto{\expandafter\pgfplotspointpatchvertex\PA\endvertex}% @@ -1394,7 +1394,7 @@ % \fi % \fi % }, - %-------------------------------------------------- + %-------------------------------------------------- stream to shader={% \begingroup % @@ -1425,7 +1425,7 @@ % % we use % \pgfplotspatchclass@rect@to@coonspatch@findshadingsequence@for@depth - % which works for bilinear, biquadratic, and bicubic + % which works for bilinear, biquadratic, and bicubic \pgfplotspatchclass@rect@to@coonspatch@findshadingsequence@for@depth {pgfplotspatchclass@biquad@}{\Pcur}{\Pnextseq}% % @@ -1454,16 +1454,16 @@ % Well, this is simple: take the matrix as-is! % simply copy 1:1 % - % i.e. convert + % i.e. convert % D G C % H I F % A E B % % to % - % AC BC CC - % AB BB CB - % AA BA CA + % AC BC CC + % AB BB CB + % AA BA CA \let\P@AA=\pgfplotspatchclass@biquad@A \let\P@BA=\pgfplotspatchclass@biquad@E \let\P@CA=\pgfplotspatchclass@biquad@B @@ -1477,15 +1477,15 @@ \if B\Pcur % the "B" point needs to be streamed as first. % - % i.e. reorder + % i.e. reorder % D G C % H I F % A E B % - % to - % A H D AC BC CC - % E I G =: AB BB CB - % B F C AA BA CA + % to + % A H D AC BC CC + % E I G =: AB BB CB + % B F C AA BA CA % \let\P@AA=\pgfplotspatchclass@biquad@B \let\P@BA=\pgfplotspatchclass@biquad@F @@ -1500,15 +1500,15 @@ \if C\Pcur % the "C" point needs to be streamed as first. % - % i.e. reorder + % i.e. reorder % D G C % H I F % A E B % - % to - % B E A AC BC CC - % F I H =: AB BB CB - % C G D AA BA CA + % to + % B E A AC BC CC + % F I H =: AB BB CB + % C G D AA BA CA % \let\P@AA=\pgfplotspatchclass@biquad@C \let\P@BA=\pgfplotspatchclass@biquad@G @@ -1523,15 +1523,15 @@ \if D\Pcur % the "D" point needs to be streamed as first. % - % i.e. reorder + % i.e. reorder % D G C % H I F % A E B % - % to - % C F B AC BC CC - % G I E =: AB BB CB - % D H A AA BA CA + % to + % C F B AC BC CC + % G I E =: AB BB CB + % D H A AA BA CA % \let\P@AA=\pgfplotspatchclass@biquad@D \let\P@BA=\pgfplotspatchclass@biquad@H @@ -1567,7 +1567,7 @@ % 'patch type=quadratic spline' . We only need to apply it to all % lines in U direction and afterwards to all lines in V % direction. - % + % \def\pgfplotspatchvertexaddXY@expanded##1\times{% \edef\pgfplots@loc@TMPa{##1}% \expandafter\pgfplotspatchvertexaddXY\pgfplots@loc@TMPa\times @@ -1683,7 +1683,7 @@ % \edef\pgfplotspatchclass@biquade@CA{#2}% % \fi % }, - %-------------------------------------------------- + %-------------------------------------------------- serialize except vertices={% \ifx\pgfplotspatchclass@biquade@AB\relax \let\pgfplotsretval\pgfutil@empty% @@ -1706,7 +1706,7 @@ % \pgfplotspatchclass{\pgfplotspatchclassname}{set edge visible}01% % \pgfplotspatchclass{\pgfplotspatchclassname}{set edge visible}11% % \pgfplotspatchclass{\pgfplotspatchclassname}{set edge visible}20% - %-------------------------------------------------- + %-------------------------------------------------- % The ordering is not arbitrary % (unless z buffer=sort is in effect). Let's assume that the % AB edge is BACKGROUND and the CD edge is FOREGROUND. Then @@ -1721,11 +1721,11 @@ % {0.375` a - 0.125` b + 0.75` e, % 0.375` e - 0.125` g + 0.75` i, % -0.125` f + 0.375` h + 0.75` i, - % 0.375` a - 0.125` d + 0.75` h, - % 0.140625` a - 0.046875` b + 0.015625` c - 0.046875` d + + % 0.375` a - 0.125` d + 0.75` h, + % 0.140625` a - 0.046875` b + 0.015625` c - 0.046875` d + % 0.28125` e - 0.09375` f - 0.09375` g + 0.28125` h + % 0.5625` i} - %-------------------------------------------------- + %-------------------------------------------------- \pgfplotspatchvertexaccumstart \expandafter\pgfplotspatchvertexadd\pgfplotspatchclass@biquad@A\times{0.375}% \expandafter\pgfplotspatchvertexadd\pgfplotspatchclass@biquad@B\times{-0.125}% @@ -1832,7 +1832,7 @@ % N[ {f[1, 1/2], f[1/2, 1], f[0, 1/2], f[1/2, 1/2]}] % {-0.125` b + 0.375` c + 0.75` f, % 0.375` c - 0.125` d + 0.75` g, - % -0.125` e + 0.375` g + 0.75` i, + % -0.125` e + 0.375` g + 0.75` i, % 0.015625` a - 0.046875` b + 0.140625` c - 0.046875` d - 0.09375` e + 0.28125` f + 0.28125` g - 0.09375` h + 0.5625` i} \pgfplotspatchvertexaccumstart \expandafter\pgfplotspatchvertexadd\pgfplotspatchclass@biquad@B\times{-0.125}% @@ -2317,7 +2317,7 @@ % % This involves a change from Lagrange to bezier % representation of the boundary curves. - % + % \pgfpathmoveto{\expandafter\pgfplotspointpatchvertex\pgfplotspatchclass@bicubic@AA\endvertex}% \pgfplotspathcubicfrominterpolation {\pgfplotspatchclass@bicubic@AA} @@ -2355,7 +2355,7 @@ % % we use % \pgfplotspatchclass@rect@to@coonspatch@findshadingsequence@for@depth - % which works for bilinear, biquadratic, and bicubic + % which works for bilinear, biquadratic, and bicubic % % define helper macros which are input for % \pgfplotspatchclass@rect@to@coonspatch@findshadingsequence@for@depth: @@ -2400,12 +2400,12 @@ \if B\Pcur % the "DA" point needs to be streamed as first. % - % Reorder + % Reorder % AD BD CD DD % AC BC CC DC % AB BB CB DB % AA BA CA DA - % to + % to % AA AB AC AD % BA BB BC BD % CA CB CC CD @@ -2431,12 +2431,12 @@ \if C\Pcur % the "DD" point needs to be streamed as first. % - % Reorder + % Reorder % AD BD CD DD % AC BC CC DC % AB BB CB DB % AA BA CA DA - % to + % to % DA CA BA AA % DB CB BB AB % DC CC BC AC @@ -2462,12 +2462,12 @@ \if D\Pcur % the "AD" point needs to be streamed as first. % - % Reorder + % Reorder % AD BD CD DD % AC BC CC DC % AB BB CB DB % AA BA CA DA - % to + % to % DD DC DB DA % CD CC CB CA % BD BC BB BA @@ -2513,7 +2513,7 @@ % 'patch type=cubic spline' . We only need to apply it to all % lines in U direction and afterwards to all lines in V % direction. - % + % \def\pgfplotspatchvertexaddXY@expanded##1\times{% \edef\pgfplots@loc@TMPa{##1}% \expandafter\pgfplotspatchvertexaddXY\pgfplots@loc@TMPa\times @@ -2573,7 +2573,7 @@ \let\pgfplotsplothandlermesh@patchclass@=\pgfplotsplothandlermesh@patchclass \def\pgfplotsplothandlermesh@patchclass{triangle}% \pgfplotspatchclass{\pgfplotsplothandlermesh@patchclass}{new}% - % Ok. Now create a lot of triangles. + % Ok. Now create a lot of triangles. % % FIXME: The ordering is not arbitrary (unless z buffer=sort is in effect). % @@ -2627,12 +2627,12 @@ % Transpose a bicubic matrix (4x4). % -% Reorder +% Reorder % AD BD CD DD % AC BC CC DC % AB BB CB DB % AA BA CA DA -% to +% to % DA DB DC DD % CA CB CC CD % BA BB BC BD @@ -2648,28 +2648,28 @@ % Transpose a bicubic matrix (4x4). % -% Reorder -% AC BC CC -% AB BB CB -% AA BA CA -% to -% CA CB CC -% BA BB BC -% AA AB AC +% Reorder +% AC BC CC +% AB BB CB +% AA BA CA +% to +% CA CB CC +% BA BB BC +% AA AB AC \def\pgfplotspatchclass@biquad@transpose{% \pgfplotsutil@swap\P@AB\P@BA \pgfplotsutil@swap\P@CA\P@AC \pgfplotsutil@swap\P@CB\P@BC } -% Expects that a 4x4 matrix in tensor bezier representation where +% Expects that a 4x4 matrix in tensor bezier representation where % A = left end point % B = first control point % C = second control point % D = right end point % % and the coordinates are stored in \csname P@[ABCD][ABCD]\endcsname -% +% % Streaming starts with \P@AA and is applied rowwise. \def\pgfplotsplothandlermesh@shade@cubic@tensor{% % Stream it to the shader. Note that the shader has a diff --git a/Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplots.polar.code.tex b/Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplots.polar.code.tex index 30ac9587b2b..116195a9099 100644 --- a/Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplots.polar.code.tex +++ b/Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplots.polar.code.tex @@ -330,7 +330,7 @@ \ifx\pgfplots@data@ymin\pgfplots@invalidrange@ymax \global\let\pgfplots@data@ymax=\pgfplots@ymax \fi - \ifpgfplots@clip@limits + \ifpgfplots@clip@limits@x \else % there is a rare change that min > max. % Handle that ... @@ -338,12 +338,18 @@ \global\let\pgfplots@xmin=\pgfmathresult \pgfplotscoordmath{x}{max}{\pgfplots@xmin}{\pgfplots@xmax}% \global\let\pgfplots@xmax=\pgfmathresult + \fi + \ifpgfplots@clip@limits@y + \else % \pgfplotscoordmath{y}{min}{\pgfplots@ymin}{\pgfplots@ymax}% \global\let\pgfplots@ymin=\pgfmathresult \pgfplotscoordmath{y}{max}{\pgfplots@ymin}{\pgfplots@ymax}% \global\let\pgfplots@ymax=\pgfmathresult % + \fi + \ifpgfplots@clip@limits@z + \else \ifpgfplots@threedim \pgfplotscoordmath{z}{min}{\pgfplots@zmin}{\pgfplots@zmax}% \global\let\pgfplots@zmin=\pgfmathresult diff --git a/Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplots.statistics.code.tex b/Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplots.statistics.code.tex index 6b05a8a9a69..3931d85dae3 100644 --- a/Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplots.statistics.code.tex +++ b/Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplots.statistics.code.tex @@ -8,12 +8,12 @@ % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. -% +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. -% +% % You should have received a copy of the GNU General Public License % along with this program. If not, see . % @@ -134,7 +134,7 @@ % chosen to fit the initial 'draw position': boxplot/box extend/.initial=0.8, % draw direction=x|y - boxplot/draw direction/.initial=x, + boxplot/draw direction/.initial=x, % % Activates "dynamic size" feature boxplot/variable width/.is if=pgfplotsplothandlerboxplot@variable@width, @@ -152,7 +152,7 @@ boxplot/sample size min/.initial=, boxplot/sample size max/.initial=, % - % this factor times 'box extend' is the size for + % this factor times 'box extend' is the size for % 'sample size min'. The max value gets 'box extend'. boxplot/variable width min target/.initial=0.2, % @@ -162,7 +162,7 @@ % 1,2,3,4,... . This should probably simplify tick (label) generation. boxplot/draw position/.initial=1+\plotnumofactualtype, % - % draw relative anchor=0: + % draw relative anchor=0: % | |---| | % | | | | % |----|---|--| @@ -172,7 +172,7 @@ % |----| |--| % | |---| | % - % draw relative anchor=1: + % draw relative anchor=1: % |----|---|--| % | | | | % | |---| | @@ -253,9 +253,9 @@ \let\pgfplotsplothandlersurveystart=\pgfplotsplothandlersurveystart@boxplot \let\pgfplotsplothandlersurveyend=\pgfplotsplothandlersurveyend@boxplot \def\pgfplotsplothandlerLUAfactory{% - function(axis, pointmetainputhandler) + function(axis, pointmetainputhandler) return pgfplots.BoxPlotPlothandler.new( - pgfplots.BoxPlotRequest.new( + pgfplots.BoxPlotRequest.new( "\pgfkeysvalueof{/pgfplots/boxplot/lower quartile off}", "\pgfkeysvalueof{/pgfplots/boxplot/upper quartile off}", "\pgfkeysvalueof{/pgfplots/boxplot/whisker range}", @@ -366,7 +366,7 @@ } % FIXME : implement 'ceil' in the FPU! \pgfplots@error{The argument 'estimator=\pgfplots@boxplot@estimator' is only available in conjunction with 'lua backend' and lualatex.}% - \or + \or % R2: \def\pgfplotsplothandler@boxplot@percentile@estimator@##1##2{% \pgfmathparse{##1*##2 + 0.5}% @@ -387,7 +387,7 @@ } % FIXME : implement 'ceil' in the FPU! \pgfplots@error{The argument 'estimator=\pgfplots@boxplot@estimator' is only available in conjunction with 'lua backend' and lualatex.}% - \or + \or % R3: \def\pgfplotsplothandler@boxplot@percentile@estimator@##1##2{% \pgfmathparse{##1*##2}% @@ -397,42 +397,42 @@ \let\offset@low=\pgfmathresult \pgfplotsplothandler@boxplot@percentile@estimator@getIndex{\offset@low}{##2}% } - \or + \or % R4: \def\pgfplotsplothandler@boxplot@percentile@estimator@##1##2{% \pgfmathparse{##1*##2}% \let\h=\pgfmathresult \pgfplotsplothandler@boxplot@percentile@estimator@std@lookup{##2}% } - \or + \or % R5: \def\pgfplotsplothandler@boxplot@percentile@estimator@##1##2{% \pgfmathparse{##1*##2 + 0.5}% \let\h=\pgfmathresult \pgfplotsplothandler@boxplot@percentile@estimator@std@lookup{##2}% } - \or + \or % R6: \def\pgfplotsplothandler@boxplot@percentile@estimator@##1##2{% \pgfmathparse{##1*(##2+1)}% \let\h=\pgfmathresult \pgfplotsplothandler@boxplot@percentile@estimator@std@lookup{##2}% } - \or + \or % R7: \def\pgfplotsplothandler@boxplot@percentile@estimator@##1##2{% \pgfmathparse{(##2-1) * ##1 + 1}% \let\h=\pgfmathresult \pgfplotsplothandler@boxplot@percentile@estimator@std@lookup{##2}% } - \or + \or % R8: \def\pgfplotsplothandler@boxplot@percentile@estimator@##1##2{% \pgfmathparse{(##2 + 1/3) * ##1 + 1/3}% \let\h=\pgfmathresult \pgfplotsplothandler@boxplot@percentile@estimator@std@lookup{##2}% } - \or + \or % R9: \def\pgfplotsplothandler@boxplot@percentile@estimator@##1##2{% \pgfmathparse{(##2 + 1/4) * ##1 + 3/8}% @@ -556,7 +556,7 @@ } -\def\pgfplotsplothandlersurveyend@boxplot@computestats{ +\def\pgfplotsplothandlersurveyend@boxplot@computestats{ % \pgfplotsplothandler@boxplot@init@percentile@estimator % @@ -887,7 +887,7 @@ \pgfmathfloattofixed\pgfmathresult \fi % remember it for later - it might have been retrieved from some - % table column! If you used something like + % table column! If you used something like % 'draw position=\thisrow{position}, the position of the LAST data point % will be used (because we are in end survey here). \edef\pgfplots@loc@TMPb{\noexpand\pgfplotsplothandlersurveyaddoptions{/pgfplots/boxplot/draw position=\pgfmathresult}}% @@ -1077,9 +1077,9 @@ \begingroup \pgfkeys{/pgf/fpu}% \pgfmathparse{ - (\pgfplots@widthkey@mintrg + - max(0,min(1,(\pgfplots@widthkey@ - \pgfplotsplothandlerboxplot@widthkey@min) / - (\pgfplotsplothandlerboxplot@widthkey@max - \pgfplotsplothandlerboxplot@widthkey@min))) + (\pgfplots@widthkey@mintrg + + max(0,min(1,(\pgfplots@widthkey@ - \pgfplotsplothandlerboxplot@widthkey@min) / + (\pgfplotsplothandlerboxplot@widthkey@max - \pgfplotsplothandlerboxplot@widthkey@min))) * (1-\pgfplots@widthkey@mintrg)) * \pgfplots@loc@TMPa}% \pgfmathfloattofixed\pgfmathresult \pgfmath@smuggleone\pgfmathresult @@ -1174,7 +1174,7 @@ % A helper which implements 'draw relative anchor'. It expands to a % math expression which is suitable as second argument for 'boxplot cs'; % i.e. it needs to be added to 'boxplot/draw position'. -% +% % More precisely, this macro is to be used in a context where lines of % 'box extend' length have to be drawn. % @@ -1183,7 +1183,7 @@ % % #1: the coordinate. 0 is the means "lower part of the construct % which is to be drawn". 1 means the "upper part of that construct" -% and 0.5 is in the middle. +% and 0.5 is in the middle. \def\pgfplots@boxplot@anchor@value#1{% (#1-\pgfplotsboxplotvalue{draw relative anchor})*\pgfplotsboxplotvalue{box extend}% } @@ -1195,10 +1195,10 @@ } \def\pgfplotsboxplotpointabbox#1#2{% - \pgfplotsboxplotpointab{#1}{\pgfplots@boxplot@anchor@value{#2}}% + \pgfplotsboxplotpointab{#1}{\pgfplots@boxplot@anchor@value{#2}}% }% \def\pgfplotsboxplotpointabwhisker#1#2{% - \pgfplotsboxplotpointab{#1}{\pgfplots@boxplot@anchor@value@whisker{#2}}% + \pgfplotsboxplotpointab{#1}{\pgfplots@boxplot@anchor@value@whisker{#2}}% }% \tikzdeclarecoordinatesystem{boxplot}{% -- cgit v1.2.3