% GNUPLOT: LaTeX picture with Postscript
\begingroup
  \makeatletter
  \providecommand\color[2][]{%
    \GenericError{(gnuplot) \space\space\space\@spaces}{%
      Package color not loaded in conjunction with
      terminal option `colourtext'%
    }{See the gnuplot documentation for explanation.%
    }{Either use 'blacktext' in gnuplot or load the package
      color.sty in LaTeX.}%
    \renewcommand\color[2][]{}%
  }%
  \providecommand\includegraphics[2][]{%
    \GenericError{(gnuplot) \space\space\space\@spaces}{%
      Package graphicx or graphics not loaded%
    }{See the gnuplot documentation for explanation.%
    }{The gnuplot epslatex terminal needs graphicx.sty or graphics.sty.}%
    \renewcommand\includegraphics[2][]{}%
  }%
  \providecommand\rotatebox[2]{#2}%
  \@ifundefined{ifGPcolor}{%
    \newif\ifGPcolor
    \GPcolortrue
  }{}%
  \@ifundefined{ifGPblacktext}{%
    \newif\ifGPblacktext
    \GPblacktexttrue
  }{}%
  % define a \g@addto@macro without @ in the name:
  \let\gplgaddtomacro\g@addto@macro
  % define empty templates for all commands taking text:
  \gdef\gplbacktext{}%
  \gdef\gplfronttext{}%
  \makeatother
  \ifGPblacktext
    % no textcolor at all
    \def\colorrgb#1{}%
    \def\colorgray#1{}%
  \else
    % gray or color?
    \ifGPcolor
      \def\colorrgb#1{\color[rgb]{#1}}%
      \def\colorgray#1{\color[gray]{#1}}%
      \expandafter\def\csname LTw\endcsname{\color{white}}%
      \expandafter\def\csname LTb\endcsname{\color{black}}%
      \expandafter\def\csname LTa\endcsname{\color{black}}%
      \expandafter\def\csname LT0\endcsname{\color[rgb]{1,0,0}}%
      \expandafter\def\csname LT1\endcsname{\color[rgb]{0,1,0}}%
      \expandafter\def\csname LT2\endcsname{\color[rgb]{0,0,1}}%
      \expandafter\def\csname LT3\endcsname{\color[rgb]{1,0,1}}%
      \expandafter\def\csname LT4\endcsname{\color[rgb]{0,1,1}}%
      \expandafter\def\csname LT5\endcsname{\color[rgb]{1,1,0}}%
      \expandafter\def\csname LT6\endcsname{\color[rgb]{0,0,0}}%
      \expandafter\def\csname LT7\endcsname{\color[rgb]{1,0.3,0}}%
      \expandafter\def\csname LT8\endcsname{\color[rgb]{0.5,0.5,0.5}}%
    \else
      % gray
      \def\colorrgb#1{\color{black}}%
      \def\colorgray#1{\color[gray]{#1}}%
      \expandafter\def\csname LTw\endcsname{\color{white}}%
      \expandafter\def\csname LTb\endcsname{\color{black}}%
      \expandafter\def\csname LTa\endcsname{\color{black}}%
      \expandafter\def\csname LT0\endcsname{\color{black}}%
      \expandafter\def\csname LT1\endcsname{\color{black}}%
      \expandafter\def\csname LT2\endcsname{\color{black}}%
      \expandafter\def\csname LT3\endcsname{\color{black}}%
      \expandafter\def\csname LT4\endcsname{\color{black}}%
      \expandafter\def\csname LT5\endcsname{\color{black}}%
      \expandafter\def\csname LT6\endcsname{\color{black}}%
      \expandafter\def\csname LT7\endcsname{\color{black}}%
      \expandafter\def\csname LT8\endcsname{\color{black}}%
    \fi
  \fi
    \setlength{\unitlength}{0.0500bp}%
    \ifx\gptboxheight\undefined%
      \newlength{\gptboxheight}%
      \newlength{\gptboxwidth}%
      \newsavebox{\gptboxtext}%
    \fi%
    \setlength{\fboxrule}{0.5pt}%
    \setlength{\fboxsep}{1pt}%
\begin{picture}(4874.00,3400.00)%
    \gplgaddtomacro\gplbacktext{%
      \csname LTb\endcsname%%
      \put(1032,1007){\makebox(0,0)[r]{\strut{}10^{5}}}%
      \put(1032,1405){\makebox(0,0)[r]{\strut{}10^{10}}}%
      \put(1032,1803){\makebox(0,0)[r]{\strut{}10^{15}}}%
      \put(1032,2201){\makebox(0,0)[r]{\strut{}10^{20}}}%
      \put(1032,2599){\makebox(0,0)[r]{\strut{}10^{25}}}%
      \put(1176,528){\makebox(0,0){\strut{}10^{-8}}}%
      \put(1786,528){\makebox(0,0){\strut{}10^{-6}}}%
      \put(2397,528){\makebox(0,0){\strut{}10^{-4}}}%
      \put(3007,528){\makebox(0,0){\strut{}10^{-2}}}%
      \put(3617,528){\makebox(0,0){\strut{}10^{0}}}%
      \put(4228,528){\makebox(0,0){\strut{}10^{2}}}%
      \put(4228,2919){\makebox(0,0){\strut{}10^{-14}}}%
      \put(3617,2919){\makebox(0,0){\strut{}10^{-12}}}%
      \put(3007,2919){\makebox(0,0){\strut{}10^{-10}}}%
      \put(2397,2919){\makebox(0,0){\strut{}10^{-8}}}%
      \put(1786,2919){\makebox(0,0){\strut{}10^{-6}}}%
      \put(1176,2919){\makebox(0,0){\strut{}10^{-4}}}%
      \put(1694,2018){\makebox(0,0)[l]{\strut{}This work}}%
      \put(1786,1761){\makebox(0,0)[l]{\strut{}Subthreshold^1^2}}%
      \put(1268,1166){\makebox(0,0)[l]{\strut{}Microspheres^1^3}}%
      \put(2183,1079){\makebox(0,0)[l]{\strut{}^1^4Sunlight}}%
      \put(2756,924){\makebox(0,0)[l]{\strut{}Hg^1^5}}%
      \put(3099,920){\makebox(0,0)[l]{\strut{}RGG^1^6}}%
      \put(3617,1889){\makebox(0,0)[l]{\strut{}EDFA^1^7}}%
      \put(4014,2104){\makebox(0,0)[l]{\strut{}SLD^1^8}}%
      \put(2489,1270){\makebox(0,0)[l]{\strut{}Cavity^1^9}}%
      \put(3298,1069){\makebox(0,0)[l]{\strut{}^2^0FWM}}%
      \put(3893,1228){\makebox(0,0)[l]{\strut{}PPLN^2^1}}%
      \put(3976,1093){\makebox(0,0)[l]{\strut{}BBO^2^2}}%
      \put(3763,859){\makebox(0,0)[l]{\strut{}PPKTP^2^3}}%
      \put(2305,2098){\rotatebox{15}{\makebox(0,0)[l]{\strut{}4{/Symbol �}10^2^1 photoevents/sec/nm}}}%
      \put(2915,1142){\rotatebox{15}{\makebox(0,0)[l]{\strut{}4{/Symbol �}10^7 photoevents/sec/nm}}}%
      \put(1694,2436){\makebox(0,0)[l]{\strut{}Thermal}}%
      \put(1694,2337){\makebox(0,0)[l]{\strut{}SPDC}}%
    }%
    \gplgaddtomacro\gplfronttext{%
      \csname LTb\endcsname%%
      \put(113,1723){\rotatebox{-270}{\makebox(0,0){\strut{}Photoevents per second per mode}}}%
      \put(2808,168){\makebox(0,0){\strut{}Spectral width {/Symbol Dl} (nm)}}%
      \put(2808,3279){\makebox(0,0){\strut{}Coherence time (s)}}%
    }%
    \gplbacktext
    \put(0,0){\includegraphics{source_comparison}}%
    \gplfronttext
  \end{picture}%
\endgroup
