Skip to content

Commit

Permalink
Merge pull request #420 from Mo-Gul/ImprovePlasmaColormap
Browse files Browse the repository at this point in the history
Improve plasma colormap
  • Loading branch information
Mo-Gul authored Jul 14, 2023
2 parents 0a63c7d + fa81c0d commit a1fe88f
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions tex/generic/pgfplots/pgfplots.code.tex
Original file line number Diff line number Diff line change
Expand Up @@ -4050,36 +4050,36 @@
rgb=(0.99324,0.90616,0.14394)
}%
},
/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)
}%
},
% 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)
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={
/pgfplots/colormap={hot2}{[1cm]rgb255(0cm)=(0,0,0) rgb255(3cm)=(255,0,0) rgb255(6cm)=(255,255,0) rgb255(8cm)=(255,255,255)}
},
Expand Down

0 comments on commit a1fe88f

Please sign in to comment.