\documentclass[tikz]{standalone}
%\usetikzlibrary{calc}
\usepackage{graphicx,amsmath,amsfonts,amssymb,bm,hyperref,url,breakurl,epsfig,epsf,color,fullpage,MnSymbol,mathbbol,fmtcount,algorithmic,algorithm,semtrans,cite,caption,subcaption,multirow,xcolor}
\usepackage{tikz}
\usepackage{pgfplots}
\newcommand{\twonorm}[1]{\left\|#1\right\|_{\ell_2}}
\newcommand{\vct}[1]{\bm{#1}}
\newcommand{\calF}{\mathcal{I}}
\newcommand{\calS}{\mathcal{N}}
\newcommand{\y}{\vct{y}}
\usetikzlibrary{pgfplots.groupplots}
\pgfplotsset{scaled x ticks=false}
\begin{document}
	\centering
	\begin{tikzpicture}[scale=1.2]
		\begin{axis}%[y tick label style={/pgf/number format/.cd,fixed,/pgfplots/tick scale binop=\times}, ylabel near ticks, xmode=log,
		%xlabel= \# of training examples, ylabel= Val. SSIM, legend style={font=\small, at={(0.658,0.15)}, anchor=south,legend cell align=left},grid=both,grid style={dotted}, legend entries={no DA,
		%	DA
		%}]
		%[xlabel= $\alpha$, ylabel=generalization error, grid style={dotted}, xmosde=log, ymode=log,  x dir=reverse]
		[xlabel= $\alpha$, ylabel= train/test error, grid style={dotted}, xmode=log, ymode=log, legend pos=north west]
%		\addplot [red,line width=1pt, mark=o,dotted]table[x index=0,y index=1]{loss_train_60.csv};
%		\addlegendentry{$r=60,$ train error}
%		\addplot [red,line width=1pt, mark=o]table[x index=0,y index=1]{loss_test_60.csv};
%		\addlegendentry{$r=60$ test error}
		%\addplot [blue,line width=1pt, mark=o,dotted]table[x index=0,y index=1]{loss_train_120.csv};
		%\addplot [blue,line width=1pt, mark=o]table[x index=0,y index=1]{loss_test_120.csv};
		\addplot [blue,line width=1pt, mark=o,dotted]table[x index=0,y index=1]{loss_train_180.csv};
		\addlegendentry{$r=180$ train error}
		\addplot [blue,line width=1pt, mark=o]table[x index=0,y index=1]{loss_test_180.csv};
		\addlegendentry{$r=180$ test error}
		%\addlegendentry{$r=180$ test error}
		%\addlegendentry{$r=5$}
		%\addplot [red,line width=1pt] table[x index=0,y index=1]{sigma_min.csv};
		%\addlegendentry{$\frac{\sigma_{\min} \left(U_t\right)}{\sigma_{\min} \left(X\right)}$}
		%\addplot [red,line width=1.0pt] table[x index=0,y index=1]{angle2.csv};
		%\addlegendentry{$r=10$}
		%\addplot [green,line width=1.0pt] table[x index=0,y index=1]{angle3.csv};
		%\addlegendentry{$r=20 $}
		%\addplot [blue,line width=1.2pt, dotted] table[x index=0,y index=1]{angle4.csv};
		%\addlegendentry{$r=40$}
		%\addplot [red,line width=1.2pt, dotted] table[x index=0,y index=1]{angle5.csv};
		%\addlegendentry{$r=100$}
		%\addplot [green,line width=1.2pt, dotted] table[x index=0,y index=1]{angle6.csv};
		%\addlegendentry{$r=200$}
		
		%\addplot [black, line width=1.0pt,  dotted] table[x index=0,y index=1]{first_line.csv};
		%\addplot [black, line width=1.0pt,  dotted] table[x index=0,y index=1]{second_line.csv};
		\end{axis}
		
	\end{tikzpicture}	
	% Further ?tikzpicture? environments are possible which will create further pages.
\end{document}