>>>>> "Leo" == Leo Garcia <[EMAIL PROTECTED]> writes:
Leo> Dear Prabhu Ramachandran, I am doing a MSc. project and UCL
Leo> in London and was wondering if you could help. Is there any
Leo> way of opening and manipulating MayaVi from Matlab?
I'm afraid, I haven't the faintest idea. I have never used Matlab for
any length of time nor do I intend doing so anytime soon. Sorry.
However, I would seriously recommend shifting to Python+SciPy for your
numerics needs if you use matlab.
Leo> I have a program which converts some data to a .VTK
Leo> format. At the moment you have to open MayaVi separately to
Leo> view the .VTK files, but ideally I want to be able to save
Leo> the data, and automatically open MayaVi to view the files
Leo> with some useful settings (eg. ScalarCutPlane, a particular
Leo> colour scheme etc.) from within the Matlan environment.
Leo> Do you think this is achievable, and if so, do you have any
Leo> tips on how to go about it?
Can you create a "subprocess" in matlab so you can run an external
command independent of matlab? If you can do that then you could do
what you wanted by launching mayavi with whatever arguments you want
to visualize the data and have the file saved. If you need more
customization you can write a Python script that does what you want
and have matlab call that Python script.
HTH.
cheers,
prabhu
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
MayaVi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mayavi-users