Log in to edit a copy.
Download.
Other published documents...
Plot3D
578 days ago by sleep
sage: def f(x,y): ... return math.exp(x/5)*math.sin(y) ... sage: P = plot3d(f,(-5,5),(-5,5), adaptive=True, color=['red','yellow']) sage: from sage.plot.plot3d.plot3d import axes sage: S = P + axes(6, color='black') sage: S.show()
u, v = var('u,v') fx = (1+cos(v))*cos(u) fy = (1+cos(v))*sin(u) fz = -tanh((2/3)*(u-pi))*sin(v) parametric_plot3d([fx, fy, fz], (u, 0, 2*pi), (v, 0, 2*pi), frame=False, color="red")