blob: 523a7ea09ceb7b678ed451c8e50a6ab07531866b [file] [log] [blame]
Adrià Vilanova Martínez24d87012022-06-16 00:29:59 +02001% GNUPLOT: LaTeX picture with Postscript
2\begingroup
3 \makeatletter
4 \providecommand\color[2][]{%
5 \GenericError{(gnuplot) \space\space\space\@spaces}{%
6 Package color not loaded in conjunction with
7 terminal option `colourtext'%
8 }{See the gnuplot documentation for explanation.%
9 }{Either use 'blacktext' in gnuplot or load the package
10 color.sty in LaTeX.}%
11 \renewcommand\color[2][]{}%
12 }%
13 \providecommand\includegraphics[2][]{%
14 \GenericError{(gnuplot) \space\space\space\@spaces}{%
15 Package graphicx or graphics not loaded%
16 }{See the gnuplot documentation for explanation.%
17 }{The gnuplot epslatex terminal needs graphicx.sty or graphics.sty.}%
18 \renewcommand\includegraphics[2][]{}%
19 }%
20 \providecommand\rotatebox[2]{#2}%
21 \@ifundefined{ifGPcolor}{%
22 \newif\ifGPcolor
23 \GPcolortrue
24 }{}%
25 \@ifundefined{ifGPblacktext}{%
26 \newif\ifGPblacktext
27 \GPblacktexttrue
28 }{}%
29 % define a \g@addto@macro without @ in the name:
30 \let\gplgaddtomacro\g@addto@macro
31 % define empty templates for all commands taking text:
32 \gdef\gplbacktext{}%
33 \gdef\gplfronttext{}%
34 \makeatother
35 \ifGPblacktext
36 % no textcolor at all
37 \def\colorrgb#1{}%
38 \def\colorgray#1{}%
39 \else
40 % gray or color?
41 \ifGPcolor
42 \def\colorrgb#1{\color[rgb]{#1}}%
43 \def\colorgray#1{\color[gray]{#1}}%
44 \expandafter\def\csname LTw\endcsname{\color{white}}%
45 \expandafter\def\csname LTb\endcsname{\color{black}}%
46 \expandafter\def\csname LTa\endcsname{\color{black}}%
47 \expandafter\def\csname LT0\endcsname{\color[rgb]{1,0,0}}%
48 \expandafter\def\csname LT1\endcsname{\color[rgb]{0,1,0}}%
49 \expandafter\def\csname LT2\endcsname{\color[rgb]{0,0,1}}%
50 \expandafter\def\csname LT3\endcsname{\color[rgb]{1,0,1}}%
51 \expandafter\def\csname LT4\endcsname{\color[rgb]{0,1,1}}%
52 \expandafter\def\csname LT5\endcsname{\color[rgb]{1,1,0}}%
53 \expandafter\def\csname LT6\endcsname{\color[rgb]{0,0,0}}%
54 \expandafter\def\csname LT7\endcsname{\color[rgb]{1,0.3,0}}%
55 \expandafter\def\csname LT8\endcsname{\color[rgb]{0.5,0.5,0.5}}%
56 \else
57 % gray
58 \def\colorrgb#1{\color{black}}%
59 \def\colorgray#1{\color[gray]{#1}}%
60 \expandafter\def\csname LTw\endcsname{\color{white}}%
61 \expandafter\def\csname LTb\endcsname{\color{black}}%
62 \expandafter\def\csname LTa\endcsname{\color{black}}%
63 \expandafter\def\csname LT0\endcsname{\color{black}}%
64 \expandafter\def\csname LT1\endcsname{\color{black}}%
65 \expandafter\def\csname LT2\endcsname{\color{black}}%
66 \expandafter\def\csname LT3\endcsname{\color{black}}%
67 \expandafter\def\csname LT4\endcsname{\color{black}}%
68 \expandafter\def\csname LT5\endcsname{\color{black}}%
69 \expandafter\def\csname LT6\endcsname{\color{black}}%
70 \expandafter\def\csname LT7\endcsname{\color{black}}%
71 \expandafter\def\csname LT8\endcsname{\color{black}}%
72 \fi
73 \fi
74 \setlength{\unitlength}{0.0500bp}%
75 \ifx\gptboxheight\undefined%
76 \newlength{\gptboxheight}%
77 \newlength{\gptboxwidth}%
78 \newsavebox{\gptboxtext}%
79 \fi%
80 \setlength{\fboxrule}{0.5pt}%
81 \setlength{\fboxsep}{1pt}%
82 \definecolor{tbcol}{rgb}{1,1,1}%
83\begin{picture}(4800.00,6220.00)%
84 \gplgaddtomacro\gplbacktext{%
85 \csname LTb\endcsname%%
86 \put(714,3660){\makebox(0,0)[r]{\strut{}$-2$}}%
87 \csname LTb\endcsname%%
88 \put(714,4120){\makebox(0,0)[r]{\strut{}$-1.5$}}%
89 \csname LTb\endcsname%%
90 \put(714,4580){\makebox(0,0)[r]{\strut{}$-1$}}%
91 \csname LTb\endcsname%%
92 \put(714,5039){\makebox(0,0)[r]{\strut{}$-0.5$}}%
93 \csname LTb\endcsname%%
94 \put(714,5499){\makebox(0,0)[r]{\strut{}$0$}}%
95 \csname LTb\endcsname%%
96 \put(812,3485){\makebox(0,0){\strut{}$0$}}%
97 \csname LTb\endcsname%%
98 \put(1547,3485){\makebox(0,0){\strut{}$2000$}}%
99 \csname LTb\endcsname%%
100 \put(2281,3485){\makebox(0,0){\strut{}$4000$}}%
101 \csname LTb\endcsname%%
102 \put(3016,3485){\makebox(0,0){\strut{}$6000$}}%
103 \csname LTb\endcsname%%
104 \put(3750,3485){\makebox(0,0){\strut{}$8000$}}%
105 \csname LTb\endcsname%%
106 \put(4485,3485){\makebox(0,0){\strut{}$10000$}}%
107 }%
108 \gplgaddtomacro\gplfronttext{%
109 \csname LTb\endcsname%%
110 \put(161,4579){\rotatebox{-270}{\makebox(0,0){\strut{}$\langle e \rangle$}}}%
111 \csname LTb\endcsname%%
112 \put(2648,3223){\makebox(0,0){\strut{}Iteracions MC}}%
113 \csname LTb\endcsname%%
114 \put(2091,6042){\makebox(0,0)[r]{\strut{}$S = 17427$}}%
115 \csname LTb\endcsname%%
116 \put(2091,5867){\makebox(0,0)[r]{\strut{}$S = 9090712$}}%
117 \csname LTb\endcsname%%
118 \put(2091,5692){\makebox(0,0)[r]{\strut{}$S = 590100$}}%
119 \csname LTb\endcsname%%
120 \put(3827,6042){\makebox(0,0)[r]{\strut{}$S = 8248$}}%
121 \csname LTb\endcsname%%
122 \put(3827,5867){\makebox(0,0)[r]{\strut{}$S = 99963$}}%
123 }%
124 \gplgaddtomacro\gplbacktext{%
125 \csname LTb\endcsname%%
126 \put(714,560){\makebox(0,0)[r]{\strut{}$-1$}}%
127 \csname LTb\endcsname%%
128 \put(714,1020){\makebox(0,0)[r]{\strut{}$-0.5$}}%
129 \csname LTb\endcsname%%
130 \put(714,1480){\makebox(0,0)[r]{\strut{}$0$}}%
131 \csname LTb\endcsname%%
132 \put(714,1940){\makebox(0,0)[r]{\strut{}$0.5$}}%
133 \csname LTb\endcsname%%
134 \put(714,2400){\makebox(0,0)[r]{\strut{}$1$}}%
135 \csname LTb\endcsname%%
136 \put(812,385){\makebox(0,0){\strut{}$0$}}%
137 \csname LTb\endcsname%%
138 \put(1547,385){\makebox(0,0){\strut{}$2000$}}%
139 \csname LTb\endcsname%%
140 \put(2281,385){\makebox(0,0){\strut{}$4000$}}%
141 \csname LTb\endcsname%%
142 \put(3016,385){\makebox(0,0){\strut{}$6000$}}%
143 \csname LTb\endcsname%%
144 \put(3750,385){\makebox(0,0){\strut{}$8000$}}%
145 \csname LTb\endcsname%%
146 \put(4485,385){\makebox(0,0){\strut{}$10000$}}%
147 }%
148 \gplgaddtomacro\gplfronttext{%
149 \csname LTb\endcsname%%
150 \put(161,1480){\rotatebox{-270}{\makebox(0,0){\strut{}$\langle m \rangle$}}}%
151 \csname LTb\endcsname%%
152 \put(2648,123){\makebox(0,0){\strut{}Iteracions MC}}%
153 \csname LTb\endcsname%%
154 \put(2091,2942){\makebox(0,0)[r]{\strut{}$S = 17427$}}%
155 \csname LTb\endcsname%%
156 \put(2091,2767){\makebox(0,0)[r]{\strut{}$S = 9090712$}}%
157 \csname LTb\endcsname%%
158 \put(2091,2592){\makebox(0,0)[r]{\strut{}$S = 590100$}}%
159 \csname LTb\endcsname%%
160 \put(3827,2942){\makebox(0,0)[r]{\strut{}$S = 8248$}}%
161 \csname LTb\endcsname%%
162 \put(3827,2767){\makebox(0,0)[r]{\strut{}$S = 99963$}}%
163 }%
164 \gplbacktext
165 \put(0,0){\includegraphics[width={240.00bp},height={311.00bp}]{depEnSeed}}%
166 \gplfronttext
167 \end{picture}%
168\endgroup