Repository Public License Research preview
1% atlas-pgfplots.tex — PGFPlots styles for quantitative figures.2% Every plotted number must come from reproducible code or a documented hand calculation.3\pgfplotsset{4 compat=1.18,5 atlas axis/.style={6 axis line style={draw=atlasRule, line width=.8pt},7 tick style={draw=atlasRule, line width=.6pt},8 tick label style={text=atlasFg, font=\AtlasSizeTiny},9 label style={text=atlasMuted, font=\AtlasSizeTiny},10 title style={text=atlasFg, font=\AtlasSizeLabel\bfseries, align=center},11 major grid style={draw=atlasRule, line width=.4pt, dash pattern=on 1.5pt off 2pt},12 legend style={draw=none, fill=none, text=atlasFg, font=\AtlasSizeTiny},13 axis background/.style={fill=none},14 /pgf/number format/use comma,15 /pgf/number format/fixed,16 },17 % Horizontal probability bars: categories on y, probability on x in [0,1].18 atlas probability bars/.style={19 atlas axis, xbar, xmin=0, bar width=3.6mm,20 axis x line*=bottom, axis y line*=left, y axis line style={draw=none},21 ytick style={draw=none}, ytick=data, y dir=reverse,22 yticklabel style={font=\ttfamily\AtlasSizeLabel, text=atlasFg},23 xmajorgrids, enlarge y limits={abs=3.4mm},24 nodes near coords, nodes near coords style={text=atlasFg, font=\AtlasTabularFont\AtlasSizeTiny, anchor=west},25 nodes near coords={\pgfmathprintnumber[fixed, precision=2, zerofill]{\pgfplotspointmeta}},26 },27 atlas bar flow/.style={fill=atlasFlow, draw=atlasFlow, fill opacity=.85},28 atlas bar valid/.style={fill=atlasValid, draw=atlasValid, fill opacity=.85},29 atlas bar uncertain/.style={fill=atlasUncertain, draw=atlasUncertain, fill opacity=.85},30 atlas bar hazard/.style={fill=atlasHazard, draw=atlasHazard, fill opacity=.85},31 atlas bar muted/.style={fill=atlasRule, draw=atlasRule},32}33