Yeah, the sample code works for me too. I'm not sure I see what's
different about what I'm doing.

Here's an example of something that doesn't work for me:

var("rho_X rho_Y R")
R=6
rho=sqrt(rho_X^2+rho_Y^2)
EE(rho_X,rho_Y)=exp(-rho/R)
ee=fast_float(EE)
grid=np.arange(-32,32,0.05)
eeM=[[ee(x,y) for x in grid] for y in grid]
list_plot3d(eeM)

Thanks,
-Ranjit

On Sep 11, 1:37 pm, Jason Grout <jason-s...@creativetrax.com> wrote:
> Ranjit wrote:
> > I tried using the function list_plot3d to visualize a 2d matrix, but
> > it doesn't seem to work. I tried it with both a numpy array and a sage
> > matrix and in both cases the Jmol applet loads but then all I see is a
> > white box. Right clicking gives the contextual menu, but none of the
> > options seem to do anything.
>
> > Does anyone know why this isn't working?
>
> Plotting the first matrix example in the help works fine for me.  Maybe
> if you posted your example, we could take a look at it and see what the
> problem was.
>
> Thanks,
>
> Jason
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to