Re: [R] 3D to 2D projection

2009-09-28 Thread Nair, Murlidharan T
[mailto:dwinsem...@comcast.net] Sent: Monday, September 28, 2009 2:57 PM To: Nair, Murlidharan T Cc: r-h...@stat.math.ethz.ch Subject: Re: [R] 3D to 2D projection On Sep 28, 2009, at 1:41 PM, Nair, Murlidharan T wrote: > David, > Have you used persp or trans3d before? Yes, both. persp require

Re: [R] 3D to 2D projection

2009-09-28 Thread Nair, Murlidharan T
Thank you for this info. I think this has what I need. Cheers../murli -Original Message- From: hadley wickham [mailto:h.wick...@gmail.com] Sent: Monday, September 28, 2009 2:27 PM To: Nair, Murlidharan T Cc: David Winsemius; r-h...@stat.math.ethz.ch Subject: Re: [R] 3D to 2D projection

Re: [R] 3D to 2D projection

2009-09-28 Thread David Winsemius
[(endPt1+1):(endPt1*2)],dnaStr$y[(endPt1+1): (endPt1*2)],dnaStr$z[(endPt1+1):(endPt1*2)],type="l") s3d$points3d(dnaStr$x[(endPt1*2+1):(endPtlength)],dnaStr $y[(endPt1*2+1):(endPtlength)],dnaStr$z[(endPt1*2+1): (endPtlength)],type="l") -Original Message- From: Dav

Re: [R] 3D to 2D projection

2009-09-28 Thread hadley wickham
> Have you used persp or trans3d before? Here is a little piece of data that I > am want to convert to 2d. I can plot (x,z) or (z,y). I know there is a better > way to convert it to 2d. I did it long time back in my 3d geometry class. http://en.wikipedia.org/wiki/3D_projection ? Hadley -- htt

Re: [R] 3D to 2D projection

2009-09-28 Thread Nair, Murlidharan T
r$z[(endPt1+1):(endPt1*2)],type="l") s3d$points3d(dnaStr$x[(endPt1*2+1):(endPtlength)],dnaStr$y[(endPt1*2+1):(endPtlength)],dnaStr$z[(endPt1*2+1):(endPtlength)],type="l") -Original Message- From: David Winsemius [mailto:dwinsem...@comcast.net] Sent: Saturday, September 26, 2009

Re: [R] 3D to 2D projection

2009-09-26 Thread David Winsemius
On Sep 26, 2009, at 10:07 PM, Nair, Murlidharan T wrote: Is there a method that I can use to convert 3D coordinates into 2D? Yes. I was looking at persp and trans3d. Are those the ones I should be looking at ? Yes. Thanks ../Murli -- David Winsemius, MD Heritage Laboratories West H

[R] 3D to 2D projection

2009-09-26 Thread Nair, Murlidharan T
Is there a method that I can use to convert 3D coordinates into 2D? I was looking at persp and trans3d. Are those the ones I should be looking at ? Thanks ../Murli __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE