CUI, Guanglei:
|> | I have 20,000 data, but I'd like to view 2,000 of them at a time.
|> | Which module should I use to do this? Thanks in advance.
|
| Here is more information. It's 20,000 2D vectors, which are to be
| histgramed. But I need to see whether the histgram depends on the
| data size. So I'd like to create histgram every 2,000 vectors, for
| example.
Ok. Assuming you take the easy route and just store these 20,000 vectors
in a single field (something like the following) you can just use Slab to
pull out contiguous groups of position vectors from your vector field.
Randy
-----------------------------------------------------------------------------
object "positions" class array type float rank 1 shape 3 items 4 data follows
0 0 0
1 1 1
2 2 2
3 3 3
attribute "dep" string "positions"
#
object "connections" class gridconnections counts 4
attribute "element type" string "lines"
attribute "dep" string "connections"
attribute "ref" string "positions"
#
object "vectors" class array type int rank 1 shape 3 items 4 data follows
0 0 1
0 1 0
1 0 0
1 1 1
attribute "dep" string "positions"
#
object "default" class field
component "positions" value "positions"
component "connections" value "connections"
component "data" value "vectors"
#
end
-----------------------------------------------------------------------------
--
Randall Hopper (mailto:[EMAIL PROTECTED])
Lockheed Martin Operation Support
EPA Scientific Visualization Center
US EPA N127-01; RTP, NC 27711