Advertisement
Braber01

Using \$ in pfgplots?

Nov 13th, 2011
382
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 0.52 KB | None | 0 0
  1. %%FOLLOWING CODE GIVES A TeX capicity exceeded, sorry [input stack size=5000] Error
  2. \begin{figure}[h]
  3. \centering
  4. \caption{Sales in Billions(USD)
  5. \begin{tikzpicture}
  6. \begin{axis}[xlabel=Year,grid=major,xmode=normal,ymode=normal]
  7. \addplot coordinates{
  8. (2005,\$6.14)
  9. (2006,\$10.6)
  10. (2007,\$16.60)
  11. (2008,\$21.80)
  12. (2009,\$23.65)
  13. (2010,\$29.32)
  14. };
  15. \end{axis}
  16. \end{tikzpicture}
  17. \end{figure}
  18. %WHEN I REMOVE \$ within {axis} everything compiles fine,
  19. %also how do i get rid of the commas if I'm using a year on the plots?
  20.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement