Re: [R] 2D and 3D graphing

2020-03-26 Thread EK Esawi via R-help
Thank you all; Bert, LMH, Duncan and others. I think i have a good idea now to resolve the problem i have. Wish you all the best and and hope you're all safe EK On Thursday, March 26, 2020, 5:24:03 PM EDT, LMH wrote: Bert Gunter wrote: > " I have attached a .zip with some sample data

Re: [R] 2D and 3D graphing

2020-03-26 Thread Bert Gunter
" I have attached a .zip with some sample data and a list of R terminal commands..." Maybe to Ek, but not to the list. The server strips most attachments. Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breath

Re: [R] 2D and 3D graphing

2020-03-26 Thread LMH
I have attached a .zip with some sample data and a list of R terminal commands. This is not very interactive by does create a useful 3D plot. The data that I used was generally not very large. In the sample commands "R_terminal_input.txt", the working directory is given as "C:/rgl_test". Line 14

Re: [R] 2D and 3D graphing

2020-03-24 Thread Duncan Murdoch
rgl can do that, but I have my doubts whether it is useful: x <- runif(500) y <- runif(500) z <- (x - 0.5)^2 + (y - 0.5)^2 library(rgl) plot3d(x, y, z, col = "red") dxyz <- deldir::deldir(x, y, z = z, suppressMsge = TRUE) plot3d(dxyz, add = TRUE, front = "lines", back = "lines", specular = "bla

Re: [R] 2D and 3D graphing

2020-03-24 Thread EK Esawi via R-help
Thank you Jeff. I have been using a textbook which has some of the chart types i was hoping to produce; that's 3D charts where points are connected by lines in 3D, like a grid. The book also has 3D fitted surfaces. The authors used exclusively R in this book. That's what i asked. Thanks again

Re: [R] 2D and 3D graphing

2020-03-23 Thread EK Esawi via R-help
Thank you Ista and LMH. I want to plot 3D scatter with options to connect the surface with lines;that's just like points connected with a  line in 2D and i may want to fit a surface to the data for soem of teh plots. LMH pointed out to what concerned me and the reason for the question which w

Re: [R] 2D and 3D graphing

2020-03-23 Thread LMH
Hello, I use rgl for 3D plots. Mostly I use this for a 3D scatter plot where I can zoom and pan for closer analyses of the data. I also can manually connect any points with lines. It took me a bit to get the options right so the plot appears the way I want it to. In my opinion, there are a few

Re: [R] 2D and 3D graphing

2020-03-23 Thread Ista Zahn
It depends on what you are trying to do, but ggplot-to-rayshader looks pretty slick. --Ista On Mon, Mar 23, 2020 at 7:52 AM Ek Esawi wrote: > > Hi All-- > > I have been looking into 2D and 3D graphing packages. Based on what i > read, it seems that ggplot2 is the best and I like it too, but ggpl