Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- \begin{tikzpicture}
- \begin{axis}[view={15}{7},
- xlabel=$x$, ylabel=$y$, zlabel=$z$,
- after end axis/.code={
- \draw [-stealth, thick, red] (xticklabel cs:0.2) -- (xticklabel cs:0.8);
- \draw [-stealth, thick, red] (yticklabel cs:0.2) -- (yticklabel cs:0.8);
- \draw [-stealth, thick, red] (zticklabel cs:0.2) -- (zticklabel cs:0.8);
- } % gambar 3
- ]
- \addplot3[surf,shader=flat,
- samples=20,colormap/cool,
- domain=-1:2,y domain=0:2*pi,
- z buffer=sort]
- (x,{(x^3-x^2-6*x)*cos(deg(y))}, {(x^3-x^2-6*x)*sin(deg(y))});
- \end{axis}
- \end{tikzpicture}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement