Advertisement
Guest User

Untitled

a guest
Aug 30th, 2014
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. documentclass[1pt, pdf, svgnames]{standalone}
  2. usepackage[utf8]{inputenc}
  3. usepackage[T1]{fontenc}
  4. usepackage{fourier}
  5. usepackage{pstricks-add}
  6. usepackage{xcolor}
  7.  
  8. begin{document}
  9.  
  10. begin{pspicture}(-1,-4)(4,6)
  11. psset{radius = 0.15, xunit = 2cm, yunit = 1.2cm, fillstyle = solid}
  12. psaxes[yaxis = false, linewidth = 0pt,linecolor = white, ticks = none](0,-3.9)(2,-3.9)
  13. uput[d](-1,-4){Time step}
  14. Cnode(0,0){O}
  15. pnodes{A}(1,-2.4)(1,-1.9)(1, -1.4)(1, -0.9)(1,-0.4)(1,0.4)(1, 0.9)(1, 1.4)(1,1.9)(1,2.4)
  16. pnodes{B}(2,-3.8)(2,-3.3)(2, -2.8)(2, -2.3)(2,-1.8)(2,-1)(2, -0.5)(2, 0)(2,0.5)(2,1)(2,1.8)(2, 2.3)(2, 2.8)(2,3.3)(2,3.8)
  17. Cnode(O){} multido{i = 0 + 1}{10}{Cnode[fillcolor =LightSteelBlue ](Ai){Ci}}
  18. multido{i = 2 + 5}{2}{Cnode[fillcolor = white](Ai){}}
  19. multido{i = 0 + 1}{15}{Cnode(Bi){Di}}
  20. multido{i = 0 + 1}{10}{ncline{Ci}{Di}fpAdd{i}{5}{j}ncline{Ci}{Dj}}%
  21. ncline{O}{C2}ncline{O}{C7}
  22. psset{linestyle = dashed}
  23. multido{i = 0 + 1}{10}{ncline{O}{Ci}}%
  24. end{pspicture}
  25.  
  26. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement