You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

391 regels
9.9 KiB

  1. % 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. \begin{picture}(2590.00,2880.00)%
  76. \gplgaddtomacro\gplbacktext{%
  77. }%
  78. \gplgaddtomacro\gplfronttext{%
  79. \color{black}%
  80. \color{black}%
  81. \color{black}%
  82. \color{black}%
  83. \color{black}%
  84. \color{black}%
  85. \color{black}%
  86. \color{black}%
  87. \color{black}%
  88. \color{black}%
  89. \color{black}%
  90. \color{black}%
  91. \color{black}%
  92. \color{black}%
  93. \color{black}%
  94. \color{black}%
  95. \color{black}%
  96. \color{black}%
  97. \color{black}%
  98. \color{black}%
  99. \color{black}%
  100. \color{black}%
  101. \color{black}%
  102. \color{black}%
  103. \color{black}%
  104. \color{black}%
  105. \color{black}%
  106. \color{black}%
  107. \color{black}%
  108. \color{black}%
  109. \color{black}%
  110. \color{black}%
  111. \color{black}%
  112. \color{black}%
  113. \color{black}%
  114. \color{black}%
  115. \color{black}%
  116. \color{black}%
  117. \color{black}%
  118. \color{black}%
  119. \color{black}%
  120. \color{black}%
  121. \color{black}%
  122. \color{black}%
  123. \color{black}%
  124. \color{black}%
  125. \color{black}%
  126. \color{black}%
  127. \color{black}%
  128. \color{black}%
  129. \color{black}%
  130. \color{black}%
  131. \color{black}%
  132. \color{black}%
  133. \color{black}%
  134. \color{black}%
  135. \color{black}%
  136. \color{black}%
  137. \color{black}%
  138. \color{black}%
  139. \color{black}%
  140. \color{black}%
  141. \color{black}%
  142. \color{black}%
  143. \color{black}%
  144. \color{black}%
  145. \color{black}%
  146. \color{black}%
  147. \color{black}%
  148. \color{black}%
  149. \color{black}%
  150. \color{black}%
  151. \color{black}%
  152. \color{black}%
  153. \color{black}%
  154. \color{black}%
  155. \color{black}%
  156. \color{black}%
  157. \color{black}%
  158. \color{black}%
  159. \color{black}%
  160. \color{black}%
  161. \color{black}%
  162. \color{black}%
  163. \color{black}%
  164. \color{black}%
  165. \color{black}%
  166. \color{black}%
  167. \color{black}%
  168. \color{black}%
  169. \color{black}%
  170. \color{black}%
  171. \color{black}%
  172. \color{black}%
  173. \color{black}%
  174. \color{black}%
  175. \color{black}%
  176. \color{black}%
  177. \color{black}%
  178. \color{black}%
  179. \color{black}%
  180. \color{black}%
  181. \color{black}%
  182. \color{black}%
  183. \color{black}%
  184. \color{black}%
  185. \color{black}%
  186. \color{black}%
  187. \color{black}%
  188. \color{black}%
  189. \color{black}%
  190. \color{black}%
  191. \color{black}%
  192. \color{black}%
  193. \color{black}%
  194. \color{black}%
  195. \color{black}%
  196. \color{black}%
  197. \color{black}%
  198. \color{black}%
  199. \color{black}%
  200. \color{black}%
  201. \color{black}%
  202. \color{black}%
  203. \color{black}%
  204. \color{black}%
  205. \color{black}%
  206. \color{black}%
  207. \color{black}%
  208. \color{black}%
  209. \color{black}%
  210. \color{black}%
  211. \color{black}%
  212. \color{black}%
  213. \color{black}%
  214. \color{black}%
  215. \color{black}%
  216. \color{black}%
  217. \color{black}%
  218. \color{black}%
  219. \color{black}%
  220. \color{black}%
  221. \color{black}%
  222. \color{black}%
  223. \color{black}%
  224. \color{black}%
  225. \color{black}%
  226. \color{black}%
  227. \color{black}%
  228. \color{black}%
  229. \color{black}%
  230. \color{black}%
  231. \color{black}%
  232. \color{black}%
  233. \color{black}%
  234. \color{black}%
  235. \color{black}%
  236. \color{black}%
  237. \color{black}%
  238. \color{black}%
  239. \color{black}%
  240. \color{black}%
  241. \color{black}%
  242. \color{black}%
  243. \color{black}%
  244. \color{black}%
  245. \color{black}%
  246. \color{black}%
  247. \color{black}%
  248. \color{black}%
  249. \color{black}%
  250. \color{black}%
  251. \color{black}%
  252. \color{black}%
  253. \color{black}%
  254. \color{black}%
  255. \color{black}%
  256. \color{black}%
  257. \color{black}%
  258. \color{black}%
  259. \color{black}%
  260. \color{black}%
  261. \color{black}%
  262. \color{black}%
  263. \color{black}%
  264. \color{black}%
  265. \color{black}%
  266. \color{black}%
  267. \color{black}%
  268. \color{black}%
  269. \color{black}%
  270. \color{black}%
  271. \color{black}%
  272. \color{black}%
  273. \color{black}%
  274. \color{black}%
  275. \color{black}%
  276. \color{black}%
  277. \color{black}%
  278. \color{black}%
  279. \color{black}%
  280. \color{black}%
  281. \color{black}%
  282. \color{black}%
  283. \color{black}%
  284. \color{black}%
  285. \color{black}%
  286. \color{black}%
  287. \color{black}%
  288. \color{black}%
  289. \color{black}%
  290. \color{black}%
  291. \color{black}%
  292. \color{black}%
  293. \color{black}%
  294. \color{black}%
  295. \color{black}%
  296. \color{black}%
  297. \color{black}%
  298. \color{black}%
  299. \color{black}%
  300. \color{black}%
  301. \color{black}%
  302. \color{black}%
  303. \color{black}%
  304. \color{black}%
  305. \color{black}%
  306. \color{black}%
  307. \color{black}%
  308. \color{black}%
  309. \color{black}%
  310. \color{black}%
  311. \color{black}%
  312. \color{black}%
  313. \color{black}%
  314. \color{black}%
  315. \color{black}%
  316. \color{black}%
  317. \color{black}%
  318. \color{black}%
  319. \color{black}%
  320. \color{black}%
  321. \color{black}%
  322. \color{black}%
  323. \color{black}%
  324. \color{black}%
  325. \color{black}%
  326. \color{black}%
  327. \color{black}%
  328. \color{black}%
  329. \color{black}%
  330. \color{black}%
  331. \color{black}%
  332. \color{black}%
  333. \color{black}%
  334. \color{black}%
  335. \color{black}%
  336. \color{black}%
  337. \color{black}%
  338. \color{black}%
  339. \color{black}%
  340. \color{black}%
  341. \color{black}%
  342. \color{black}%
  343. \color{black}%
  344. \color{black}%
  345. \color{black}%
  346. \color{black}%
  347. \color{black}%
  348. \color{black}%
  349. \color{black}%
  350. \color{black}%
  351. \color{black}%
  352. \color{black}%
  353. \color{black}%
  354. \color{black}%
  355. \color{black}%
  356. \color{black}%
  357. \color{black}%
  358. \color{black}%
  359. \color{black}%
  360. \color{black}%
  361. \color{black}%
  362. \color{black}%
  363. \csname LTb\endcsname%
  364. \put(363,435){\makebox(0,0){\strut{} 0}}%
  365. \csname LTb\endcsname%
  366. \put(829,435){\makebox(0,0){\strut{} 0.2}}%
  367. \csname LTb\endcsname%
  368. \put(1295,435){\makebox(0,0){\strut{} 0.4}}%
  369. \csname LTb\endcsname%
  370. \put(1761,435){\makebox(0,0){\strut{} 0.6}}%
  371. \csname LTb\endcsname%
  372. \put(2227,435){\makebox(0,0){\strut{} 0.8}}%
  373. \put(1295,105){\makebox(0,0){\strut{}$dx$}}%
  374. \csname LTb\endcsname%
  375. \put(-42,2533){\makebox(0,0)[r]{\strut{} 0}}%
  376. \csname LTb\endcsname%
  377. \put(-42,2130){\makebox(0,0)[r]{\strut{} 0.2}}%
  378. \csname LTb\endcsname%
  379. \put(-42,1728){\makebox(0,0)[r]{\strut{} 0.4}}%
  380. \csname LTb\endcsname%
  381. \put(-42,1326){\makebox(0,0)[r]{\strut{} 0.6}}%
  382. \csname LTb\endcsname%
  383. \put(-42,923){\makebox(0,0)[r]{\strut{} 0.8}}%
  384. \put(-636,1728){\rotatebox{90}{\makebox(0,0){\strut{}$dy$}}}%
  385. }%
  386. \gplbacktext
  387. \put(0,0){\includegraphics{jajuni-histo}}%
  388. \gplfronttext
  389. \end{picture}%
  390. \endgroup