Guest User

Untitled

a guest
Nov 18th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. documentclass[svgnames]{standalone}
  2. usepackage{pgfplots}
  3. pgfplotsset{compat=1.8}
  4.     
  5. begin{document}
  6. begin{tikzpicture}
  7.     begin{axis}[
  8.             axis lines=center,
  9.             axis equal,
  10.             domain=0:360,
  11.             y domain=0:1.25,
  12.             y axis line style=stealth-,
  13.             y label style={at={(0.325,0.15)}},
  14.             xmax=1.75,ymax=1.5,zmax=1.5,
  15.             xlabel = $varphi_1$,
  16.             ylabel=$varphi_2$,
  17.             zlabel=$U_k(rho)$,
  18.             ticks=none,
  19.         ]
  20.         
  21.         addplot3 [surf,shader=flat,draw=black,fill=white,z buffer=sort] ({sin(x)*y}, {cos(x)*y}, {(y^2-1)^2});
  22.         end{axis}
  23.         fill[DarkBlue] (3.05,3.4) circle (0.1) coordinate (center);
  24.         fill[DarkRed] (4.7,2) circle (0.1) coordinate (minimum);
  25.         draw[LightGray,line width=0.8,shorten <=5,shorten >=5] (center) edge[out=-15,in=150,->] (minimum);
  26.     end{tikzpicture}
  27. end{document}
Add Comment
Please, Sign In to add comment