Skip to content

Creating 3D plot

2 messages · Michal Zimmermann, Sarah Goslee

#
Hi,
On Wed, Nov 9, 2011 at 11:56 AM, Michal Zimmermann <zimmicz at gmail.com> wrote:
Your points are "lined up" because you're plotting
seq(min(traffic$lon),max(traffic$lon)) instead of your actual x
coordinates, and ditto for y.

I would think that you want
plot3d(x=traffic$lon, y=traffic$lat, z=traffic$alt)
but since you don't provide data (or even which package provided the
plot3d() function you're using, since there's more than one), it's
hard to say for certain.

Sarah