>Hello, > >I have a "data" file that contains only the locations: > > Npoints: 1800 > 0.000000000000000 0.000000000000000 0.000000000000000 > -0.707106781186595 -0.707106781186595 0.000000000000000 >[snip: 1798 more such lines] > >These are the x-y-z coordinates of the my crystal atoms and I >want to use DX to visualize their locations. What I want to do is: > >1) read in the locations of the atoms from this file >2) attach in my VPE window a sphere with certain radius to each point >3) visualize that > >However, when I do: > > file = /home/lahaye/mycrystal.dat > points = marker "Npoints: " > field = locations > header = lines 1 > structure = 3-vector > type = float > end >
Worked for me when I dropped the "header = lines 1" line. The "marker" flag apparently already caused DX to go past that header line. Also, in addition to David's solution for your second issue of using "z" as "data" then Glyphing, you can bag the Compute(some constant) and just set Glyph ratio to 1.0 (all the same size), then Glyph scale to taste. Chris Pelkie Vice President/Scientific Visualization Producer Conceptual Reality Presentations, Inc. 30 West Meadow Drive Ithaca, NY 14850 [EMAIL PROTECTED]
