Guest User

Untitled

a guest
Oct 22nd, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. documentclass[border=3mm]{standalone}
  2. usepackage{tikz}
  3. begin{document}
  4. begin{tikzpicture}
  5. draw [-latex] (0,-0.05) -- (0,6);
  6. draw [-latex] (-0.5,0) -- (6,0);
  7. foreach x in {0,1,2}
  8. node [below] at (x,0) {x};
  9.  
  10. node [left] at (0,1) {$psi(a)$};
  11. node [left] at (0,3) {$psi(b)$};
  12.  
  13. draw (0,3) -- (1,1) -- (2,0);
  14. draw [dashed] (0,1) -| (1,0);
  15.  
  16. draw (2,0) -- (2,4);
  17. draw [dashed] (2,4) -- (2,5.7);
  18.  
  19. begin{scope}
  20. clip (2,0) -- (1,1) -- (0,3) -- (0,4) -- (2,4) -- (2,0);
  21. foreach x in {-4,-3.5,...,1.5}
  22. draw (x,0) -- ++(45:6);
  23. end{scope}
  24. begin{scope}
  25. clip (0,4) rectangle (2,5.7);
  26. foreach x in {-1.5,-1,...,1.5}
  27. draw [dashed] (x,4) -- ++(45:4);
  28. end{scope}
  29.  
  30. draw (1.5,2.7) -- ++(2,1) node[right,font=Large] {$Pi$};
  31. end{tikzpicture}
  32. end{document}
Add Comment
Please, Sign In to add comment