📚 The CoCalc Library - books, templates and other resources
License: OTHER
%%1%% This is file `pgfplotsthemetol.sty',2%% generated with the docstrip utility.3%%4%% The original source files were:5%%6%% pgfplotsthemetol.dtx (with options: `package')7%% ---------------------------------------------------------------------------8%% Copyright 2015 Matthias Vogelgesang and the LaTeX community. A full list of9%% contributors can be found at10%%11%% https://github.com/matze/mtheme/graphs/contributors12%%13%% and the original template was based on the HSRM theme by Benjamin Weiss.14%%15%% This work is licensed under a Creative Commons Attribution-ShareAlike 4.016%% International License (https://creativecommons.org/licenses/by-sa/4.0/).17%% ---------------------------------------------------------------------------18\NeedsTeXFormat{LaTeX2e}19\ProvidesPackage{pgfplotsthemetol}20[2017/01/23 PGFplots colors based on Paul Tol's SRON technical note]21\definecolor{TolDarkPurple}{HTML}{332288}22\definecolor{TolDarkBlue}{HTML}{6699CC}23\definecolor{TolLightBlue}{HTML}{88CCEE}24\definecolor{TolLightGreen}{HTML}{44AA99}25\definecolor{TolDarkGreen}{HTML}{117733}26\definecolor{TolDarkBrown}{HTML}{999933}27\definecolor{TolLightBrown}{HTML}{DDCC77}28\definecolor{TolDarkRed}{HTML}{661100}29\definecolor{TolLightRed}{HTML}{CC6677}30\definecolor{TolLightPink}{HTML}{AA4466}31\definecolor{TolDarkPink}{HTML}{882255}32\definecolor{TolLightPurple}{HTML}{AA4499}33\pgfplotscreateplotcyclelist{mbarplot cycle}{%34{draw=TolDarkBlue, fill=TolDarkBlue!70},35{draw=TolLightBrown, fill=TolLightBrown!70},36{draw=TolLightGreen, fill=TolLightGreen!70},37{draw=TolDarkPink, fill=TolDarkPink!70},38{draw=TolDarkPurple, fill=TolDarkPurple!70},39{draw=TolDarkRed, fill=TolDarkRed!70},40{draw=TolDarkBrown, fill=TolDarkBrown!70},41{draw=TolLightRed, fill=TolLightRed!70},42{draw=TolLightPink, fill=TolLightPink!70},43{draw=TolLightPurple, fill=TolLightPurple!70},44{draw=TolLightBlue, fill=TolLightBlue!70},45{draw=TolDarkGreen, fill=TolDarkGreen!70},46}47\pgfplotscreateplotcyclelist{mlineplot cycle}{%48{TolDarkBlue, mark=*, mark size=1.5pt},49{TolLightBrown, mark=square*, mark size=1.3pt},50{TolLightGreen, mark=triangle*, mark size=1.5pt},51{TolDarkBrown, mark=diamond*, mark size=1.5pt},52}53\pgfplotsset{54compat=1.9,55mlineplot/.style={56mbaseplot,57xmajorgrids=true,58ymajorgrids=true,59major grid style={dotted},60axis x line=bottom,61axis y line=left,62legend style={63cells={anchor=west},64draw=none65},66cycle list name=mlineplot cycle,67},68mbarplot base/.style={69mbaseplot,70bar width=6pt,71axis y line*=none,72},73mbarplot/.style={74mbarplot base,75ybar,76xmajorgrids=false,77ymajorgrids=true,78area legend,79legend image code/.code={%80\draw[#1] (0cm,-0.1cm) rectangle (0.15cm,0.1cm);81},82cycle list name=mbarplot cycle,83},84horizontal mbarplot/.style={85mbarplot base,86xmajorgrids=true,87ymajorgrids=false,88xbar stacked,89area legend,90legend image code/.code={%91\draw[#1] (0cm,-0.1cm) rectangle (0.15cm,0.1cm);92},93cycle list name=mbarplot cycle,94},95mbaseplot/.style={96legend style={97draw=none,98fill=none,99cells={anchor=west},100},101x tick label style={102font=\footnotesize103},104y tick label style={105font=\footnotesize106},107legend style={108font=\footnotesize109},110major grid style={111dotted,112},113axis x line*=bottom,114},115disable thousands separator/.style={116/pgf/number format/.cd,1171000 sep={}118},119}120\endinput121%%122%% End of file `pgfplotsthemetol.sty'.123124125