Guest User

Untitled

a guest
Jun 24th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.77 KB | None | 0 0
  1. definecolor{mycolor1}{rgb}{0.00000,0.44700,0.74100}%
  2. %
  3. begin{tikzpicture}
  4.  
  5. begin{axis}[%
  6. width=0.951fwidth,
  7. height=fheight,
  8. at={(0fwidth,0fheight)},
  9. scale only axis,
  10. xmin=0,
  11. xmax=14,
  12. ymin=-0.5,
  13. ymax=0.5,
  14. ylabel style={font=color{white!15!black}},
  15. ylabel={Distance from centreline, $y$ [m]},
  16. axis background/.style={fill=white},
  17. xmajorgrids,
  18. ymajorgrids
  19. ]
  20. addplot [color=mycolor1, draw=none, mark=o, mark options={solid, mycolor1}, only marks, forget plot]
  21. table[row sep=crcr]{%
  22. 2.3 0\
  23. 12.7 -0.15\
  24. };
  25. label{addplot:line1}
  26. addplot [color=black, draw=none, mark=asterisk, mark options={solid, black}, only marks, forget plot]
  27. table[row sep=crcr]{%
  28. 2.75 -0.3\
  29. };
  30. label{addplot:line2}
  31. end{axis}
  32. end{tikzpicture}%
  33.  
  34. begin{figure}
  35. setlengthfheight{0.55textwidth}
  36. setlengthfwidth{0.95textwidth}
  37. centering
  38. tikzsetnextfilename{tikzexternalrealjob-chapter1Figure1}%
  39. input{./ch1/img/Figure1.tikz}
  40. caption[Caption for list of figures without any references]{Caption with lines 1 (ref{addplot:line1}) and 2 (ref{addplot:line2}).}
  41. label{fig:drift_velocity_ak50}
  42. end{figure}
  43.  
  44. ! Package tikz Error: Sorry, the system call 'pdflatex -shell-escape-halt-on-error -interaction=batchmode -jobname "tikz/main-figure_crossref90" deftikzexternalrealjob{main}input{main}"' did NOT result in a usable output file 'tikz/main-figure_crossref90' (expected one of .pdf:.jpg:.jpeg:.png:). Please verify that you have enabled system calls. For pdflatex, this is 'pdflatex -shell-escape'. Sometimes it is also named 'write 18' or something like that. Or maybe the command simply failed? Error messages can be found in 'tikz/main-figure_crossref90.log'. If you continue now, I'll try to typeset the picture.
  45.  
  46. pdflatex -shell-escape -synctex=1 -interaction=nonstopmode main.tex
Add Comment
Please, Sign In to add comment