Dear yt folks, I am sorry to keep bothering you, but I have once again confused myself. Below I reference two bits of yt documentation and one yt cookbook example. http://yt-project.org/docs/2.6/reference/api/generated/yt.data_objects.data_... This is a function that returns the vertices of marching cube triangles http://yt-project.org/docs/2.5/api/generated/yt.data_objects.data_containers... This creates a surface object which also returns vertices of same marching cubes triangles. (Note that there is an error in the Examples section; the text there actually refers to the script shown on the previous extract_isocontours page.) http://yt-project.org/docs/2.5/cookbook/complex_plots.html#plotting-isoconto... This is an example which uses the output triangles of the surface object to make an isocontour plot So now I am rather confused. If I want to make an isocontour plot, using the vertices of the triangles resulting from the marching cubes method, what is the difference between these two? In particular, I have decided that I would like to output the vertices to a file and then read them in to some other plotting program. Are the two ways shown exactly equivalent? Is one to be preferred over the other, particularly if I want to use a sphere data container as my source? I have not been able to get the .surface to work with just a sphere data container. thanks Kathy -- Kathy DeGioia Eastwood, Ph.D. Professor of Physics and Astronomy Northern Arizona University Flagstaff, AZ 86011-6010 Ph: 928-523-7159 FX: 928-523-1371 Kathy.Eastwood@nau.edu deliveries: 602 S. Humphreys St., Bldg 19 Rm 209
Hi Kathy,
On Tue, Apr 29, 2014 at 2:32 PM, Kathy Eastwood
Dear yt folks,
I am sorry to keep bothering you, but I have once again confused myself. Below I reference two bits of yt documentation and one yt cookbook example.
http://yt-project.org/docs/2.6/reference/api/generated/yt.data_objects.data_...
This is a function that returns the vertices of marching cube triangles
http://yt-project.org/docs/2.5/api/generated/yt.data_objects.data_containers...
This creates a surface object which also returns vertices of same marching cubes triangles. (Note that there is an error in the Examples section; the text there actually refers to the script shown on the previous extract_isocontours page.)
http://yt-project.org/docs/2.5/cookbook/complex_plots.html#plotting-isoconto...
This is an example which uses the output triangles of the surface object to make an isocontour plot
So now I am rather confused. If I want to make an isocontour plot, using the vertices of the triangles resulting from the marching cubes method, what is the difference between these two? In particular, I have decided that I would like to output the vertices to a file and then read them in to some other plotting program. Are the two ways shown exactly equivalent? Is one to be preferred over the other, particularly if I want to use a sphere data container as my source? I have not been able to get the .surface to work with just a sphere data container.
I believe that they should be the same -- I'm sorry things aren't working for you as you'd like. Can you send a sample script?
thanks Kathy
-- Kathy DeGioia Eastwood, Ph.D. Professor of Physics and Astronomy Northern Arizona University Flagstaff, AZ 86011-6010 Ph: 928-523-7159 FX: 928-523-1371 Kathy.Eastwood@nau.edu deliveries: 602 S. Humphreys St., Bldg 19 Rm 209
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
participants (2)
-
Kathy Eastwood
-
Matthew Turk