% 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
    \GPcolorfalse
  }{}%
  \@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}(9840.00,4054.00)%
    \gplgaddtomacro\gplbacktext{%
      \csname LTb\endcsname%%
      \put(550,2599){\makebox(0,0)[r]{\strut{}$1$}}%
      \put(941,2247){\makebox(0,0){\strut{}$10^{-4}$}}%
      \put(1339,2247){\makebox(0,0){\strut{}$10^{-2}$}}%
      \put(1737,2247){\makebox(0,0){\strut{}$10^{0}$}}%
      \put(2135,2247){\makebox(0,0){\strut{}$10^{2}$}}%
      \put(2533,2247){\makebox(0,0){\strut{}$10^{4}$}}%
      \put(2931,2247){\makebox(0,0){\strut{}$10^{6}$}}%
      \put(928,3492){\makebox(0,0)[l]{\strut{}2D Ising}}%
    }%
    \gplgaddtomacro\gplfronttext{%
      \csname LTb\endcsname%%
      \put(198,3150){\rotatebox{-270}{\makebox(0,0){\strut{}$\avg{s_{\text{\sc 1c}}}L^{-\gamma/\nu}$}}}%
    }%
    \gplgaddtomacro\gplbacktext{%
      \csname LTb\endcsname%%
      \put(3610,2904){\makebox(0,0)[r]{\strut{}$1$}}%
      \put(3999,2247){\makebox(0,0){\strut{}$10^{-4}$}}%
      \put(4394,2247){\makebox(0,0){\strut{}$10^{-2}$}}%
      \put(4789,2247){\makebox(0,0){\strut{}$10^{0}$}}%
      \put(5184,2247){\makebox(0,0){\strut{}$10^{2}$}}%
      \put(5579,2247){\makebox(0,0){\strut{}$10^{4}$}}%
      \put(5974,2247){\makebox(0,0){\strut{}$10^{6}$}}%
      \put(3984,3492){\makebox(0,0)[l]{\strut{}2D 3-State Potts}}%
    }%
    \gplgaddtomacro\gplfronttext{%
    }%
    \gplgaddtomacro\gplbacktext{%
      \csname LTb\endcsname%%
      \put(7154,2587){\makebox(0,0)[r]{\strut{}$1$}}%
      \put(7154,3129){\makebox(0,0)[r]{\strut{}$10$}}%
      \put(7154,3670){\makebox(0,0)[r]{\strut{}$100$}}%
      \put(7543,2247){\makebox(0,0){\strut{}$10^{-4}$}}%
      \put(7938,2247){\makebox(0,0){\strut{}$10^{-2}$}}%
      \put(8332,2247){\makebox(0,0){\strut{}$10^{0}$}}%
      \put(8727,2247){\makebox(0,0){\strut{}$10^{2}$}}%
      \put(9122,2247){\makebox(0,0){\strut{}$10^{4}$}}%
      \put(9517,2247){\makebox(0,0){\strut{}$10^{6}$}}%
      \put(7528,3492){\makebox(0,0)[l]{\strut{}3D O(2)}}%
    }%
    \gplgaddtomacro\gplfronttext{%
    }%
    \gplgaddtomacro\gplbacktext{%
      \csname LTb\endcsname%%
      \put(594,727){\makebox(0,0)[r]{\strut{}$1$}}%
      \put(594,1219){\makebox(0,0)[r]{\strut{}$10$}}%
      \put(594,1712){\makebox(0,0)[r]{\strut{}$100$}}%
      \put(983,484){\makebox(0,0){\strut{}$10^{-4}$}}%
      \put(1378,484){\makebox(0,0){\strut{}$10^{-2}$}}%
      \put(1773,484){\makebox(0,0){\strut{}$10^{0}$}}%
      \put(2168,484){\makebox(0,0){\strut{}$10^{2}$}}%
      \put(2563,484){\makebox(0,0){\strut{}$10^{4}$}}%
      \put(2958,484){\makebox(0,0){\strut{}$10^{6}$}}%
      \put(968,1683){\makebox(0,0)[l]{\strut{}3D Ising}}%
    }%
    \gplgaddtomacro\gplfronttext{%
      \csname LTb\endcsname%%
      \put(-22,1356){\rotatebox{-270}{\makebox(0,0){\strut{}$\avg{s_{\text{\sc 1c}}}L^{-\gamma/\nu}$}}}%
      \put(1936,154){\makebox(0,0){\strut{}$hL^{\beta\delta/\nu}$}}%
    }%
    \gplgaddtomacro\gplbacktext{%
      \csname LTb\endcsname%%
      \put(3610,1055){\makebox(0,0)[r]{\strut{}$1$}}%
      \put(3999,484){\makebox(0,0){\strut{}$10^{-4}$}}%
      \put(4393,484){\makebox(0,0){\strut{}$10^{-2}$}}%
      \put(4788,484){\makebox(0,0){\strut{}$10^{0}$}}%
      \put(5183,484){\makebox(0,0){\strut{}$10^{2}$}}%
      \put(5577,484){\makebox(0,0){\strut{}$10^{4}$}}%
      \put(5972,484){\makebox(0,0){\strut{}$10^{6}$}}%
      \put(3984,1683){\makebox(0,0)[l]{\strut{}2D 4-State Potts}}%
    }%
    \gplgaddtomacro\gplfronttext{%
      \csname LTb\endcsname%%
      \put(4951,154){\makebox(0,0){\strut{}$hL^{\beta\delta/\nu}$}}%
    }%
    \gplgaddtomacro\gplbacktext{%
      \csname LTb\endcsname%%
      \put(7154,819){\makebox(0,0)[r]{\strut{}$1$}}%
      \put(7154,1336){\makebox(0,0)[r]{\strut{}$10$}}%
      \put(7154,1853){\makebox(0,0)[r]{\strut{}$100$}}%
      \put(7543,484){\makebox(0,0){\strut{}$10^{-4}$}}%
      \put(7938,484){\makebox(0,0){\strut{}$10^{-2}$}}%
      \put(8332,484){\makebox(0,0){\strut{}$10^{0}$}}%
      \put(8727,484){\makebox(0,0){\strut{}$10^{2}$}}%
      \put(9122,484){\makebox(0,0){\strut{}$10^{4}$}}%
      \put(9517,484){\makebox(0,0){\strut{}$10^{6}$}}%
      \put(7528,1683){\makebox(0,0)[l]{\strut{}3D O(3)}}%
    }%
    \gplgaddtomacro\gplfronttext{%
      \csname LTb\endcsname%%
      \put(8495,154){\makebox(0,0){\strut{}$hL^{\beta\delta/\nu}$}}%
    }%
    \gplbacktext
    \put(0,0){\includegraphics{fig_clusters_ising2d}}%
    \gplfronttext
  \end{picture}%
\endgroup
