% This file is embedded in datatool-user.pdf version 3.4.1 2025-04-25
% Example 180 Side-Axes, Extended Axes and Boxed
% Label: "ex:plotboxextendedsideaxes"
% arara: pdflatex
% arara: pdfcrop
\documentclass[12pt]{article}
\pagestyle{empty}
\begin{filecontents}[noheader,overwrite]{growth1.csv}
Time,Experiment 1,Experiment 2
0,3.13,3.4
15,3.42,3.45
30,3.67,3.5
45,4.2,3.64
60,4.9,3.8
\end{filecontents}

\usepackage{dataplot}
\DTLsetup{store-datum}
\DTLread[name=growth1,
 csv-content=no-parse,
 data-types=decimal
]{growth1.csv} 
\begin{document}
\DTLplot{growth1}{
 x=Time,
 y={Experiment 1,Experiment 2},
 x-label={Time ($t$)}, y-label={Log Count},
 legend, round=0, minor-ticks,
 min-y=3,max-y=5,y-tick-gap=1,
 tick-label-offset=0pt, box,
 side-axes,
 extend-x-axis={5},
 extend-y-axis={0.5},
 width=2.5in, height=2.5in
} 
\end{document}
