Here, I've attached the picture of the graph I need to draw. As you can see, the picture has 3 similar parts. The code for one of the 3 parts is as below:
Code: Select all
Code, edit and compile here:
\documentclass{article}\begin{document}\begin{figure}\setlength{\unitlength}{0.2in}\centering\begin{picture}(14,11)\thicklines\put(4,7){\begin{picture}(6,5)\put(0,5){\line(1,0){6}}\put(3,0){\line(-3,5){3}}\put(3,0){\line(3,5){3}}\put(0.6,4){\line(1,0){4.8}}\put(1.8,4){\line(3,-5){1.8}}\put(2.4,3){\line(1,0){2.4}}\put(3,5){\line(0,-1){1}}\put(4.2,4){\line(-3,-5){0.6}}\put(3,2){\line(-3,-5){0.6}}\put(0,5){\circle*{0.4}}\put(3,5){\circle*{0.4}}\put(6,5){\circle*{0.4}}\put(0.6,4){\circle*{0.4}}\put(1.8,4){\circle*{0.4}}\put(3,4){\circle*{0.4}}\put(4.2,4){\circle*{0.4}}\put(5.4,4){\circle*{0.4}}\put(2.4,3){\circle*{0.4}}\put(3.6,3){\circle*{0.4}}\put(4.8,3){\circle*{0.4}}\put(3,2){\circle*{0.4}}\put(2.4,1){\circle*{0.4}}\put(3.6,1){\circle*{0.4}}\put(3,0){\circle*{0.4}}\end{picture}}