Move `pgfplots` theme description to `mtheme.dtx`

This commit is contained in:
Ross Churchley 2015-06-17 00:46:30 -07:00
parent 56fcb29494
commit 5e7b85a1b1
3 changed files with 20 additions and 19 deletions

View File

@ -265,11 +265,23 @@ The |\plain{title=[]}{<body>}| command sets a slide in plain dark colors which
can be useful to focus attention on a single sentence or image.
\subsection{pgfplot styles}
\subsection{Paul Tol's colors: a \texttt{pgfplots} theme}
The beamer theme also contains pre-defined pgfplot styles. Use the |mlineplot|
key to plot line data and |mbarplot| or horizontal |mbarplot| to plot bar
charts.
A good presentation uses colors that are
\begin{itemize}
\item distinct from each other as much as possible, and
\item distinct from black and white,
\item under many different lighting and display environments, and
\item to color-blind viewers,
\item all while matching well together.
\end{itemize}
In a \href{https://personal.sron.nl/~pault/colourschemes.pdf}{technical note}
for SRON, Paul Tol proposed a palette of colors satisfying these constraints.
The sub-package |pgfplotsthemetol| defines palettes for |pgfplots| charts
based on Tol's work. Use the |mlineplot| key to plot line data and |mbarplot|
or horizontal |mbarplot| to plot bar charts.
\section{Known Issues}

Binary file not shown.

View File

@ -30,22 +30,11 @@
%<*package>
% ------------------------------------------------------------------------- \fi
%
% \section{Paul Tol's colors: a \texttt{pgfplots} theme}
% \subsection{\texttt{pgfplotsthemetol}}
%
% A good presentation uses colors that are
%
% \begin{itemize}
% \item distinct from each other as much as possible, and
% \item distinct from black and white,
% \item under many different lighting and display environments, and
% \item to color-blind viewers,
% \item all while matching well together.
% \end{itemize}
%
% In a \href{https://personal.sron.nl/~pault/colourschemes.pdf}{technical note}
% for SRON, Paul Tol proposed a palette of colors satisfying these constraints.
% His 12-color palette\footnote{Tol actually describes several palettes; these
% colours are taken from the bottom row of Figure 3 in the technical note.} is as follows:
% Paul Tol's 12-color palette\footnote{Tol actually describes several
% palettes; these colours are taken from the bottom row of Figure 3 in his
% technical note.} is as follows:
%
% \begin{macrocode}
\definecolor{TolDarkPurple}{HTML}{332288}