Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.63 KB | None | 0 0
  1. documentclass[tikz]{standalone}
  2.  
  3. usepackage{pgfplots}
  4.  
  5. begin{document}
  6.  
  7. pgfplotstableread[row sep=\,col sep=&]{
  8. interval & carT & carD & carR \
  9. 0--2 & 1.2 & 0.1 & 0.2 \
  10. 2--5 & 12.8 & 3.8 & 4.9 \
  11. 5--10 & 15.5 & 10.4 & 13.4 \
  12. 10--20 & 14.0 & 17.3 & 22.2 \
  13. 20--50 & 7.9 & 21.1 & 27.0 \
  14. 50+ & 3.0 & 22.3 & 28.6 \
  15. }mydata
  16.  
  17. begin{tikzpicture}
  18. begin{axis}[
  19. ybar,
  20. bar width=.5cm,
  21. width=textwidth,
  22. height=.5textwidth,
  23. legend style={at={(0.5,1)},
  24. anchor=north,legend columns=-1},
  25. symbolic x coords={0--2,2--5,5--10,10--20,20--50,50+},
  26. xtick=data,
  27. nodes near coords,
  28. nodes near coords align={vertical},
  29. ymin=0,ymax=35,
  30. ylabel={%},
  31. ]
  32. addplot table[x=interval,y=carT]{mydata};
  33. addplot table[x=interval,y=carD]{mydata};
  34. addplot table[x=interval,y=carR]{mydata};
  35. legend{Trips, Distance, Energy}
  36. end{axis}
  37. end{tikzpicture}
  38. end{document}
  39.  
  40. Undefined control sequence. ...; color(2cm)=(orange); color(3cm)=(red)}
  41. Package pgfkeys Error: I do not know the key '/pgf/fpu', to which you passed 'true', and I am going to ignore it. Perhaps you misspelled it. ...; color(2cm)=(orange); color(3cm)=(red)}
  42. Undefined control sequence. ...; color(2cm)=(orange); color(3cm)=(red)}
  43. Missing begin{document}. ...; color(2cm)=(orange); color(3cm)=(red)}
  44. Undefined control sequence. ...; color(2cm)=(orange); color(3cm)=(red)}
  45. Undefined control sequence. ...; color(2cm)=(orange); color(3cm)=(red)}
  46. Package PGF Math Error: Sorry, an internal routine of the floating point unit near '28.45274'.. ...; color(2cm)=(orange); color(3cm)=(red)}
  47. Package pgfplots Error: Colormaps must have increasing positions. The providesign increasing positions. ...; color(2cm)=(orange); color(3cm)=(red)}
  48. Undefined control sequence. ...; color(2cm)=(orange); color(3cm)=(red)}
  49. Undefined control sequence. ...; color(2cm)=(orange); color(3cm)=(red)}
  50. Package PGF Math Error: Sorry, an internal routine of the floating point unitnear '56.9055'.. ...; color(2cm)=(orange); color(3cm)=(red)}
  51. Package pgfplots Error: Colormaps must have increasing positions. The providesign increasing positions. ...; color(2cm)=(orange); color(3cm)=(red)}
  52. Undefined control sequence. ...; color(2cm)=(orange); color(3cm)=(red)}
  53. Undefined control sequence. ...; color(2cm)=(orange); color(3cm)=(red)}
  54. Package PGF Math Error: Sorry, an internal routine of the floating point unitnear '56.9055'.. ...; color(2cm)=(orange); color(3cm)=(red)}
  55. Missing number, treated as zero. ...; color(2cm)=(orange); color(3cm)=(red)}
  56. Missing number, treated as zero. ...; color(2cm)=(orange); color(3cm)=(red)}
  57. Illegal unit of measure (pt inserted). ...; color(2cm)=(orange); color(3cm)=(red)}
  58. Undefined control sequence. ...; color(2cm)=(orange); color(3cm)=(red)}
  59. Undefined control sequence. ...; color(2cm)=(orange); color(3cm)=(red)}
  60. Package PGF Math Error: Sorry, an internal routine of the floating point unit near '85.35826'.. ...; color(2cm)=(orange); color(3cm)=(red)}
  61. Package pgfplots Error: Colormaps must have increasing positions. The providen increasing positions. ...; color(2cm)=(orange); color(3cm)=(red)}
  62. Undefined control sequence. ...; color(2cm)=(orange); color(3cm)=(red)}
  63. Undefined control sequence. ...; color(2cm)=(orange); color(3cm)=(red)}
  64. Package PGF Math Error: Sorry, an internal routine of the floating point unit near '85.35826'.. ...; color(2cm)=(orange); color(3cm)=(red)}
  65. Missing number, treated as zero. ...; color(2cm)=(orange); color(3cm)=(red)}
  66. Missing number, treated as zero. ...; color(2cm)=(orange); color(3cm)=(red)}
  67. Illegal unit of measure (pt inserted). ...; color(2cm)=(orange); color(3cm)=(red)}
  68. Undefined control sequence. ...; color(2cm)=(orange); color(3cm)=(red)}
  69. Undefined control sequence. ...; color(2cm)=(orange); color(3cm)=(red)}
  70. Undefined control sequence. ...; color(2cm)=(orange); color(3cm)=(red)}
  71. Undefined control sequence. ...; color(2cm)=(orange); color(3cm)=(red)}
  72. Package PGF Math Error: Sorry, an internal routine of the floating point unit.. ...; color(2cm)=(orange); color(3cm)=(red)}
  73. Missing number, treated as zero. ...; color(2cm)=(orange); color(3cm)=(red)}
  74. Illegal unit of measure (pt inserted). ...; color(2cm)=(orange); color(3cm)=(red)}
  75. Undefined control sequence. ...; color(2cm)=(orange); color(3cm)=(red)}
  76. Package PGF Math Error: Sorry, an internal routine of the floating point unit '0.0'.. ...; color(2cm)=(orange); color(3cm)=(red)}
  77. Missing number, treated as zero. ...; color(2cm)=(orange); color(3cm)=(red)}
  78. Illegal unit of measure (pt inserted). ...; color(2cm)=(orange); color(3cm)=(red)}
  79. Undefined control sequence. ...edcolormap}{color=(black) color=(black)}
  80. Package pgfkeys Error: I do not know the key '/pgf/fpu', to which you passed 'true', and I am going to ignore it. Perhaps you misspelled it. ...edcolormap}{color=(black) color=(black)}
  81. Package PGF Math Error: Unknown operator `Y' or `Y0' (in '0Y0.0e0]'). ...edcolormap}{color=(black) color=(black)}
  82. Undefined control sequence. ...edcolormap}{color=(black) color=(black)}
  83. Missing begin{document}. ...edcolormap}{color=(black) color=(black)}
  84. Package PGF Math Error: Unknown operator `Y' or `Y2' (in '1Y2.845274e1]'). ...edcolormap}{color=(black) color=(black)}
  85. Undefined control sequence. ...edcolormap}{color=(black) color=(black)}
  86. Undefined control sequence. ...edcolormap}{color=(black) color=(black)}
  87. Package PGF Math Error: Sorry, an internal routine of the floating point unit0'.. ...edcolormap}{color=(black) color=(black)}
  88. Package pgfplots Error: Colormaps must have increasing positions. The providePlease assign increasing positions. ...edcolormap}{color=(black) color=(black)}
  89. Undefined control sequence. ...edcolormap}{color=(black) color=(black)}
  90. Undefined control sequence. ...edcolormap}{color=(black) color=(black)}
  91. Undefined control sequence. ...edcolormap}{color=(black) color=(black)}
  92. Undefined control sequence. ...edcolormap}{color=(black) color=(black)}
  93. Package PGF Math Error: Sorry, an internal routine of the floating point unit0'.. ...edcolormap}{color=(black) color=(black)}
  94. Missing number, treated as zero. ...edcolormap}{color=(black) color=(black)}
  95. Illegal unit of measure (pt inserted). ...edcolormap}{color=(black) color=(black)}
  96. Undefined control sequence. ...edcolormap}{color=(black) color=(black)}
  97. Package PGF Math Error: Sorry, an internal routine of the floating point unit '0.0'.. ...edcolormap}{color=(black) color=(black)}
  98. Missing number, treated as zero. ...edcolormap}{color=(black) color=(black)}
  99. Illegal unit of measure (pt inserted). ...edcolormap}{color=(black) color=(black)}
  100. Undefined control sequence. }
  101. Package pgfkeys Error: I do not know the key '/pgf/fpu', to which you passed 'true', and I am going to ignore it. Perhaps you misspelled it. }
  102. Package PGF Math Error: Unknown operator `Y' or `Y0' (in '0Y0.0e0]'). }
  103. Undefined control sequence. }
  104. Missing begin{document}. }
  105. Package PGF Math Error: Unknown operator `Y' or `Y2' (in '1Y2.845274e1]'). }
  106. Undefined control sequence. }
  107. Undefined control sequence. }
  108. Package PGF Math Error: Sorry, an internal routine of the floating point unit0'.. }
  109. Package pgfplots Error: Colormaps must have increasing positions. The provide (color no 1) . Please assign increasing positions. }
  110. Undefined control sequence. }
  111. Undefined control sequence. }
  112. Undefined control sequence. }
  113. Package PGF Math Error: Sorry, an internal routine of the floating point unit0'.. }
  114. Package pgfplots Error: Colormaps must have increasing positions. The provide. Please assign increasing positions. }
  115. Undefined control sequence. }
  116. Undefined control sequence. }
  117. Package PGF Math Error: Sorry, an internal routine of the floating point unit0'.. }
  118. Missing number, treated as zero. }
  119. Missing number, treated as zero. }
  120. Illegal unit of measure (pt inserted). }
  121. Undefined control sequence. }
  122. Undefined control sequence. }
  123. Undefined control sequence. }
  124. Package PGF Math Error: Sorry, an internal routine of the floating point unit.. }
  125. Package pgfplots Error: Colormaps must have increasing positions. The provide . Please assign increasing positions. }
  126. Undefined control sequence. }
  127. Undefined control sequence. }
  128. Package PGF Math Error: Sorry, an internal routine of the floating point unit.. }
  129. Missing number, treated as zero. }
  130. Missing number, treated as zero. }
  131. Illegal unit of measure (pt inserted). }
  132. Undefined control sequence. }
  133. Undefined control sequence. }
  134. Undefined control sequence. }
  135. Package PGF Math Error: Sorry, an internal routine of the floating point unit.. }
  136. Package pgfplots Error: Colormaps must have increasing positions. The provide. Please assign increasing positions. }
  137. Undefined control sequence. }
  138. Undefined control sequence. }
  139. Package PGF Math Error: Sorry, an internal routine of the floating point unit.. }
  140. Missing number, treated as zero. }
  141. Missing number, treated as zero. }
  142. Illegal unit of measure (pt inserted). }
  143. Undefined control sequence. }
  144. Undefined control sequence. }
  145. Undefined control sequence. }
  146. Package PGF Math Error: Sorry, an internal routine of the floating point unit.. }
  147. Package pgfplots Error: Colormaps must have increasing positions. The provide . Please assign increasing positions. }
  148. Undefined control sequence. }
  149. Undefined control sequence. }
  150. Package PGF Math Error: Sorry, an internal routine of the floating point unit.. }
  151. Missing number, treated as zero. }
  152. Missing number, treated as zero. }
  153. Illegal unit of measure (pt inserted). }
  154. Undefined control sequence. }
  155. Undefined control sequence. }
  156. Undefined control sequence. }
  157. Package PGF Math Error: Sorry, an internal routine of the floating point unit.. }
  158. Package pgfplots Error: Colormaps must have increasing positions. The provide . Please assign increasing positions. }
  159. Undefined control sequence. }
  160. Undefined control sequence. }
  161. Package PGF Math Error: Sorry, an internal routine of the floating point unit.. }
  162. Missing number, treated as zero. }
  163. Missing number, treated as zero. }
  164. Illegal unit of measure (pt inserted). }
  165. Undefined control sequence. }
  166. Undefined control sequence. }
  167. Undefined control sequence. }
  168. Package PGF Math Error: Sorry, an internal routine of the floating point unit.. }
  169. Package pgfplots Error: Colormaps must have increasing positions. The provide. Please assign increasing positions. }
  170. Undefined control sequence. }
  171. Undefined control sequence. }
  172. Package PGF Math Error: Sorry, an internal routine of the floating point unit.. }
  173. Missing number, treated as zero. }
  174. Missing number, treated as zero. }
  175. Illegal unit of measure (pt inserted). }
  176. Undefined control sequence. }
  177. Undefined control sequence. }
  178. Undefined control sequence. }
  179. Package PGF Math Error: Sorry, an internal routine of the floating point unit.. }
  180. Package pgfplots Error: Colormaps must have increasing positions. The provide. Please assign increasing positions. }
  181. Undefined control sequence. }
  182. Undefined control sequence. }
  183. Package PGF Math Error: Sorry, an internal routine of the floating point unit.. }
  184. Missing number, treated as zero. }
  185. Missing number, treated as zero. }
  186. Illegal unit of measure (pt inserted). }
  187. Undefined control sequence. }
  188. Undefined control sequence. }
  189. Undefined control sequence. }
  190. Package PGF Math Error: Sorry, an internal routine of the floating point unit.. }
  191. Package pgfplots Error: Colormaps must have increasing positions. The provide . Please assign increasing positions. }
  192. Undefined control sequence. }
  193. Undefined control sequence. }
  194. Package PGF Math Error: Sorry, an internal routine of the floating point unit.. }
  195. Missing number, treated as zero. }
  196. Missing number, treated as zero. }
  197. Illegal unit of measure (pt inserted). }
  198. Undefined control sequence. }
  199. Undefined control sequence. }
  200. Overfull hbox (63.89009pt too wide) in paragraph
  201. Overfull hbox (98.61243pt too wide) in paragraph
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement