David Joyner wrote:

> Assuming I did get this to complie, are there easy examples somewhere I could
> try testing?
> 

This is rather complicated because we need IPython to run with -wxthread
option enabled. See http://sagetrac.org/sage_trac/ticket/1748

Do ./sage -sh to get a shell in the "right" environment,
create a file "start_up" or something (Fernando Perez):

 >> >> The solution is to have Sage start ipython with the wthread option, if
 >> >> you want full Sage support.  As a starter, you can test this. Make a
 >> >> little file that's simply
 >> >>
 >> >> #!/path/to/sage/python
 >> >> import IPython
 >> >> IPython.Shell.IPShellWX().mainloop()

make this file executable, run it and you are in business:

sage: from enthought.mayavi.tools import mlab as M
Set Envisage to use the workbench UI: True
Set Envisage to use the workbench UI: True
sage: M.
M.axes                   M.points3d               M.test_plot3d
M.clf                    M.quiver3d               M.test_points3d
M.colorbar               M.roll                   M.test_quiver3d
M.contour3d              M.savefig                M.test_quiver3d_2d_data
M.contour_surf           M.scalarbar              M.test_simple_surf
M.draw                   M.surf                   M.test_surf
M.figure                 M.test_contour3d         M.title
M.flow                   M.test_contour_surf      M.vectorbar
M.gcf                    M.test_fancy_mesh        M.view
M.get_mayavi             M.test_flow              M.xlabel
M.imshow                 M.test_imshow            M.ylabel
M.mesh                   M.test_mesh              M.zlabel
M.outline                M.test_mesh_sphere
M.plot3d                 M.test_molecule


Try the M.test_*() functions, see my webalbum:
http://picasaweb.google.nl/j.spies88/Mayavi2FromSage

Or run mayavi2 as a stand alone program from this shell.

Jaap



--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to