\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}
\usepgfplotslibrary{colorbrewer}
% \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=\SI{}{\mega\hertz},
			xlabel=ILRO trim code,	ylabel=$f_\mathrm{0}$,
			ymin=450,ymax=800,
			xmin=0, xmax=32,
			ytick = {450,500,550,600,625,650,700,750,800},
			xtick = {0,4,8,12,16,20,24,28,32},
			set layers,
			%y tick label style={/pgf/number format/.cd, set thousands separator={}},
			xticklabel shift = 2 pt,
			legend pos=north east,
			cycle list/Dark2,
			x tick label style={
        /pgf/number format/.cd,
            fixed,
            precision=3,
        /tikz/.cd
    }
		]					
			
			\addplot +[const plot, solid, thick,mark=none] table [x expr=\thisrow{x1}, y expr=\thisrow{y1}*1e-6, col sep=semicolon] {../cadence_data/ilro_trim.csv};
			\addplot +[const plot, solid, thick,mark=none] table [x expr=\thisrow{x2}, y expr=\thisrow{y2}*1e-6, col sep=semicolon] {../cadence_data/ilro_trim.csv};
			\addplot +[const plot, solid, thick,mark=none] table [x expr=\thisrow{x3}, y expr=\thisrow{y3}*1e-6, col sep=semicolon] {../cadence_data/ilro_trim.csv};
			\addplot +[const plot, solid, thick,mark=none] table [x expr=\thisrow{x4}, y expr=\thisrow{y4}*1e-6, col sep=semicolon] {../cadence_data/ilro_trim.csv};
			\addplot +[const plot, solid, thick,mark=none] table [x expr=\thisrow{x5}, y expr=\thisrow{y5}*1e-6, col sep=semicolon] {../cadence_data/ilro_trim.csv};
			\addplot +[const plot, solid, thick,mark=none] table [x expr=\thisrow{x6}, y expr=\thisrow{y6}*1e-6, col sep=semicolon] {../cadence_data/ilro_trim.csv};
			\addplot +[const plot, solid, thick,mark=none] table [x expr=\thisrow{x7}, y expr=\thisrow{y7}*1e-6, col sep=semicolon] {../cadence_data/ilro_trim.csv};
			\addplot +[const plot, solid, thick,mark=none] table [x expr=\thisrow{x8}, y expr=\thisrow{y8}*1e-6, col sep=semicolon] {../cadence_data/ilro_trim.csv};
			%\addplot +[solid, smooth, thick,mark=none] table [x expr=\thisrow{x9}*1e12-498650, y expr=\thisrow{y9}*1e6, col sep=semicolon] {../cadence_data/iinj_wvf.csv};
			%\addplot +[solid, smooth, thick,mark=none] table [x expr=\thisrow{x10}*1e12-498650, y expr=\thisrow{y10}*1e6, col sep=semicolon] {../cadence_data/iinj_wvf.csv};
			%\addplot +[solid, smooth, thick,mark=none] table [x expr=\thisrow{x11}*1e12, y expr=\thisrow{y11}*1e6, col sep=semicolon] {../cadence_data/iinj_wvf.csv};
			
			
		\end{axis}
	\end{tikzpicture}
\end{document}