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}
\pgfplotsset{colorscheme/cel}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@ -26,12 +25,26 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title{Colorschemes}
\author{}
\date{}
\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}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Preview colorscheme
\noindent\begin{minipage}{\textwidth}
\colorbox{gray!30}{\texttt{colorscheme/\x}}
\begin{figure}[H]
\centering
@ -81,6 +94,8 @@
\end{tikzpicture}
\end{subfigure}%
\end{figure}
\vspace{\parskip}
\end{minipage}
}