\usepackage{pgfplots} %For graphing data
\pgfplotsset
{
compat = newest,
every tick/.append style = thin,
table/col sep = comma,
width= 0.99 \textwidth,
height= 0.99\textheight,
xlabel near ticks,
ylabel near ticks
}
\pgfkeys{/pgf/number format/set thousands separator = }
\usepgfplotslibrary{external} %TURN THIS OFF FOR FINAL VERSIONS