\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=\SI{}{\volt}, y unit=\SI{}{\mega\hertz},
			xlabel=$V_\mathrm{DD}$,	ylabel=$f_\mathrm{0}$,
			ymin=580,ymax=650,
			xmin=1.08, xmax=1.32,
			xtick distance = 0.04,
			ytick distance = 10,
			%xtick ={580,590,600,610,625,640,650,660},
			set layers,
			%y tick label style={/pgf/number format/.cd, set thousands separator={}},
			xticklabel shift = 2 pt,
			legend style={at={(0.8,0.97)},anchor=north}
			%cycle list/Dark2
		]					
			\addplot +[name path = min,draw=none,solid, smooth, thick,mark=none] table [x expr=\thisrow{x1}, y expr=\thisrow{min}*1e-6, col sep=semicolon] {../cadence_data/ss_vs_normal_vdda.csv};
			\addplot +[name path = max,draw=none,solid, smooth, thick,mark=none] table [x expr=\thisrow{x1}, y expr=\thisrow{max}*1e-6, col sep=semicolon] {../cadence_data/ss_vs_normal_vdda.csv};
			\addplot[blue, fill opacity = 0.15] fill between[of=min and max];	
			
			\addplot +[solid, smooth, thick,mark=none, color=red] table [x expr=\thisrow{x1}, y expr=\thisrow{sy1}*1e-6, col sep=semicolon] {../cadence_data/ss_vs_normal_vdda.csv};
			\addplot +[solid, smooth, thick,mark=none, color=red] table [x expr=\thisrow{x1}, y expr=\thisrow{sy2}*1e-6, col sep=semicolon] {../cadence_data/ss_vs_normal_vdda.csv};	
			\addplot +[solid, smooth, thick,mark=none, color=red] table [x expr=\thisrow{x1}, y expr=\thisrow{sy3}*1e-6, col sep=semicolon] {../cadence_data/ss_vs_normal_vdda.csv};
			\addplot +[solid, smooth, thick,mark=none, color=red] table [x expr=\thisrow{x1}, y expr=\thisrow{sy4}*1e-6, col sep=semicolon] {../cadence_data/ss_vs_normal_vdda.csv};
			\addplot +[solid, smooth, thick,mark=none, color=red] table [x expr=\thisrow{x1}, y expr=\thisrow{sy5}*1e-6, col sep=semicolon] {../cadence_data/ss_vs_normal_vdda.csv};
			\addplot +[solid, smooth, thick,mark=none, color=red] table [x expr=\thisrow{x1}, y expr=\thisrow{sy6}*1e-6, col sep=semicolon] {../cadence_data/ss_vs_normal_vdda.csv};
			
			\legend{
            ,
            ,
            other corners,
            SS corners,
            ,
        }
			
			
			
		\end{axis}
	\end{tikzpicture}
\end{document}