sawine@1: % GNUPLOT: LaTeX picture with Postscript sawine@1: \begingroup sawine@1: \makeatletter sawine@1: \providecommand\color[2][]{% sawine@1: \GenericError{(gnuplot) \space\space\space\@spaces}{% sawine@1: Package color not loaded in conjunction with sawine@1: terminal option `colourtext'% sawine@1: }{See the gnuplot documentation for explanation.% sawine@1: }{Either use 'blacktext' in gnuplot or load the package sawine@1: color.sty in LaTeX.}% sawine@1: \renewcommand\color[2][]{}% sawine@1: }% sawine@1: \providecommand\includegraphics[2][]{% sawine@1: \GenericError{(gnuplot) \space\space\space\@spaces}{% sawine@1: Package graphicx or graphics not loaded% sawine@1: }{See the gnuplot documentation for explanation.% sawine@1: }{The gnuplot epslatex terminal needs graphicx.sty or graphics.sty.}% sawine@1: \renewcommand\includegraphics[2][]{}% sawine@1: }% sawine@1: \providecommand\rotatebox[2]{#2}% sawine@1: \@ifundefined{ifGPcolor}{% sawine@1: \newif\ifGPcolor sawine@1: \GPcolorfalse sawine@1: }{}% sawine@1: \@ifundefined{ifGPblacktext}{% sawine@1: \newif\ifGPblacktext sawine@1: \GPblacktexttrue sawine@1: }{}% sawine@1: % define a \g@addto@macro without @ in the name: sawine@1: \let\gplgaddtomacro\g@addto@macro sawine@1: % define empty templates for all commands taking text: sawine@1: \gdef\gplbacktext{}% sawine@1: \gdef\gplfronttext{}% sawine@1: \makeatother sawine@1: \ifGPblacktext sawine@1: % no textcolor at all sawine@1: \def\colorrgb#1{}% sawine@1: \def\colorgray#1{}% sawine@1: \else sawine@1: % gray or color? sawine@1: \ifGPcolor sawine@1: \def\colorrgb#1{\color[rgb]{#1}}% sawine@1: \def\colorgray#1{\color[gray]{#1}}% sawine@1: \expandafter\def\csname LTw\endcsname{\color{white}}% sawine@1: \expandafter\def\csname LTb\endcsname{\color{black}}% sawine@1: \expandafter\def\csname LTa\endcsname{\color{black}}% sawine@1: \expandafter\def\csname LT0\endcsname{\color[rgb]{1,0,0}}% sawine@1: \expandafter\def\csname LT1\endcsname{\color[rgb]{0,1,0}}% sawine@1: \expandafter\def\csname LT2\endcsname{\color[rgb]{0,0,1}}% sawine@1: \expandafter\def\csname LT3\endcsname{\color[rgb]{1,0,1}}% sawine@1: \expandafter\def\csname LT4\endcsname{\color[rgb]{0,1,1}}% sawine@1: \expandafter\def\csname LT5\endcsname{\color[rgb]{1,1,0}}% sawine@1: \expandafter\def\csname LT6\endcsname{\color[rgb]{0,0,0}}% sawine@1: \expandafter\def\csname LT7\endcsname{\color[rgb]{1,0.3,0}}% sawine@1: \expandafter\def\csname LT8\endcsname{\color[rgb]{0.5,0.5,0.5}}% sawine@1: \else sawine@1: % gray sawine@1: \def\colorrgb#1{\color{black}}% sawine@1: \def\colorgray#1{\color[gray]{#1}}% sawine@1: \expandafter\def\csname LTw\endcsname{\color{white}}% sawine@1: \expandafter\def\csname LTb\endcsname{\color{black}}% sawine@1: \expandafter\def\csname LTa\endcsname{\color{black}}% sawine@1: \expandafter\def\csname LT0\endcsname{\color{black}}% sawine@1: \expandafter\def\csname LT1\endcsname{\color{black}}% sawine@1: \expandafter\def\csname LT2\endcsname{\color{black}}% sawine@1: \expandafter\def\csname LT3\endcsname{\color{black}}% sawine@1: \expandafter\def\csname LT4\endcsname{\color{black}}% sawine@1: \expandafter\def\csname LT5\endcsname{\color{black}}% sawine@1: \expandafter\def\csname LT6\endcsname{\color{black}}% sawine@1: \expandafter\def\csname LT7\endcsname{\color{black}}% sawine@1: \expandafter\def\csname LT8\endcsname{\color{black}}% sawine@1: \fi sawine@1: \fi sawine@1: \setlength{\unitlength}{0.0500bp}% sawine@1: \begin{picture}(7200.00,5040.00)% sawine@1: \gplgaddtomacro\gplbacktext{% sawine@1: \csname LTb\endcsname% sawine@1: \put(1342,704){\makebox(0,0)[r]{\strut{}$-10$}}% sawine@1: \put(1342,1072){\makebox(0,0)[r]{\strut{}$0$}}% sawine@1: \put(1342,1439){\makebox(0,0)[r]{\strut{}$10$}}% sawine@1: \put(1342,1807){\makebox(0,0)[r]{\strut{}$20$}}% sawine@1: \put(1342,2174){\makebox(0,0)[r]{\strut{}$30$}}% sawine@1: \put(1342,2542){\makebox(0,0)[r]{\strut{}$40$}}% sawine@1: \put(1342,2910){\makebox(0,0)[r]{\strut{}$50$}}% sawine@1: \put(1342,3277){\makebox(0,0)[r]{\strut{}$60$}}% sawine@1: \put(1342,3645){\makebox(0,0)[r]{\strut{}$70$}}% sawine@1: \put(1342,4012){\makebox(0,0)[r]{\strut{}$80$}}% sawine@1: \put(1342,4380){\makebox(0,0)[r]{\strut{}$90$}}% sawine@1: \put(1474,484){\makebox(0,0){\strut{}$0$}}% sawine@1: \put(2149,484){\makebox(0,0){\strut{}$2$}}% sawine@1: \put(2823,484){\makebox(0,0){\strut{}$4$}}% sawine@1: \put(3498,484){\makebox(0,0){\strut{}$6$}}% sawine@1: \put(4172,484){\makebox(0,0){\strut{}$8$}}% sawine@1: \put(4847,484){\makebox(0,0){\strut{}$10$}}% sawine@1: \put(5521,484){\makebox(0,0){\strut{}$12$}}% sawine@1: \put(6196,484){\makebox(0,0){\strut{}$14$}}% sawine@1: \put(6870,484){\makebox(0,0){\strut{}$16$}}% sawine@1: \put(440,2542){\rotatebox{90}{\makebox(0,0){\strut{}Voltage $V_p$ [V]}}}% sawine@1: \put(4172,154){\makebox(0,0){\strut{}Resistance $R_0$ [$Omega$]}}% sawine@1: \put(4172,4710){\makebox(0,0){\strut{}Graph 3: Dependence of $V_p$ on $R_0$}}% sawine@1: }% sawine@1: \gplgaddtomacro\gplfronttext{% sawine@1: \csname LTb\endcsname% sawine@1: \put(5883,4207){\makebox(0,0)[r]{\strut{}"cut_laldo.csv" using 1:2}}% sawine@1: }% sawine@1: \gplbacktext sawine@1: \put(0,0){\includegraphics{graph1}}% sawine@1: \gplfronttext sawine@1: \end{picture}% sawine@1: \endgroup