Hi,
In the following code, nothing seems to show up when I put plot
inside interact, but it works when it's outside it.
def delta_l_hs(l, k, a):
return atan(spherical_bessel_J(l, k*a)/spherical_bessel_Y(l, k*a))
k = var('k')
#show(plot(delta_l_hs(5, k, 1), (k, -20, 20) ) )
@interact
def _(a=(1.0), k_min=(-20.0), k_max=(20.0), l=(0..50) ):
show(plot(delta_l_hs(l, k, a), (k, k_min, k_max) ) )
Help appreciated.
Mani chandra
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---