\documentclass[border=1px]{standalone}

\usepackage{pgfplots}
\usepackage{amsmath}
\begin{document}
	\begin{tikzpicture}
		\begin{axis}[legend columns=2,enlarge x limits=false,enlarge y limits=false,xmax=16,ymin=0.4,ymax=1,axis on top, xlabel=$M$, ylabel=$F$,width=6.5cm,height=3.5cm,legend style={overlay, at={(1,0)},anchor=south east},legend cell align=left]
			\addplot[only marks,color=red,mark=x,mark options={scale=1.5}] coordinates { 
(4,0.9974)
(6,0.99957)
(8,0.99996)
(10,0.99994)
(12,0.99995)
(14,0.99997)
(16,0.99999)
   		}; 
   		\addplot[only marks,color=blue,mark=triangle,mark options={scale=1.5}] coordinates { 
(4,0.9947)
(6,0.99402)
(8,0.99829)
(10,0.9997)
(12,0.99961)
(14,0.99979)
(16,0.99994)
    };
	\addplot[only marks,color=orange!80!black,mark=square,mark options={scale=1.2}] coordinates {     
(4,0.66804)
(6,0.82563)
(8,0.92896)
(10,0.98484)
(12,0.99614)
(14,0.99763)
(16,0.99908)
	};
	\addplot[only marks,color=green!80!black,mark=star,mark options={scale=1.5}] coordinates { 
(4.01,0.4656)
(6,0.63001)
(8,0.74974)
(10,0.84162)
(12,0.91242)
(14,0.96289)
(16,0.99161)
};
		\legend{$N=1$,$N=10$,$N=50$,$N=100$};
  		\end{axis}
	\end{tikzpicture}
		\begin{tikzpicture}
		\begin{axis}[legend columns=2,enlarge x limits=false,enlarge y limits=false,xmax=16,ymin=0.4,ymax=1,axis on top, xlabel=$M$, ylabel=$F$,width=6.5cm,height=3.5cm,legend style={overlay, at={(1,0)},anchor=south east},legend cell align=left]
			\addplot[only marks,color=red,mark=x,mark options={scale=1.5}] coordinates { 
(4,0.94227)
(6,0.97494)
(8,0.98914)
(10,0.99544)
(12,0.99803)
(14,0.99862)
(16,0.99898)
   		}; 
   		\addplot[only marks,color=blue,mark=triangle,mark options={scale=1.5}] coordinates { 
(4,0.75277)
(6,0.87129)
(8,0.92682)
(10,0.95715)
(12,0.97412)
(14,0.98374)
(16,0.98925)
    };
	\addplot[only marks,color=orange!80!black,mark=square,mark options={scale=1.2}] coordinates {     
(4,0.66584)
(6,0.77494)
(8,0.83639)
(10,0.87713)
(12,0.90593)
(14,0.92711)
(16,0.94287)
	};
	\addplot[only marks,color=green!80!black,mark=star,mark options={scale=1.5}] coordinates { 
(4,0.64578)
(6,0.75119)
(8,0.81083)
(10,0.85044)
(12,0.87909)
(14,0.90076)
(16,0.9177)
};
		\legend{$N=1$,$N=10$,$N=50$,$N=100$};
  		\end{axis}
	\end{tikzpicture}
\end{document}


