2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-18 19:18:21 +02:00

ENH: Change colormaps from jet to viridis

This commit is contained in:
Martin Thoma 2018-01-21 14:18:29 +01:00
parent c8d192e746
commit 3bbcf02a8a
10 changed files with 5 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 128 KiB

After

Width:  |  Height:  |  Size: 127 KiB

Before After
Before After

View file

@ -2,7 +2,7 @@
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{pgfplots}
\pgfplotsset{compat=1.11}
\pgfplotsset{compat=1.13}
\usetikzlibrary{arrows.meta}
\begin{document}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 94 KiB

After

Width:  |  Height:  |  Size: 92 KiB

Before After
Before After

View file

@ -38,7 +38,7 @@
%xticklabels={,,},
%yticklabels={,,}
]
\addplot3[surf] {-(x*x/16+y*y/4-1)};
\addplot3[surf, colormap name=viridis] {-(x*x/16+y*y/4-1)};
\end{axis}
\end{tikzpicture}
\end{preview}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 104 KiB

After

Width:  |  Height:  |  Size: 104 KiB

Before After
Before After

View file

@ -42,7 +42,7 @@
%xticklabels={,,},
%yticklabels={,,}
]
\addplot3[surf] {3*x*x-y*y-9*x+1};
\addplot3[surf, colormap name=viridis] {3*x*x-y*y-9*x+1};
\end{axis}
\end{tikzpicture}
\end{preview}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 117 KiB

After

Width:  |  Height:  |  Size: 121 KiB

Before After
Before After

View file

@ -38,7 +38,7 @@
%xticklabels={,,},
%yticklabels={,,}
]
\addplot3[surf] {-3/25*x*x+1/25*y*y};
\addplot3[surf, colormap name=viridis] {-3/25*x*x+1/25*y*y};
\end{axis}
\end{tikzpicture}
\end{preview}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 85 KiB

After

Width:  |  Height:  |  Size: 85 KiB

Before After
Before After

View file

@ -44,7 +44,7 @@
]
% if you want to use Wolfram|Alpha:
% Plot3D[x*x-4*x*y+y*y+1, {x, -5, 5}, {y, -5, 5}]
\addplot3[surf] {x*x-4*x*y+y*y+1};
\addplot3[surf, colormap name=viridis] {x*x-4*x*y+y*y+1};
\end{axis}
\end{tikzpicture}
\end{preview}