Re: [R] how to create 3d graph w/ spherical coordinates?
Buzz Buzzerr wrote: Are there any R-routines/packages that will do 3d graphics for data in spherical coordinates? I have had no luck with Google searches. Thanks in advance for your reply. Buz I don't know of one, but you can certainly write a function to translate your version of spherical coordinates (there are several different conventions) into Euclidean coordinates, then plot those using the functions in rgl. You'll have to work out your own scheme for drawing axes. 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.
[R] how to create 3d graph w/ spherical coordinates?
Are there any R-routines/packages that will do 3d graphics for data in spherical coordinates? I have had no luck with Google searches. Thanks in advance for your reply. Buz [[alternative HTML version deleted]] __ 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 create a graph layout?
At 02:32 27/04/2009, Christian Bustamante wrote: I all, I want to create a graph layout in a 3x3 matrix like this: ylab |__| |__| |__| ___ ___ ___ ylab |__| |__| |__| ___ ___ ___ ylab |__| |__| |__| xl xl xl With this layout, then I'll insert the 9 plots. How ca I create it? see ?layout # Example layout(matrix(1:9,ncol=3, byrow=TRUE)) for(i in 1:9) plot(density(rnorm(1000)), main=paste(Graph N°,i)) Hope it helps. Etienne -- CdeB __ 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. + + Cuvelier Etienne + Assistant + FUNDP - Faculté d'Informatique + rue Grandgagnage, 21 B-5000 Namur (Belgique) + tel: 32.81.72.49.75fax: 32.81.72.49.67 + skype: cuvelier.etienne THE TOP TEN REASONS TO BECOME A STATISTICIAN 1. Deviation is considered normal. 2. We feel complete and sufficient. 3. We are mean lovers. 4. Statisticians do it discretely and continuously. 5. We are right 95% of the time. 6. We can legally comment on someone's posterior distribution. 7. We may not be normal but we are transformable. 8. We never have to say we are certain. 9. We are honestly significantly different. 10 No one wants our jobs. __ 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.
[R] How to create a graph layout?
I all, I want to create a graph layout in a 3x3 matrix like this: ylab |__| |__| |__| ___ ___ ___ ylab |__| |__| |__| ___ ___ ___ ylab |__| |__| |__| xl xl xl With this layout, then I'll insert the 9 plots. How ca I create it? -- CdeB __ 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 create a graph layout?
For base graphics, you can do it with par - specifically mfrow or mfcol par(mfrow=c(3,3)). Depending on exactly what you want, you might also wish to look into axis(). For fancier set-ups, the lattice package provides many options. Sarah On Sun, Apr 26, 2009 at 8:32 PM, Christian Bustamante cde...@gmail.com wrote: I all, I want to create a graph layout in a 3x3 matrix like this: ylab |__| |__| |__| ___ ___ ___ ylab |__| |__| |__| ___ ___ ___ ylab |__| |__| |__| xl xl xl With this layout, then I'll insert the 9 plots. How ca I create it? -- CdeB -- Sarah Goslee http://www.functionaldiversity.org __ 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 create this graph?
You could create this graph using barplot (give a matrix with the input), then use the text and possibly lines or segments functions to add the text and any additional lines needed. However, this graph is not clear to me, the box with 41 in it looks bigger than the box with 59, are those supposed to be the values of the boxes? Or somethning else. If you can give a better description of what you are trying to accomplish, then maybe we can give better advice (including possibly a better graph to create). -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare [EMAIL PROTECTED] (801) 408-8111 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of squall44 Sent: Monday, October 01, 2007 1:42 AM To: r-help@r-project.org Subject: [R] how to create this graph? Hello, I'm trying to create the following graph: http://www.nabble.com/file/p12974686/bar.gif Is there a command (like pie(...) or barplot(...)) or is this just a special case of eg barplot? I'd be glad if someone could give me a hint on where to start. Regards, Tobias -- View this message in context: http://www.nabble.com/how-to-create-this-graph--tf4546742.html #a12974686 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. __ 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.