Re: [R] create a '3D line plot'

2010-09-13 Thread Jim Lemon
On 09/13/2010 06:17 AM, Karl Brand wrote: Cheers! All excellent, runable examples helping me progress quickly. Being more a qualitative plot, the y-axis is less important. But it did get me thinking- Coloring each of the plotted lines, say 'altitude colors' like the classic volcano example to

[R] create a '3D line plot'

2010-09-12 Thread Karl Brand
Esteemed useRs and developeRs, I need to create a '3D line plot' (proper name?) of which an excellent example can be viewed here: http://cococubed.asu.edu/images/87a/images/unknown_pleasures.jpg I have some experience using the rgl package to create 3D PCA plots, but have no idea where to

Re: [R] create a '3D line plot'

2010-09-12 Thread Duncan Murdoch
On 12/09/2010 10:12 AM, Karl Brand wrote: Esteemed useRs and developeRs, I need to create a '3D line plot' (proper name?) of which an excellent example can be viewed here: http://cococubed.asu.edu/images/87a/images/unknown_pleasures.jpg I have some experience using the rgl package to

Re: [R] create a '3D line plot'

2010-09-12 Thread David Winsemius
On Sep 12, 2010, at 10:12 AM, Karl Brand wrote: Esteemed useRs and developeRs, I need to create a '3D line plot' (proper name?) of which an excellent example can be viewed here: http://cococubed.asu.edu/images/87a/images/unknown_pleasures.jpg Set up blank plot region with proper ranges

Re: [R] create a '3D line plot'

2010-09-12 Thread Dennis Murphy
Hi: Another approach is to use lattice: http://lmdvr.r-forge.r-project.org/figures/figures.html Go to Chapter 14 and click on Figure 14.3; the code is on the RHS of the figure. HTH, Dennis On Sun, Sep 12, 2010 at 7:12 AM, Karl Brand k.br...@erasmusmc.nl wrote: Esteemed useRs and developeRs,

Re: [R] create a '3D line plot'

2010-09-12 Thread Karl Brand
Cheers! All excellent, runable examples helping me progress quickly. Being more a qualitative plot, the y-axis is less important. But it did get me thinking- Coloring each of the plotted lines, say 'altitude colors' like the classic volcano example to reflect the (scaled) values the lines

Re: [R] create a '3D line plot'

2010-09-12 Thread Dennis Murphy
Hi: Here's a fairly basic ggplot2 version with a few warts in it: # Generate means means - rpois(30, 10) # Create 30 Gaussian random samples of size 100, using means to # define the population mean for each sample (via sapply) df - data.frame(ds = rep(1:30, each = 100), x =