Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. documentclass[tikz,border=3.14mm]{standalone}
  2. usepackage{tikz-3dplot}
  3. usetikzlibrary{3d}
  4. begin{document}
  5. tdplotsetmaincoords{60}{20}
  6. begin{tikzpicture}[tdplot_main_coords]
  7. path (4.5,0,4) coordinate (P);
  8. begin{scope}[canvas is xy plane at z=0,transform shape]
  9. draw (-4,-2) rectangle (4,2);
  10. draw (-3.9,-1) -- (3.9,-1) node[right] {$d$}
  11. (-3.9,1) -- (3.9,1) node[right] {$d'$};
  12. foreach X in {-3.8,-3.5,...,3.8}
  13. {draw[dashed] (X,1) -- (P) (X,-1) -- (P);}
  14. end{scope}
  15. end{tikzpicture}
  16. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement