Re: [R] 3D surface plot

2016-05-03 Thread Duncan Murdoch
On 30/04/2016 1:48 PM, T.Riedle wrote: Dear R users, I am trying to generate a 3D surface plot given the inflator formula in the attached file. Now, I want to create a 3D plot showing how Delta changes with the values of Abs(B) and sigma. The other variables in the formula are constant. Delta

Re: [R] 3D surface plot

2016-04-30 Thread Bert Gunter
There are several packages and functions that can do this (e.g. search on "3d surface plots" at rseek.org or internet search engine). You are much more likely to get a helpful answer if you provide a minimal data set (e.g. via dput() ) and code from any function(s) and package(s) that you tried. A

Re: [R] 3D Surface Plot

2013-12-19 Thread Adams, Jean
Check out the wireframe() function in the R package lattice ... library(lattice) ?wireframe Jean On Wed, Dec 18, 2013 at 9:30 AM, Simon Delay-Fortier < simon.delay-fort...@mail.mcgill.ca> wrote: > Hi everyone,I am a very new user of r. I am now mandated to draw a 3-d > surface (and possibly ro

Re: [R] 3D Surface plot

2013-12-18 Thread Barry Rowlingson
On Wed, Dec 18, 2013 at 2:52 PM, Simon Delay-Fortier wrote: > Hi everyone, > > I am a very new user of r (doing most of my previous stuff in vba). I am now > mandated to draw a 3-d surface of a mine pit hole. I have all the location > points (around 5000 points) of the pit in a CSV file under 3

Re: [R] 3d surface plot (ideally using rgl package)?

2012-03-02 Thread R. Michael Weylandt
It is by no means clear what the "peaks" function does or if it has any R equivalent, but perhaps looking at demo(rgl) will get you started. After that, you should probably show what you've tried (at least as far as replicating the calculation aspects). Michael On Fri, Mar 2, 2012 at 1:32 AM, e-m

Re: [R] 3D surface plot

2011-08-19 Thread Duncan Murdoch
On 11-08-16 9:50 PM, Eric Heupel wrote: I have what is probably a noob question, but I am trying to create a 3d plot to illustrate the range of values for the following simple function: A = B*(C/D) B, C, and D are independent variables whose range are equal (e.g. 1 to 3 inclusive) I fig

Re: [R] 3D surface plot

2011-08-16 Thread David Winsemius
On Aug 16, 2011, at 11:07 PM, Eric Heupel wrote: Thanks for the prompt reply. Will dig into rgl ASAP. My sample data set is: B,C,D,A 1,1,1,1 1,1,2,0.5 2,1,1,2 1,2,1,2 1,1,3,0.3 3,1,1,3 1,3,1,3 2,1,2,1 1,2,2,1 2,2,1,4 2,1,3,0.7 3,1,2,1.5 1,2,3,0.7 1,3,2,1.5 3,2,1,6 2,3

Re: [R] 3D surface plot

2011-08-16 Thread Eric Heupel
Thanks for the prompt reply. Will dig into rgl ASAP. My sample data set is: B,C,D,A 1,1,1,1 1,1,2,0.5 2,1,1,2 1,2,1,2 1,1,3,0.3 3,1,1,3 1,3,1,3 2,1,2,1 1,2,2,1 2,2,1,4 2,1,3,0.7 3,1,2,1.5 1,2,3,0.7 1,3,2,1.5 3,2,1,6 2,3,1,6 2,2,2,2 3,1,3,1 1,3,3,1 3,3,1,9 2,2,3,1.

Re: [R] 3D surface plot

2011-08-16 Thread David Winsemius
On Aug 16, 2011, at 9:50 PM, Eric Heupel wrote: I have what is probably a noob question, but I am trying to create a 3d plot to illustrate the range of values for the following simple function: A = B*(C/D) B, C, and D are independent variables whose range are equal (e.g. 1 to 3 incl

Re: [R] 3d surface plot

2010-05-13 Thread Uwe Ligges
On 11.05.2010 23:25, kun.z...@wmich.edu wrote: Hi,Sir or Miss: We meet a problem of plotting 3d, which is a part of 5D. In other word, we just fixed the rest of 2 variables and slice 5d into 3d. Consider a function like Y=f(x1, x2, x3, x4). We want to have a 3D surface plot in R for the fi

Re: [R] 3D Surface plot

2010-05-01 Thread Peter Ehlers
On 2010-04-30 13:35, abotaha wrote: Dear All, I want to create a surface plot from the data. My data set is consists of x, y and z data. I plotted in very easy way by Excel worksheet as shown in the attached picture. I did some steps in R, but I cannot have the same plot as in Excel worksheet'

Re: [R] 3D surface plot with wireframe or persp?

2010-04-21 Thread Uwe Ligges
You cannot specify a dfunction for z, but need to compute the values in the matrix yourself as in: persp(data_for_time, data_for_s, outer(data_for_time, data_for_s, plot_R_i_3d)) Uwe Ligges On 20.04.2010 17:35, Jin wrote: Hello Dear, I have a function, like z=f(x,y), and try a surfac