Re: [R] RGL 3D plots are flat. Please Help

2013-03-20 Thread Duncan Murdoch
On 19/03/2013 1:12 AM, Ben Bolker wrote: Pascal Oettli ymail.com> writes: > > Hi, > > Try by multiplying "z" by 1000. > > HTH > Pascal Or try using persp3d() instead of rgl.surface() Or follow the call to rgl.surface with a call to aspect3d. (Actually, I generally recommend against using

Re: [R] RGL 3D plots are flat. Please Help

2013-03-18 Thread Ben Bolker
Pascal Oettli ymail.com> writes: > > Hi, > > Try by multiplying "z" by 1000. > > HTH > Pascal Or try using persp3d() instead of rgl.surface() __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the pos

Re: [R] RGL 3D plots are flat. Please Help

2013-03-18 Thread Pascal Oettli
Hi, Try by multiplying "z" by 1000. HTH Pascal On 19/03/13 11:42, Noah Silverman wrote: Oops, that was a type. d is just y. If you want to reproduce, I put the entire matrix, as a csv here: http://pastebin.com/gniyD4Rc Thanks, -- Noah Silverman, M.S. UCLA Department of Statistics 811

Re: [R] RGL 3D plots are flat. Please Help

2013-03-18 Thread Noah Silverman
Oops, that was a type. d is just y. If you want to reproduce, I put the entire matrix, as a csv here: http://pastebin.com/gniyD4Rc Thanks, -- Noah Silverman, M.S. UCLA Department of Statistics 8117 Math Sciences Building Los Angeles, CA 90095 On Mar 18, 2013, at 6:58 PM, Pascal Oettli wr

Re: [R] RGL 3D plots are flat. Please Help

2013-03-18 Thread Pascal Oettli
Hi, Your example is not reproducible. What is "d" in your command? Regards, Pascal On 19/03/13 10:21, Noah Silverman wrote: Hello, I have a matrix of simulated data that I want to plot as a 3D surface using RGL. Have followed the documentation carefully, but my plot only contains a weird

[R] RGL 3D plots are flat. Please Help

2013-03-18 Thread Noah Silverman
Hello, I have a matrix of simulated data that I want to plot as a 3D surface using RGL. Have followed the documentation carefully, but my plot only contains a weird "single slice" of the data. The actual RGL library and dependance seem fine as all of the demo code plots beautifully. The ac