| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- \documentclass[varwidth=true, border=2pt]{standalone}
- \usepackage[utf8]{inputenc} % this is needed for umlauts
- \usepackage[ngerman]{babel} % this is needed for umlauts
- \usepackage[T1]{fontenc} % this is needed for correct output of umlauts in pdf
- \usepackage[margin=2.5cm]{geometry} %layout
- \usepackage{tikz}
- \usepackage{pgfplots}
- \pgfplotsset{compat=1.13}
- \begin{document}
- \begin{tikzpicture}
- \begin{axis}[
- axis x line=middle,
- axis y line=middle,
- enlarge y limits=true,
- xmin=0,
- %xmax=2014,
- ymin=0.15,
- % ymax=26000,
- width=15cm, height=8cm, % size of the image
- grid = major,
- grid style={dashed, gray!30},
- ylabel=validation error,
- ylabel style={at={(0,1.0)}},
- xlabel=epoch,
- legend style={at={(0.8,0.71)}, anchor=north},
- legend cell align=right,
- xticklabel style=
- {/pgf/number format/1000 sep=,rotate=60,anchor=east,font=\scriptsize},
- % yticklabel style=
- % {scaled ticks=false,/pgf/number format/1000 sep=\,,rotate=0,anchor=east,font=\scriptsize},
- % legend style={draw=none, legend columns=-1}
- ]
- \addplot[thick, red, mark=., densely dashed] table [x=epoch, y=max_acc, col sep=comma] {baseline_cifar_test_acc.csv};
- \addplot[thick, blue, mark=.] table [x=epoch,y=min_acc, col sep=comma] {baseline_cifar_test_acc.csv};
- \legend{maximum validation accuracy, minimum validation accuracy}
- \end{axis}
- \end{tikzpicture}d
- \end{document}
|