[R] 3D trajectory plot?
Yihui Xie
xieyihui at gmail.com
Fri Nov 14 09:10:22 CET 2008
But it's not _smooth_ (as Chris asked for)... I also thought about the
plot3d(), but I don't know how to smooth the 3D points. AFAIK spline
functions only work for 2D cases in R? (Sorry I'm not familiar with
splines)
Regards,
Yihui
--
Yihui Xie <xieyihui at gmail.com>
Phone: +86-(0)10-82509086 Fax: +86-(0)10-82509086
Mobile: +86-15810805877
Homepage: http://www.yihui.name
School of Statistics, Room 1037, Mingde Main Building,
Renmin University of China, Beijing, 100872, China
On Wed, Nov 12, 2008 at 7:22 PM, Duncan Murdoch <murdoch at stats.uwo.ca> wrote:
> Chris Jarman wrote:
>>
>> Hello,
>> I'm attempting to create a smooth, 3D plot of a trajectory (rather
>> than the cloud or wireframe functions). I would rather the individual
>> data points not be visible. I've had no luck finding this on the
>> graphics or help pages. Thank you in advance. Chris
>> Some example data, just in case:
>>
>> 25 32 40
>> 12 25 32
>> 2 12 25
>> 2 2 12
>> 20 2 2
>> 1 20 2
>> 6 1 20
>> 5 6 1
>> 5 5 6
>>
>>
>
> plot3d(x,y,z, type='l') from rgl.
>
> Duncan Murdoch
>
More information about the R-help
mailing list