Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. documentclass[border=1cm]{standalone}
  2.  
  3. usepackage{tikz}
  4. usetikzlibrary{decorations.markings}
  5.  
  6. begin{document}
  7. begin{tikzpicture}
  8.  
  9. coordinate (A) at (0,0);
  10. coordinate (B) at (1, 3);
  11. coordinate (C) at (2, -1);
  12. coordinate (D) at (3, 0.5);
  13.  
  14. draw plot [smooth] coordinates { (A) (B) (C) (D) };
  15. path [
  16. postaction={decorate},
  17. decoration={
  18. markings,
  19. mark = at position {0.1dimexprpgfdecoratedpathlengthrelax} with {fill = red circle (0.5cm)}
  20. }
  21. ] plot [smooth] coordinates { (A) (B) (C) (D) };
  22.  
  23. end{tikzpicture}
  24. end{document}
  25.  
  26. ! Dimension too large.
  27. <to be read again>
  28. relax
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement