Displaying 20 results from an estimated 10000 matches similar to: "surface plot"
2002 Oct 21
2
3-D scatter plot laid over Surface plot
Hello,
I have created a Fitness surface (persp()), with data that was created
by a tp spline procedure. Now I would like to superimpose a set (XYZ) of
existing points (from two different treatments) onto this surface.
I didn't come across any function or command that is able to do this in R.
Could somebody please help me in finding a solution to this problem
Thank you
Peter
--
2003 Jul 13
2
Coloured 3d surface
Hello,
I created a 3d surface (persp) with some points overlaid on it, which is
fine. Now I have a second set of z-values(x,y-values same as the first
surface), which I would like to make visible on the same graph, however,
not as a surface, but rather as coloured contour on the first surface,
so that the resulting graph will consist of the original surface having
the colour of the second
2008 Nov 13
1
Surface plotting
Hi,
I would like to plot a matrix which comprises 3 columns.
So first column should be the x-axis.
Second the y-axis and the third one should be the z-axis.
I know that I can plot such data using the scatterplot3d, but I would like
to
have a surface plot like you can do with wireframe and persp. But both,
persp and wireframe,
want to have x and y as descending data, at least persp. I am not sure
2010 Apr 20
1
3D surface plot with wireframe or persp?
Hello Dear,
I have a function, like z=f(x,y), and try a surface plot with this function.
But, on the reference of "wireframe" requires data option, so I generated x
and y, and computed z with them. But, still I have a problem to draw a
surface plot. The code and errors are
##################################################
mle_beta0=64.43707;
mle_beta1=-24365.16;
# generating for
2011 Aug 17
2
3D surface plot
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 figure it's not possible to map the surface of A on the 3d space defined by B, C and D but I would like to create a surface defined by the
2004 Nov 26
3
Response Surface
Hi. I'm a student at Simon Fraser University in British Columbia, Canada. I
can't for the life of me figure out how to plot a 3D surface (A 3D response
surface to be more specific) in R. I found your email address on a web
board, and saw someone mention wireframe(), but using the help in R yielded
no results. Any suggestions?
Thanks.
Dean Vrecko
2006 Mar 11
2
Draw level lines on the surface of a bivariate function
Hello,
Is it possible to draw level lines on the surface of a bivariate function?
In the following example, to draw surface and levels lines for a
multivariate normal law,
I use persp, trans3d, contourLines and lines,
but if the lines are correctly drawn, some parts of them are, of
course, visible
even if they are drawn on a non visible "face".
Any suggestion to avoid this problem
2010 Aug 20
1
Surface generated as product of two curves
I have the following data table:
[,1] [,2] [,3] [,4] [,5]
[1,] 2575 1927 1754 581 354
[2,] 1156 810 730 541 237
[3,] 417 297 199 125 110
[4,] 281 132 132 47 58
[5,] 152 84 87 54 19
Each column represents a time interval expressed in nano-seconds
Each row represents an energy interval expressed m=n MeV
Each table value represents the average gamma rays intensity
2009 Oct 19
3
Variant of cloud with "sticks" from points to surface
Hi,
I'd like to
(1) plot a perspective view of a 3D scatterplot, with a fitted (curved)
surface;
(2) have a "stick" from each point vertically to the surface.
The latter helps one visualize where a point lies in 3D, relative to the
surface. Is there a variant of the cloud function (lattice package) which
might do this? As far as I can tell, the cloud function will
2008 Jul 03
2
Plotting Prediction Surface with persp()
Hi all
I have a question about correct usage of persp(). I have a simple neural
net-based XOR example, as follows:
library(nnet)
xor.data <- data.frame(cbind(expand.grid(c(0,1),c(0,1)), c(0,1,1,0)))
names(xor.data) <- c("x","y","o")
xor.nn <- nnet(o ~ x + y, data=xor.data, linout=FALSE, size=1)
# Create an (x.y) surface and predict over all points
d <-
2002 May 02
3
Surface Graphic
Hello list!
I have a problem with the function 'persp'. I have a data set with the
variables
X -> The X coordenate of the insect
Y -> The Y coordenate of the insect
deep-> how deep the insect buried into the soil.
I would like to have a plot with a surface simulating the way the insect
buried. Is it possible? If I type
persp(x,y,deep)
R gives me this error message
Error in
2006 Jun 03
2
Help on plotting a 3 dimensional surface
Hi
Im working on my master thesis, I need to get a plot currents distributed
over a surface.
I have the data listed in a dataframe with the x coordinates, y coordinates
and the value.
Im using the persp function but I’ve not found out how to put the data into
the z1 variable
es <-read.table("RDatalog_pass_dev_1_wafers_1_8V.txt",header=T,sep="\t")
x1 <-
2004 Oct 20
2
Plotting a 3D surface
Hi
Does R have a function or has someone written a function to draw a 3d
surface from a scatter plot of values using either ksmooth or locpoly. OR a
transform function a that merges x relation z and y relation z to (x,y)
relation z?
I tried out scatterplot3d but it seems it would take a bit of work to get
scatterplot3d to draw a curved surface.
Lawrence
2010 Apr 30
3
3D Surface plot
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's figure.
the R code is
x <- c(-1,-0.75,-0.5,-0.25,0,0.25,0.5,0.75,1)
y<- c(-1,-0.75,-0.5,-0.25,0,0.25,0.5,0.75,1)
z<-
2009 Aug 13
2
How to plot 3-D surface graph from lmer mixed models?
Dear R users,
I have a problem in plotting 3 dimensional graph using mixed models.
My model is
sur_prop ~
afr_c+I(afr_c^2)+I(afr_c^3)+byear_c+I(byear_c^2)+I(byear_c^3)+I(byear_c^4)+(1|Studyparish)+afr_c:byear_c
+afr_c:I(byear_c^2)+afr_c:I(byear_c^3)+afr_c:I(byear_c^4)+I(afr_c^2):byear_c+I(afr_c^2):I(byear_c^2)+I(afr_c^2):I(byear_c^3)+I(afr_c^2):I(byear_c^4)
This is a study on the effect of
2004 Dec 08
2
Surface graph.
What package/code could I use to create a 3-d surface graph of the predicted
values over two of the explanatory variables' coefficients?
Jim
James Bang
Department of Economics
University of Illinois
Well I AM missing the back of my head.you COULD cut me a little slack!
-Homer Simpson
2011 Mar 29
1
Dirichlet surface
Dear list members,
I want to draw surfaces of Dirichlet distributions with different
parameter settings.
My code is the following:
#<begin code>
a1 <- a2 <- a3 <- 2
#a2 <- .5
#a3 <- .5
x1 <- x2 <- seq(0.01, .99, by=.01)
f <- function(x1, x2){
term1 <- gamma(a1+a2+a3)/(gamma(a1)*gamma(a2)*gamma(a3))
term2 <- x1^(a1-1)*x2^(a2-1)*(1-x1-x2)^(a3-1)
2001 Aug 07
1
multiple persp plots
Hello,
I would like to plot two superposed surfaces (original data, and smoothed
models). Basically, I would like to create a usual persp plot with box, and
then superpose a second surface (without box and axes) on the top plane of
the box defined by the first graph. I don't know if it is clear :-(
Is it possible to draw such a second surface in an existing persp plot in R?
Another (related)
2008 Sep 30
0
adding planes/lines to 3d surface plots? (persp, wireframe)
Dear helplist members,
I have been using 'wireframe()' to make 3d plots using the following call:
wireframe (temp ~ xc2 * mc2, screen = list(z = 230, x = -70, y = 0),
scales = list (arrows = FALSE))
and these three vectors:
xc2 mc2 temp
[1,] 0.1 0.04 0.049797615
[2,] 0.2 0.04 0.049161159
[3,] 0.3 0.04 0.048006702
[4,] 0.4 0.04 0.046208311
[5,] 0.5 0.04
2008 May 06
1
How to put different color in some portion of a surface plot?
Hi all,
I have following problem :
a = b = seq(1, 50000, by=500)
v = matrix(0, nrow=length(a), ncol=length(a))
for (i in 1:length(a))
{
for (j in 1:length(a))
{
d = c(17989*a[i], -18109*b[j])
v[i,j] = t(d) %*% matrix(c(0.0001741, 0.0001280, 0.0001280, 0.0002570), nrow=2) %*% d
}
}
library("rgl")
open3d()