ENH: Change colormaps from jet to viridis
Before Width: | Height: | Size: 128 KiB After Width: | Height: | Size: 127 KiB |
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
\usepackage[usenames,dvipsnames]{xcolor}
|
\usepackage[usenames,dvipsnames]{xcolor}
|
||||||
\usepackage{pgfplots}
|
\usepackage{pgfplots}
|
||||||
\pgfplotsset{compat=1.11}
|
\pgfplotsset{compat=1.13}
|
||||||
\usetikzlibrary{arrows.meta}
|
\usetikzlibrary{arrows.meta}
|
||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
|
|
Before Width: | Height: | Size: 94 KiB After Width: | Height: | Size: 92 KiB |
|
@ -38,7 +38,7 @@
|
||||||
%xticklabels={,,},
|
%xticklabels={,,},
|
||||||
%yticklabels={,,}
|
%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{axis}
|
||||||
\end{tikzpicture}
|
\end{tikzpicture}
|
||||||
\end{preview}
|
\end{preview}
|
||||||
|
|
Before Width: | Height: | Size: 104 KiB After Width: | Height: | Size: 104 KiB |
|
@ -42,7 +42,7 @@
|
||||||
%xticklabels={,,},
|
%xticklabels={,,},
|
||||||
%yticklabels={,,}
|
%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{axis}
|
||||||
\end{tikzpicture}
|
\end{tikzpicture}
|
||||||
\end{preview}
|
\end{preview}
|
||||||
|
|
Before Width: | Height: | Size: 117 KiB After Width: | Height: | Size: 121 KiB |
|
@ -38,7 +38,7 @@
|
||||||
%xticklabels={,,},
|
%xticklabels={,,},
|
||||||
%yticklabels={,,}
|
%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{axis}
|
||||||
\end{tikzpicture}
|
\end{tikzpicture}
|
||||||
\end{preview}
|
\end{preview}
|
||||||
|
|
Before Width: | Height: | Size: 85 KiB After Width: | Height: | Size: 85 KiB |
|
@ -44,7 +44,7 @@
|
||||||
]
|
]
|
||||||
% if you want to use Wolfram|Alpha:
|
% if you want to use Wolfram|Alpha:
|
||||||
% Plot3D[x*x-4*x*y+y*y+1, {x, -5, 5}, {y, -5, 5}]
|
% 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{axis}
|
||||||
\end{tikzpicture}
|
\end{tikzpicture}
|
||||||
\end{preview}
|
\end{preview}
|
||||||
|
|