[R] How to draw following plot in R?

2008-11-22 Thread RON70

I want to draw following plot, given here
http://www.2shared.com/file/4327128/830b82c4/pic.html
for the following data :

dat - cbind(rnorm(100), sample(c(1:4), 1000, T))
colnames(dat) - c(data,level)

Here x-axis should be on data and y-axis is for level and z-axis should
be to display the frequency of data for a particular level

Is there any R code(s) to doing that?

-- 
View this message in context: 
http://www.nabble.com/How-to-draw-following-plot-in-R--tp20635099p20635099.html
Sent from the R help mailing list archive at Nabble.com.

__
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.


Re: [R] How to draw following plot in R?

2008-11-22 Thread Barry Rowlingson
2008/11/22 RON70 [EMAIL PROTECTED]:

 I want to draw following plot, given here
 http://www.2shared.com/file/4327128/830b82c4/pic.html
 for the following data :

 dat - cbind(rnorm(100), sample(c(1:4), 1000, T))
 colnames(dat) - c(data,level)

 Here x-axis should be on data and y-axis is for level and z-axis should
 be to display the frequency of data for a particular level

 Is there any R code(s) to doing that?

 I'm pretty sure there's no code for doing it in character graphics
like in your image link!

 Something similar can be found in the R graph gallery:

  http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=116

 Or if you want an interactive spinny 3d-histogram, get the rgl
package and look at demo(hist3d). See:

 http://rgl.neoscientists.org/gallery.shtml

 Those links should get you started. If you really do want ascii
character graphics...well, I think you're on your own

Barry

__
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.