Advertisement
Guest User

Untitled

a guest
May 28th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. documentclass{standalone}
  2. usepackage{tikz,pgfplots}
  3. pgfplotsset{compat=newest}
  4. begin{document}
  5. begin{tikzpicture}
  6. begin{axis}[view={0}{90}]
  7. addplot3[surf, domain=-2:2, samples=30,colormap/cool] {exp(-x^2-y^2)};
  8. end{axis}
  9. end{tikzpicture}
  10.  
  11. begin{tikzpicture}
  12. begin{axis}[view={0}{90}]
  13. addplot3[surf, domain=-2:2, samples=30,colormap/cool,
  14. opacity=0.2,
  15. fill opacity=1,
  16. ] {exp(-x^2-y^2)};
  17. end{axis}
  18. end{tikzpicture}
  19. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement