% 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}%
  \begin{picture}(8786.00,5102.00)%
    \gplgaddtomacro\gplbacktext{%
      \colorrgb{0.00,0.00,0.00}%
      \put(1388,737){\makebox(0,0)[r]{\strut{} 0}}%
      \colorrgb{0.00,0.00,0.00}%
      \put(1388,1178){\makebox(0,0)[r]{\strut{} 5}}%
      \colorrgb{0.00,0.00,0.00}%
      \put(1388,1619){\makebox(0,0)[r]{\strut{}10}}%
      \colorrgb{0.00,0.00,0.00}%
      \put(1388,2059){\makebox(0,0)[r]{\strut{}15}}%
      \colorrgb{0.00,0.00,0.00}%
      \put(1388,2500){\makebox(0,0)[r]{\strut{}20}}%
      \colorrgb{0.00,0.00,0.00}%
      \put(1388,2941){\makebox(0,0)[r]{\strut{}25}}%
      \colorrgb{0.00,0.00,0.00}%
      \put(1388,3382){\makebox(0,0)[r]{\strut{}30}}%
      \colorrgb{0.00,0.00,0.00}%
      \put(1388,3822){\makebox(0,0)[r]{\strut{}35}}%
      \colorrgb{0.00,0.00,0.00}%
      \put(1388,4263){\makebox(0,0)[r]{\strut{}40}}%
      \colorrgb{0.00,0.00,0.00}%
      \put(1388,4704){\makebox(0,0)[r]{\strut{}45}}%
      \colorrgb{0.00,0.00,0.00}%
      \put(1559,494){\makebox(0,0){\strut{}0.0}}%
      \colorrgb{0.00,0.00,0.00}%
      \put(2189,494){\makebox(0,0){\strut{}2.0}}%
      \colorrgb{0.00,0.00,0.00}%
      \put(2819,494){\makebox(0,0){\strut{}4.0}}%
      \colorrgb{0.00,0.00,0.00}%
      \put(3448,494){\makebox(0,0){\strut{}6.0}}%
      \colorrgb{0.00,0.00,0.00}%
      \put(4078,494){\makebox(0,0){\strut{}8.0}}%
      \colorrgb{0.00,0.00,0.00}%
      \put(4708,494){\makebox(0,0){\strut{}10.0}}%
      \colorrgb{0.00,0.00,0.00}%
      \put(5338,494){\makebox(0,0){\strut{}12.0}}%
      \colorrgb{0.00,0.00,0.00}%
      \put(5967,494){\makebox(0,0){\strut{}14.0}}%
      \colorrgb{0.00,0.00,0.00}%
      \put(6597,494){\makebox(0,0){\strut{}16.0}}%
      \colorrgb{0.00,0.00,0.00}%
      \put(7227,494){\makebox(0,0){\strut{}18.0}}%
      \csname LTb\endcsname%
      \put(974,2720){\rotatebox{90}{\makebox(0,0){\strut{}\yOlabA}}}%
      \put(4393,224){\makebox(0,0){\strut{}\xOlabA}}%
    }%
    \gplgaddtomacro\gplfronttext{%
      \csname LTb\endcsname%
      \put(2378,4529){\makebox(0,0)[l]{\strut{}\legdAa}}%
      \csname LTb\endcsname%
      \put(2378,4304){\makebox(0,0)[l]{\strut{}\legdAb}}%
      \csname LTb\endcsname%
      \put(2378,4079){\makebox(0,0)[l]{\strut{}\legdAc}}%
      \csname LTb\endcsname%
      \put(7335,737){\makebox(0,0)[l]{\xTlabA}}%
      \put(1559,4740){\makebox(0,0)[bl]{\yTlabA}}%
    }%
    \gplbacktext
    \put(0,0){\includegraphics{mesh1_u-reac(diffsoft)}}%
    \gplfronttext
  \end{picture}%
\endgroup
