Guest User

general-error tex

a guest
Apr 29th, 2014
17
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. \documentclass[
  2. a4paper
  3. ]{scrartcl}
  4.  
  5. \usepackage{
  6. newtxtext,
  7. amsmath,
  8. subcaption,
  9. biblatex
  10. }
  11. \usepackage[T1]{fontenc}
  12. \usepackage[utf8]{inputenc}
  13.  
  14. \usepackage{
  15. tikz,
  16. pgfplots
  17. }
  18. \usetikzlibrary{
  19. calc
  20. }
  21.  
  22. \listfiles
  23.  
  24. \begin{document}
  25.  
  26. \begin{center}
  27. \centering
  28. \begin{tikzpicture}[font=\small]
  29. \begin{axis}[
  30. height=6cm,
  31. width=14cm,
  32. %
  33. scale only axis=true,
  34. xlabel={Distance in mm},
  35. ylabel={Voltage in volt},
  36. ]
  37. \addplot [sharp plot, no marks, x=Wegnormiert] table [col sep=tab] {data.txt} coordinate [pos=0.5] (A) coordinate [pos=0.6] (B);
  38. \draw (A) -| (B);
  39. \end{axis}
  40. \end{tikzpicture}
  41. \end{center}
  42.  
  43. \end{document}
RAW Paste Data