Minor changes to colorscheme example

This commit is contained in:
Andreas Tsouchlos 2023-12-23 20:15:02 +01:00
parent 45224e1d3b
commit db20f9c5d6

View File

@ -18,7 +18,6 @@
\input{common.tex} \input{common.tex}
\pgfplotsset{colorscheme/cel}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@ -26,12 +25,26 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title{Colorschemes}
\author{}
\date{}
\begin{document} \begin{document}
\maketitle
\foreach \x in {cel, rocket, viridis, mako, cividis, matplotlib}{
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Set colorscheme
\foreach \x in {cel, rocket, viridis, mako, cividis}{
\pgfplotsset{colorscheme/\x} \pgfplotsset{colorscheme/\x}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Preview colorscheme
\noindent\begin{minipage}{\textwidth}
\colorbox{gray!30}{\texttt{colorscheme/\x}} \colorbox{gray!30}{\texttt{colorscheme/\x}}
\begin{figure}[H] \begin{figure}[H]
\centering \centering
@ -81,6 +94,8 @@
\end{tikzpicture} \end{tikzpicture}
\end{subfigure}% \end{subfigure}%
\end{figure} \end{figure}
\vspace{\parskip}
\end{minipage}
} }