Re: what is problem of *.vtk file?

Feng Chen <[email protected]>
Newsgroups gmane.comp.science.photonic-bands
Message-ID <[email protected]>
I have used Mayavi before and it is a great product (for free).
However, my understanding is that you can import vtk files into mayavi,
but u need to instruct Mayavi to plot.  Different plot methods suit
different data types.
If you can send me the vtk file, I may help a little bit further.

At 09:32 AM 7/13/2006, you wrote:

>Hi all and steven
>
>
>
>I want to get figure by using diamond.ctl. I read mailing list about 
>vtk file and mayavi.
>
>
>
>I install mayavi and run example/ heart.vtk. However vtk file made 
>from diamond.ctl doesn't
>
>
>
>run with mayavi.
>
>
>
>According to  my process, I commanded
>
>
>
>unix $ mpb diamond.ctl > output
>
>unix $ mpb-data -m 2 -r -n 32 epsilon.h5 dpwr.k06.b*.h5
>
>unix $ h5tovtk -o diamond.vtk -d data-new epsilon.h5 dpwr.k06.b*.h5 -a
>
>
>
>I add -a option beacause -a save ASCII float type at diamond.vtk.
>
>
>
>unix $ mayavi diamond.vtk &
>
>
>
>Is this right?
>
>
>
>I confirm Data typ of diamond.vtk is Field Data ( refer to vtk 
>formats) like array.
>
>
>
>Also I have question about strange of array type.
>
>
>
>array combine one line. I confused about diamond.vtk.
>
>
>
>I need your help.
>
>
>
>thank you very much and I'm sorry about my bad english.
>
>
>
>Hyo Joung Kim
>_______________________________________________
>mpb-discuss mailing list
>[email protected]
>http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/mpb-discuss

--
Feng Chen <[email protected]>
Texas Center for Superconductivity (TcSUH)
Houston Science Center, Rm 202
3201 Cullen Blvd.
Houston, TX 77204-5002
Voice: 713-743-8307, Fax: 713-743-8201, eFax: 360-343-8307
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.