Advertisement
Guest User

tikz

a guest
Feb 19th, 2014
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.80 KB | None | 0 0
  1. % This file was created by matlab2tikz v0.4.6 running on MATLAB 7.14.
  2. % Copyright (c) 2008--2014, Nico Schlömer <nico.schloemer@gmail.com>
  3. % All rights reserved.
  4. % Minimal pgfplots version: 1.3
  5. %
  6. % The latest updates can be retrieved from
  7. % http://www.mathworks.com/matlabcentral/fileexchange/22022-matlab2tikz
  8. % where you can also make suggestions and rate matlab2tikz.
  9. %
  10. %
  11. % defining custom colors
  12. \definecolor{mycolor1}{rgb}{0.80000,0.80000,0.90000}%
  13. %
  14. \begin{tikzpicture}
  15.  
  16. \begin{axis}[%
  17. width=\figurewidth,
  18. height=\figureheight,
  19. unbounded coords=jump,
  20. clip=false,
  21. scale only axis,
  22. xmin=0.25,
  23. xmax=10.75,
  24. xtick={\empty},
  25. xlabel={number of actions per player},
  26. ymode=log,
  27. ymin=0.01,
  28. ymax=10000,
  29. yminorticks=true,
  30. ylabel={time [s]},
  31. title={LMFP MILP}
  32. ]
  33. \addplot [color=black,dashed,forget plot]
  34. table[row sep=crcr]{
  35. 1 0.05 \\
  36. 1 0.06 \\
  37. };
  38. \addplot [color=black,dashed,forget plot]
  39. table[row sep=crcr]{
  40. 2 0.31 \\
  41. 2 0.38 \\
  42. };
  43. \addplot [color=black,dashed,forget plot]
  44. table[row sep=crcr]{
  45. 3 1.52 \\
  46. 3 1.83 \\
  47. };
  48. \addplot [color=black,dashed,forget plot]
  49. table[row sep=crcr]{
  50. 4 6.16 \\
  51. 4 7.54 \\
  52. };
  53. \addplot [color=black,dashed,forget plot]
  54. table[row sep=crcr]{
  55. 5 32.01 \\
  56. 5 48.54 \\
  57. };
  58. \addplot [color=black,dashed,forget plot]
  59. table[row sep=crcr]{
  60. 6 66.33 \\
  61. 6 91.63 \\
  62. };
  63. \addplot [color=black,dashed,forget plot]
  64. table[row sep=crcr]{
  65. 7 145.58 \\
  66. 7 227.04 \\
  67. };
  68. \addplot [color=black,dashed,forget plot]
  69. table[row sep=crcr]{
  70. 8 310.8 \\
  71. 8 426.5 \\
  72. };
  73. \addplot [color=black,dashed,forget plot]
  74. table[row sep=crcr]{
  75. 9 1045.99 \\
  76. 9 2019.17 \\
  77. };
  78. \addplot [color=black,dashed,forget plot]
  79. table[row sep=crcr]{
  80. 10 1227.46 \\
  81. 10 2336.06 \\
  82. };
  83. \addplot [color=black,dashed,forget plot]
  84. table[row sep=crcr]{
  85. 1 0.03 \\
  86. 1 0.04 \\
  87. };
  88. \addplot [color=black,dashed,forget plot]
  89. table[row sep=crcr]{
  90. 2 0.09 \\
  91. 2 0.19 \\
  92. };
  93. \addplot [color=black,dashed,forget plot]
  94. table[row sep=crcr]{
  95. 3 0.51 \\
  96. 3 0.85 \\
  97. };
  98. \addplot [color=black,dashed,forget plot]
  99. table[row sep=crcr]{
  100. 4 1.56 \\
  101. 4 2.55 \\
  102. };
  103. \addplot [color=black,dashed,forget plot]
  104. table[row sep=crcr]{
  105. 5 2.58 \\
  106. 5 8.01 \\
  107. };
  108. \addplot [color=black,dashed,forget plot]
  109. table[row sep=crcr]{
  110. 6 11.55 \\
  111. 6 20.29 \\
  112. };
  113. \addplot [color=black,dashed,forget plot]
  114. table[row sep=crcr]{
  115. 7 13.29 \\
  116. 7 39.23 \\
  117. };
  118. \addplot [color=black,dashed,forget plot]
  119. table[row sep=crcr]{
  120. 8 41.86 \\
  121. 8 139.84 \\
  122. };
  123. \addplot [color=black,dashed,forget plot]
  124. table[row sep=crcr]{
  125. 9 86.48 \\
  126. 9 334.38 \\
  127. };
  128. \addplot [color=black,dashed,forget plot]
  129. table[row sep=crcr]{
  130. 10 158.38 \\
  131. 10 457.26 \\
  132. };
  133. \addplot [color=black,solid,forget plot]
  134. table[row sep=crcr]{
  135. 0.8125 0.06 \\
  136. 1.1875 0.06 \\
  137. };
  138. \addplot [color=black,solid,forget plot]
  139. table[row sep=crcr]{
  140. 1.8125 0.38 \\
  141. 2.1875 0.38 \\
  142. };
  143. \addplot [color=black,solid,forget plot]
  144. table[row sep=crcr]{
  145. 2.8125 1.83 \\
  146. 3.1875 1.83 \\
  147. };
  148. \addplot [color=black,solid,forget plot]
  149. table[row sep=crcr]{
  150. 3.8125 7.54 \\
  151. 4.1875 7.54 \\
  152. };
  153. \addplot [color=black,solid,forget plot]
  154. table[row sep=crcr]{
  155. 4.8125 48.54 \\
  156. 5.1875 48.54 \\
  157. };
  158. \addplot [color=black,solid,forget plot]
  159. table[row sep=crcr]{
  160. 5.8125 91.63 \\
  161. 6.1875 91.63 \\
  162. };
  163. \addplot [color=black,solid,forget plot]
  164. table[row sep=crcr]{
  165. 6.8125 227.04 \\
  166. 7.1875 227.04 \\
  167. };
  168. \addplot [color=black,solid,forget plot]
  169. table[row sep=crcr]{
  170. 7.8125 426.5 \\
  171. 8.1875 426.5 \\
  172. };
  173. \addplot [color=black,solid,forget plot]
  174. table[row sep=crcr]{
  175. 8.8125 2019.17 \\
  176. 9.1875 2019.17 \\
  177. };
  178. \addplot [color=black,solid,forget plot]
  179. table[row sep=crcr]{
  180. 9.8125 2336.06 \\
  181. 10.1875 2336.06 \\
  182. };
  183. \addplot [color=black,solid,forget plot]
  184. table[row sep=crcr]{
  185. 0.8125 0.03 \\
  186. 1.1875 0.03 \\
  187. };
  188. \addplot [color=black,solid,forget plot]
  189. table[row sep=crcr]{
  190. 1.8125 0.09 \\
  191. 2.1875 0.09 \\
  192. };
  193. \addplot [color=black,solid,forget plot]
  194. table[row sep=crcr]{
  195. 2.8125 0.51 \\
  196. 3.1875 0.51 \\
  197. };
  198. \addplot [color=black,solid,forget plot]
  199. table[row sep=crcr]{
  200. 3.8125 1.56 \\
  201. 4.1875 1.56 \\
  202. };
  203. \addplot [color=black,solid,forget plot]
  204. table[row sep=crcr]{
  205. 4.8125 2.58 \\
  206. 5.1875 2.58 \\
  207. };
  208. \addplot [color=black,solid,forget plot]
  209. table[row sep=crcr]{
  210. 5.8125 11.55 \\
  211. 6.1875 11.55 \\
  212. };
  213. \addplot [color=black,solid,forget plot]
  214. table[row sep=crcr]{
  215. 6.8125 13.29 \\
  216. 7.1875 13.29 \\
  217. };
  218. \addplot [color=black,solid,forget plot]
  219. table[row sep=crcr]{
  220. 7.8125 41.86 \\
  221. 8.1875 41.86 \\
  222. };
  223. \addplot [color=black,solid,forget plot]
  224. table[row sep=crcr]{
  225. 8.8125 86.48 \\
  226. 9.1875 86.48 \\
  227. };
  228. \addplot [color=black,solid,forget plot]
  229. table[row sep=crcr]{
  230. 9.8125 158.38 \\
  231. 10.1875 158.38 \\
  232. };
  233. \addplot [color=black,solid,forget plot]
  234. table[row sep=crcr]{
  235. 0.625 0.04 \\
  236. 0.625 0.05 \\
  237. 1.375 0.05 \\
  238. 1.375 0.04 \\
  239. 0.625 0.04 \\
  240. };
  241. \addplot [color=black,solid,forget plot]
  242. table[row sep=crcr]{
  243. 1.625 0.19 \\
  244. 1.625 0.31 \\
  245. 2.375 0.31 \\
  246. 2.375 0.19 \\
  247. 1.625 0.19 \\
  248. };
  249. \addplot [color=black,solid,forget plot]
  250. table[row sep=crcr]{
  251. 2.625 0.85 \\
  252. 2.625 1.52 \\
  253. 3.375 1.52 \\
  254. 3.375 0.85 \\
  255. 2.625 0.85 \\
  256. };
  257. \addplot [color=black,solid,forget plot]
  258. table[row sep=crcr]{
  259. 3.625 2.55 \\
  260. 3.625 6.16 \\
  261. 4.375 6.16 \\
  262. 4.375 2.55 \\
  263. 3.625 2.55 \\
  264. };
  265. \addplot [color=black,solid,forget plot]
  266. table[row sep=crcr]{
  267. 4.625 8.01 \\
  268. 4.625 32.01 \\
  269. 5.375 32.01 \\
  270. 5.375 8.01 \\
  271. 4.625 8.01 \\
  272. };
  273. \addplot [color=black,solid,forget plot]
  274. table[row sep=crcr]{
  275. 5.625 20.29 \\
  276. 5.625 66.33 \\
  277. 6.375 66.33 \\
  278. 6.375 20.29 \\
  279. 5.625 20.29 \\
  280. };
  281. \addplot [color=black,solid,forget plot]
  282. table[row sep=crcr]{
  283. 6.625 39.23 \\
  284. 6.625 145.58 \\
  285. 7.375 145.58 \\
  286. 7.375 39.23 \\
  287. 6.625 39.23 \\
  288. };
  289. \addplot [color=black,solid,forget plot]
  290. table[row sep=crcr]{
  291. 7.625 139.84 \\
  292. 7.625 310.8 \\
  293. 8.375 310.8 \\
  294. 8.375 139.84 \\
  295. 7.625 139.84 \\
  296. };
  297. \addplot [color=black,solid,forget plot]
  298. table[row sep=crcr]{
  299. 8.625 334.38 \\
  300. 8.625 1045.99 \\
  301. 9.375 1045.99 \\
  302. 9.375 334.38 \\
  303. 8.625 334.38 \\
  304. };
  305. \addplot [color=black,solid,forget plot]
  306. table[row sep=crcr]{
  307. 9.625 457.26 \\
  308. 9.625 1227.46 \\
  309. 10.375 1227.46 \\
  310. 10.375 457.26 \\
  311. 9.625 457.26 \\
  312. };
  313. \addplot [color=black,solid,line width=3.0pt,forget plot]
  314. table[row sep=crcr]{
  315. 0.625 0.05 \\
  316. 1.375 0.05 \\
  317. };
  318. \addplot [color=black,solid,line width=3.0pt,forget plot]
  319. table[row sep=crcr]{
  320. 1.625 0.245 \\
  321. 2.375 0.245 \\
  322. };
  323. \addplot [color=black,solid,line width=3.0pt,forget plot]
  324. table[row sep=crcr]{
  325. 2.625 1.18 \\
  326. 3.375 1.18 \\
  327. };
  328. \addplot [color=black,solid,line width=3.0pt,forget plot]
  329. table[row sep=crcr]{
  330. 3.625 5.055 \\
  331. 4.375 5.055 \\
  332. };
  333. \addplot [color=black,solid,line width=3.0pt,forget plot]
  334. table[row sep=crcr]{
  335. 4.625 16.405 \\
  336. 5.375 16.405 \\
  337. };
  338. \addplot [color=black,solid,line width=3.0pt,forget plot]
  339. table[row sep=crcr]{
  340. 5.625 38.05 \\
  341. 6.375 38.05 \\
  342. };
  343. \addplot [color=black,solid,line width=3.0pt,forget plot]
  344. table[row sep=crcr]{
  345. 6.625 84.06 \\
  346. 7.375 84.06 \\
  347. };
  348. \addplot [color=black,solid,line width=3.0pt,forget plot]
  349. table[row sep=crcr]{
  350. 7.625 247.29 \\
  351. 8.375 247.29 \\
  352. };
  353. \addplot [color=black,solid,line width=3.0pt,forget plot]
  354. table[row sep=crcr]{
  355. 8.625 670.53 \\
  356. 9.375 670.53 \\
  357. };
  358. \addplot [color=black,solid,line width=3.0pt,forget plot]
  359. table[row sep=crcr]{
  360. 9.625 832.22 \\
  361. 10.375 832.22 \\
  362. };
  363. \addplot [color=blue,mark size=2.0pt,only marks,mark=o,mark options={solid,draw=white!30!black},forget plot]
  364. table[row sep=crcr]{
  365. 1 0.02 \\
  366. 1 0.02 \\
  367. 1 0.02 \\
  368. 1 0.02 \\
  369. 1 0.02 \\
  370. 1 0.07 \\
  371. 1 0.07 \\
  372. 1 0.07 \\
  373. };
  374. \addplot [color=blue,mark size=2.0pt,only marks,mark=o,mark options={solid,draw=white!30!black},forget plot]
  375. table[row sep=crcr]{
  376. nan nan \\
  377. };
  378. \addplot [color=blue,mark size=2.0pt,only marks,mark=o,mark options={solid,draw=white!30!black},forget plot]
  379. table[row sep=crcr]{
  380. nan nan \\
  381. };
  382. \addplot [color=blue,mark size=2.0pt,only marks,mark=o,mark options={solid,draw=white!30!black},forget plot]
  383. table[row sep=crcr]{
  384. nan nan \\
  385. };
  386. \addplot [color=blue,mark size=2.0pt,only marks,mark=o,mark options={solid,draw=white!30!black},forget plot]
  387. table[row sep=crcr]{
  388. nan nan \\
  389. };
  390. \addplot [color=blue,mark size=2.0pt,only marks,mark=o,mark options={solid,draw=white!30!black},forget plot]
  391. table[row sep=crcr]{
  392. nan nan \\
  393. };
  394. \addplot [color=blue,mark size=2.0pt,only marks,mark=o,mark options={solid,draw=white!30!black},forget plot]
  395. table[row sep=crcr]{
  396. nan nan \\
  397. };
  398. \addplot [color=blue,mark size=2.0pt,only marks,mark=o,mark options={solid,draw=white!30!black},forget plot]
  399. table[row sep=crcr]{
  400. 8 630.57 \\
  401. 8 771.02 \\
  402. 8 1317.17 \\
  403. };
  404. \addplot [color=blue,mark size=2.0pt,only marks,mark=o,mark options={solid,draw=white!30!black},forget plot]
  405. table[row sep=crcr]{
  406. 9 2366.71 \\
  407. 9 2735.43 \\
  408. 9 2951.7 \\
  409. 9 3158.63 \\
  410. };
  411. \addplot [color=blue,mark size=2.0pt,only marks,mark=o,mark options={solid,draw=white!30!black},forget plot]
  412. table[row sep=crcr]{
  413. 10 2472.84 \\
  414. 10 2561.03 \\
  415. 10 3600 \\
  416. 10 3600 \\
  417. 10 3614.49 \\
  418. 10 3626.51 \\
  419. };
  420. \node[above, inner sep=0mm, text=black]
  421. at (axis cs:21.2571428571429,-12,0) {5};
  422. \node[above, inner sep=0mm, text=black]
  423. at (axis cs:49.6,-12,0) {10};
  424. \node[above, inner sep=0mm, text=black]
  425. at (axis cs:77.9428571428572,-12,0) {15};
  426. \node[above, inner sep=0mm, text=black]
  427. at (axis cs:106.285714285714,-12,0) {20};
  428. \node[above, inner sep=0mm, text=black]
  429. at (axis cs:134.628571428571,-12,0) {25};
  430. \node[above, inner sep=0mm, text=black]
  431. at (axis cs:162.971428571429,-12,0) {30};
  432. \node[above, inner sep=0mm, text=black]
  433. at (axis cs:191.314285714286,-12,0) {35};
  434. \node[above, inner sep=0mm, text=black]
  435. at (axis cs:219.657142857143,-12,0) {40};
  436. \node[above, inner sep=0mm, text=black]
  437. at (axis cs:248,-12,0) {45};
  438. \node[above, inner sep=0mm, text=black]
  439. at (axis cs:276.342857142857,-12,0) {50};
  440.  
  441. \addplot[area legend,solid,fill=mycolor1,opacity=5.000000e-01,draw=black,forget plot]
  442. table[row sep=crcr] {
  443. x y\\
  444. 9.625 457.26 \\
  445. 9.625 1227.46 \\
  446. 10.375 1227.46 \\
  447. 10.375 457.26 \\
  448. 9.625 457.26 \\
  449. };
  450.  
  451.  
  452. \addplot[area legend,solid,fill=mycolor1,opacity=5.000000e-01,draw=black,forget plot]
  453. table[row sep=crcr] {
  454. x y\\
  455. 8.625 334.38 \\
  456. 8.625 1045.99 \\
  457. 9.375 1045.99 \\
  458. 9.375 334.38 \\
  459. 8.625 334.38 \\
  460. };
  461.  
  462.  
  463. \addplot[area legend,solid,fill=mycolor1,opacity=5.000000e-01,draw=black,forget plot]
  464. table[row sep=crcr] {
  465. x y\\
  466. 7.625 139.84 \\
  467. 7.625 310.8 \\
  468. 8.375 310.8 \\
  469. 8.375 139.84 \\
  470. 7.625 139.84 \\
  471. };
  472.  
  473.  
  474. \addplot[area legend,solid,fill=mycolor1,opacity=5.000000e-01,draw=black,forget plot]
  475. table[row sep=crcr] {
  476. x y\\
  477. 6.625 39.23 \\
  478. 6.625 145.58 \\
  479. 7.375 145.58 \\
  480. 7.375 39.23 \\
  481. 6.625 39.23 \\
  482. };
  483.  
  484.  
  485. \addplot[area legend,solid,fill=mycolor1,opacity=5.000000e-01,draw=black,forget plot]
  486. table[row sep=crcr] {
  487. x y\\
  488. 5.625 20.29 \\
  489. 5.625 66.33 \\
  490. 6.375 66.33 \\
  491. 6.375 20.29 \\
  492. 5.625 20.29 \\
  493. };
  494.  
  495.  
  496. \addplot[area legend,solid,fill=mycolor1,opacity=5.000000e-01,draw=black,forget plot]
  497. table[row sep=crcr] {
  498. x y\\
  499. 4.625 8.01 \\
  500. 4.625 32.01 \\
  501. 5.375 32.01 \\
  502. 5.375 8.01 \\
  503. 4.625 8.01 \\
  504. };
  505.  
  506.  
  507. \addplot[area legend,solid,fill=mycolor1,opacity=5.000000e-01,draw=black,forget plot]
  508. table[row sep=crcr] {
  509. x y\\
  510. 3.625 2.55 \\
  511. 3.625 6.16 \\
  512. 4.375 6.16 \\
  513. 4.375 2.55 \\
  514. 3.625 2.55 \\
  515. };
  516.  
  517.  
  518. \addplot[area legend,solid,fill=mycolor1,opacity=5.000000e-01,draw=black,forget plot]
  519. table[row sep=crcr] {
  520. x y\\
  521. 2.625 0.85 \\
  522. 2.625 1.52 \\
  523. 3.375 1.52 \\
  524. 3.375 0.85 \\
  525. 2.625 0.85 \\
  526. };
  527.  
  528.  
  529. \addplot[area legend,solid,fill=mycolor1,opacity=5.000000e-01,draw=black,forget plot]
  530. table[row sep=crcr] {
  531. x y\\
  532. 1.625 0.19 \\
  533. 1.625 0.31 \\
  534. 2.375 0.31 \\
  535. 2.375 0.19 \\
  536. 1.625 0.19 \\
  537. };
  538.  
  539.  
  540. \addplot[area legend,solid,fill=mycolor1,opacity=5.000000e-01,draw=black,forget plot]
  541. table[row sep=crcr] {
  542. x y\\
  543. 0.625 0.04 \\
  544. 0.625 0.05 \\
  545. 1.375 0.05 \\
  546. 1.375 0.04 \\
  547. 0.625 0.04 \\
  548. };
  549.  
  550. \end{axis}
  551. \end{tikzpicture}%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement