Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- documentclass[tikz]{standalone}
- usepackage{tikz}
- begin{document}
- foreach n in {0,0.05,...,1} {
- begin{tikzpicture}
- draw
- (0,0) -- ++ (1,2)
- -- ++ (1,.5)
- -- ++ (1,-1)
- -- ++ (1,0)
- -- ++ (1,-4);
- end{tikzpicture}
- }
- end{document}
- documentclass[tikz, border=.5cm]{standalone}
- usepackage{tikz}
- begin{document}
- foreach n in {0,0.1,...,.9} {
- begin{tikzpicture}
- draw
- (0,0) -- node [circle, fill=red, draw=black, pos=n, inner sep = 0, minimum size = 4pt] {} node [pos=n, above] {x} ++ (1,2)
- -- ++ (1,.5)
- -- ++ (1,-1)
- -- ++ (1,0)
- -- ++ (1,-4);
- end{tikzpicture}
- }
- foreach n in {0,0.1,...,.9} {
- begin{tikzpicture}
- draw
- (0,0) -- ++ (1,2)
- -- node [circle, fill=red, draw=black, pos=n, inner sep = 0, minimum size = 4pt] {} node [pos=n, above] {x} ++ (1,.5)
- -- ++ (1,-1)
- -- ++ (1,0)
- -- ++ (1,-4);
- end{tikzpicture}
- }
- foreach n in {0,0.1,...,.9} {
- begin{tikzpicture}
- draw
- (0,0) -- ++ (1,2)
- -- ++ (1,.5)
- -- node [circle, fill=red, draw=black, pos=n, inner sep = 0, minimum size = 4pt] {} node [pos=n, above] {x} ++ (1,-1)
- -- ++ (1,0)
- -- ++ (1,-4);
- end{tikzpicture}
- }
- foreach n in {0,0.1,...,.9} {
- begin{tikzpicture}
- draw
- (0,0) -- ++ (1,2)
- -- ++ (1,.5)
- -- ++ (1,-1)
- -- node [circle, fill=red, draw=black, pos=n, inner sep = 0, minimum size = 4pt] {} node [pos=n, above] {x} ++ (1,0)
- -- ++ (1,-4);
- end{tikzpicture}
- }
- foreach n in {0,0.1,...,.9} {
- begin{tikzpicture}
- draw
- (0,0) -- ++ (1,2)
- -- ++ (1,.5)
- -- ++ (1,-1)
- -- ++ (1,0)
- -- node [circle, fill=red, draw=black, pos=n, inner sep = 0, minimum size = 4pt] {} node [pos=n, above] {x} ++ (1,-4);
- end{tikzpicture}
- }
- begin{tikzpicture}
- draw
- (0,0) -- ++ (1,2)
- -- ++ (1,.5)
- -- ++ (1,-1)
- -- ++ (1,0)
- -- node [circle, fill=red, draw=black, pos=1, inner sep = 0, minimum size = 4pt] {} node [pos=1, above] {x} ++ (1,-4);
- end{tikzpicture}
- end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement