Displaying 20 results from an estimated 10000 matches similar to: "Surface plot - 3d"
2006 Mar 15
0
Surface plot
Hi, thanks for the help but I'm still having issues.
Basically, I have two matrices of equal dimension, one should produce
something similar to a heatmap.. The 2nd matrix should be the "heights"
for each value of the heatmap - producing a sort of surface plot.
Viewing this seems like a problem too, as I need to scale the x axis so
that ~140 labels are visible.
Maybe wireframe
2006 Mar 13
1
Wireframe axis labels
Hi,
I'm trying to do a surface plot using the wireframe function.
Everything is working beautifully except that I want to be able to
re-scale it a LOT so that I can fit ~145 labels on the x-axis or y-axis.
I've tried using zoom, scales, aspect, .. nothing seems to work. The
help on wireframe in R says that you can input a list of labels for any
of the axes, but this has also failed.
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
2006 May 08
1
persp or wireframe 3D plot: how can I independently adjust linewidth of the 'surface' and framebox?
It is a trivial matter to adjust the linewidth of the axes and plot
line in a 2D plot:
x <- 1:10;
y <- 1:10;
par(lwd=2); # axis (and others) linewidth
plot(x,y,"l",lwd=6); # plot linewidth
Is there anything comparable to this for persp or wireframe? I've
tried a number of ways, and the framebox/axes seem to be linked to
the linewidth used in generating the
2003 Sep 17
3
3D plot/surface rotation
How do I rotate 3D plots/surfaces generated by either cloud or wireframe?
Thanks.
Marc
Marc W. Zodet, MS
Health Statistician
Agency for Healthcare Research and Quality
[[alternative HTML version deleted]]
2011 Oct 31
1
3D Graph Surface and single points (eg wireframe with points)
Hallo!
?
I just want to make a 3D plot of a surface of a cone and want to plot some single points around.
?
I tried wireframe but cannot find how to plot single points
?
I tried scatterplot3d but there the surface is not simple to plot. And: How can I rotate the point of view by the z-axis
?
I tried persp3d but how can I add some single points?
?
Example:
?
library(lattice)
library(scatterplot3d)
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
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
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
2004 Aug 06
1
: (Lattice): Overlaying more than one trend surface using contourplot() and wireframe()
Hi,
Is there a way to plot more than one trend surface using the functions
contourplot() and wireframe(). I have found an add=T in contour(), but
no equivalent argument in contourplot() and wireframe()?
I have taken the example 11-2 (pages 441-451) from Design and analysis
of experiments (Montgomery 2001, 5th edition) to see if this could be
done in R. I have managed to plot individual
2011 Oct 13
2
how to plot two surfaces with lattice::wireframe
Hi all,
I'd like to plot the Real and Imaginary parts of some f(z) as two
different surfaces in wireframe (the row/column axes are the real and
imag axes). I know I can do it by, roughly speaking, something like
plotz <- expand.grid(x={range of Re(z)}, y={range of Im(z), groups=1:2)
plotz$func<-c(Re(f(z),Im(f(z))
wireframe(func~x*y,data=plotz,groups=groups)
But that seems like a
2010 Apr 28
1
What is the best way to plots surfaces in 3 dimensions?
Hi R help,
What is the best way to plots surfaces in 3 dimensions?
I also have the following availability problem with "plot3d" and "scatterplot3d", and "wireframe":
install.packages("scatterplot3d")
Warning: unable to access index for repository http://cran.ch.r-project.org/bin/macosx/leopard/contrib/2.10
Warning message:
In getDependencies(pkgs,
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
2010 Apr 06
6
3-D response surface using wireframe()
I am working on plotting a response surface using wireframe(). The default style/orientation is
z
|
|
y |
\ |
\ |
\ |
\ |
\ |
\ |
\ |
\|________________x
0
Now what I want the orientation of axes is:
z
|
|
|
|
2007 May 25
1
3D plots with data.frame
Dear all,
Thank you for any help. I have a data.frame and would like to plot
it in 3D. I have tried wireframe() and cloud(), I got
scatterplot3d(xs)
Error: could not find function "scatterplot3d"
> wireframe(xs)
Error in wireframe(xs) : no applicable method for "wireframe"
> persp(x=x, y=y, z=xs)
Error in persp.default(x = x, y = y, z = xs) :
(list)
2010 Sep 10
1
lattice package - wireframe plot : adding more than one surface and addiding a curve overlaid on the plot
Dear R help,
Suppose I have a dataframe with three columns named p, v and C.
Here C is a function of both p and v. I can plot the surface C(p,v) using the package lattice using the function wireframe.
Now if I have another dataframe - with 2 columns named p_ind and v_ind and pind is a function of v_ind.
I would like to overlay the plot of the curve p_ind, v_ind and C(p_ind, v_ind) onto my
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
2011 Jul 22
1
3d plotting with cloud and wireframe
Hi,
I'm trying to plot an equation in two variables to get a feel
for sensitivity to its parameters. I've run expand.grid to get made-up
vectors of the combinations of the two independent variables, and am trying
to plot the output of the dependent, M, against both the dependent in a 3d
space.
t <- 0:100
DBH <- 10:100
TxDBH<-expand.grid(t,DBH)
time<-TxDBH[,1]
2005 Mar 31
1
Surface plot for polynomial regression
Dear R-experts,
my goal is to visualize the following polynomial regression as a 3D-surface:
Z = b0 + b1*X + b2*Y + b3*XY + b4*X^2 + b5*Y^2
I believe that a solution to this problem may be of interest to a wider
range of scientists because the problem is a derivative of a more general
problem, i.e.: how to describe the relationship between one dependent
variable and the DIFFERENCE between two
2005 Feb 03
2
logistic regression 3D-plot
Dear R-helpers,
I tried to create a 3D surface showing the interaction between two
continuous explanatory variables; the response variable is binary (0/1).
The model is:
model<-glm(incidence~sun*trees,binomial)
then I used "wireframe" to create a 3D plot:
xyz<-expand.grid(sun=seq(30,180,1),trees=seq(0,4000,10))
xyz$incidence<-as.vector(predict(model,xyz))