xxxxxxxxxx
x,y,z=var('x y z')
@interact
def _(n=[3,4,5,6]):
f=(x*cos(2*6*z),-y*cos(2*n*z),sin(2*n*z))
p=plot_vector_field3d(f,(x,-1,1),(y,-1,1),(z,-pi/n,pi/n))
p.show(frame=False)
No comments:
Post a Comment