\documentclass[border=0mm]{standalone}

\usepackage{cmap}
\usepackage[cp1250]{inputenc}	
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{lmodern}
\usepackage{tikz}
\usepackage{float}
\usepackage{siunitx}
\usepackage{amsmath}
\usepackage{upgreek}
\usepackage{pgfplots}
\pgfplotsset{compat=1.17}
\usepgfplotslibrary{fillbetween}
\usepgfplotslibrary{units}
% \makeatletter
%\pgfplotsset{
%  unit code/.code 2 args=
%    \begingroup
%    \protected@edef\x{\endgroup\si{#2}}\x
%} 
%\makeatother

\pgfkeys{%
  /tikz/on layer/.code={
    \pgfonlayer{#1}\begingroup
    \aftergroup\endpgfonlayer
    \aftergroup\endgroup
  }
}

\begin{document}
	\begin{tikzpicture}
		\begin{axis}[
			height=7cm,	width=11cm,	grid=major,
    		x unit=\%, y unit=\%,
			xlabel=$f_\mathrm{0}$ error,	ylabel=$t_\mathrm{d,inj}$ error,
			ymin=-80,ymax=80,
			xmin=-5, xmax=5,
			ytick distance = 20,
			%xtick ={5,10,15,20,25,30},
			set layers,
			y tick label style={/pgf/number format/.cd, set thousands separator={}},
			xticklabel shift = 2 pt,
			legend pos=north west
		]					
			
			\addplot +[solid, smooth, thick,color=blue,mark=none] table [x expr=\thisrow{mis}, y expr=\thisrow{error}*100, col sep=semicolon] {../cadence_data/f0_inj_stage_error.csv};
			
		\end{axis}
	\end{tikzpicture}
\end{document}