From 3b78aaf897bd07ed6c7f9012f3722fd22ce89903 Mon Sep 17 00:00:00 2001 From: Stefan Pinnow Date: Tue, 4 Jan 2022 20:27:27 +0100 Subject: [PATCH 1/2] chore: move plasma colormap *after* viridis colormap definition is complete Signed-off-by: Stefan Pinnow --- tex/generic/pgfplots/pgfplots.code.tex | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tex/generic/pgfplots/pgfplots.code.tex b/tex/generic/pgfplots/pgfplots.code.tex index 7e3ca5ca..f393f55f 100644 --- a/tex/generic/pgfplots/pgfplots.code.tex +++ b/tex/generic/pgfplots/pgfplots.code.tex @@ -4050,6 +4050,12 @@ rgb=(0.99324,0.90616,0.14394) }% }, + % instantiate viridis such that it is in memory by default: + /pgfplots/colormap/viridis, + % ... but reuse hot since it is used to be the default since the + % beginning: + /pgfplots/colormap name=hot, + % /pgfplots/colormap/plasma/.style={% /pgfplots/colormap={plasma}{% rgb=(0.050383, 0.029803, 0.527975) @@ -4074,12 +4080,6 @@ rgb=(0.940015, 0.975158, 0.131326) }% }, - % instantiate viridis such that it is in memory by default: - /pgfplots/colormap/viridis, - % ... but reuse hot since it is used to be the default since the - % beginning: - /pgfplots/colormap name=hot, - % /pgfplots/colormap/hot2/.style={ /pgfplots/colormap={hot2}{[1cm]rgb255(0cm)=(0,0,0) rgb255(3cm)=(255,0,0) rgb255(6cm)=(255,255,0) rgb255(8cm)=(255,255,255)} }, From fa81c0dba0a67827ee7419ab5922b24b8df600ee Mon Sep 17 00:00:00 2001 From: Stefan Pinnow Date: Tue, 4 Jan 2022 20:31:52 +0100 Subject: [PATCH 2/2] chore: use TAB delimiter (as is used for the whole file) Signed-off-by: Stefan Pinnow --- tex/generic/pgfplots/pgfplots.code.tex | 40 +++++++++++++------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/tex/generic/pgfplots/pgfplots.code.tex b/tex/generic/pgfplots/pgfplots.code.tex index f393f55f..0b5ccf3c 100644 --- a/tex/generic/pgfplots/pgfplots.code.tex +++ b/tex/generic/pgfplots/pgfplots.code.tex @@ -4058,26 +4058,26 @@ % /pgfplots/colormap/plasma/.style={% /pgfplots/colormap={plasma}{% - rgb=(0.050383, 0.029803, 0.527975) - rgb=(0.171574, 0.019706, 0.580806) - rgb=(0.261183, 0.013308, 0.617911) - rgb=(0.35015, 0.004382, 0.646298) - rgb=(0.429719, 0.000831, 0.659425) - rgb=(0.512206, 0.018833, 0.655209) - rgb=(0.584391, 0.068579, 0.632812) - rgb=(0.65558, 0.129725, 0.592317) - rgb=(0.714883, 0.187299, 0.546338) - rgb=(0.771958, 0.249237, 0.494813) - rgb=(0.819651, 0.306812, 0.448306) - rgb=(0.866078, 0.36966, 0.400126) - rgb=(0.904601, 0.429797, 0.356329) - rgb=(0.940313, 0.497642, 0.309197) - rgb=(0.966798, 0.564396, 0.265118) - rgb=(0.986345, 0.640969, 0.217948) - rgb=(0.994324, 0.716681, 0.177208) - rgb=(0.989587, 0.803205, 0.146529) - rgb=(0.970533, 0.887896, 0.145919) - rgb=(0.940015, 0.975158, 0.131326) + rgb=(0.050383, 0.029803, 0.527975) + rgb=(0.171574, 0.019706, 0.580806) + rgb=(0.261183, 0.013308, 0.617911) + rgb=(0.35015, 0.004382, 0.646298) + rgb=(0.429719, 0.000831, 0.659425) + rgb=(0.512206, 0.018833, 0.655209) + rgb=(0.584391, 0.068579, 0.632812) + rgb=(0.65558, 0.129725, 0.592317) + rgb=(0.714883, 0.187299, 0.546338) + rgb=(0.771958, 0.249237, 0.494813) + rgb=(0.819651, 0.306812, 0.448306) + rgb=(0.866078, 0.36966, 0.400126) + rgb=(0.904601, 0.429797, 0.356329) + rgb=(0.940313, 0.497642, 0.309197) + rgb=(0.966798, 0.564396, 0.265118) + rgb=(0.986345, 0.640969, 0.217948) + rgb=(0.994324, 0.716681, 0.177208) + rgb=(0.989587, 0.803205, 0.146529) + rgb=(0.970533, 0.887896, 0.145919) + rgb=(0.940015, 0.975158, 0.131326) }% }, /pgfplots/colormap/hot2/.style={