flat box under RealTime3D
- To: mathgroup at smc.vnet.net
- Subject: [mg28909] flat box under RealTime3D
- From: maarten.vanderburgt at icos.be
- Date: Fri, 18 May 2001 01:13:12 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Hallo,
I want to show some scattered {x,y,z} data in a 3-dimensional plot using
ScatterPlot3D. So I load:
<< Graphics`Graphics3D`
This my data:
dat = Flatten[ Table[{x, y, 3 + Cos[x y/10000.]}, {x, -100, 100, 10}, {y,
-100, 100, 10}], 1];
The z-range in list dat is very small compared to x- and y-range. To
scretch the z-scale in my plot I use BoxRatios -> {1, 1, 1}:
ScatterPlot3D[dat, BoxRatios -> {1, 1, 1}]
produces a nice image in a cube.
I want to spin it around with the mouse. So I load:
<< RealTime3D`
and do
ScatterPlot3D[dat, BoxRatios -> {1, 1, 1}]
Instead of a cube I get graphics in a flat box with box ratios (100,100,1}
which doesn't show any structure in the z direction.
This seems a bug in RealTime3D. Has anyone seem the same problem?
How can I fix this? I am using Mathematica 4.1 under Windows NT4.
Thanks for your help,
Maarten van der Burgt
ICOS Vision Systems
R&D Department
Esperantolaan 9
B-3001 Leuven, Belgium