Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- documentclass[border=5mm]{standalone}
- usepackage{pgfplots}
- pgfplotsset{compat=1.10,
- ticks=none}
- usepgfplotslibrary{fillbetween}
- usetikzlibrary{backgrounds,
- calc,
- patterns}
- begin{document}
- begin{tikzpicture}[scale=4, transform shape]
- tikzset{
- myc/.pic={
- draw[line width=2mm] (0, 0) -| (2, 1) -| (1, 2) -| (2, 3) -| cycle;
- }
- }
- path (0,0) pic[fill=green] {myc} (1,3) pic[fill=blue] {myc} (2,6) pic[fill=blue] {myc};
- end{tikzpicture}
- end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement