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 <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]> 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
>

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to