Displaying 20 results from an estimated 6000 matches similar to: "wireframe"
2007 May 25
3
normality tests
Hi all,
apologies for seeking advice on a general stats question. I ve run
normality tests using 8 different methods:
- Lilliefors
- Shapiro-Wilk
- Robust Jarque Bera
- Jarque Bera
- Anderson-Darling
- Pearson chi-square
- Cramer-von Mises
- Shapiro-Francia
All show that the null hypothesis that the data come from a normal
distro cannot be rejected. Great. However, I don't think it looks
2004 May 07
1
plotting planes and lines in wireframe()
Hi R-helpers
I would like to plot some planes which are perpendicular to the x-y
plane, such as x=y. Is there a way to do this in wireframe? I realize
that I am not plotting a function of x, y since there are infinite
number of z's that satisfy the above relation.... Hmm...
Somewhat related, I would also like to plot a line in 3 d space...
Finally, if you are feeling really brave, I
2011 Mar 04
1
lattice: wireframe "eats up" points; how to make points on wireframe visible?
Dear expeRts,
I would like to add two points to a wireframe plot. The points have (x,y,z) coordinates
where z is determined to be on the wireframe [same z-value]. Now something strange
happens. One point is perfectly plotted, the other isn't shown at all. It only
appears if I move it upwards in z-direction by adding a positive number. So somehow
it disappears in the wireframe-surface
2007 Apr 13
2
graphics - wireframe
Hi,
I would like to know about graphics for response surface in R. What are
arguments for a best graphics?
thanks,
Bruno
y <- c(66,39,43,49,58,17,-5,-40,65,7,43,-22,-31,-35,-26)
x1 <- c(-1,1,-1,1,-1,1,-1,1,rep(0,7))
x2 <- c(-1,-1,1,1,0,0,0,0,-1,1,-1,1,0,0,0)
wireframe( y ~ x1*x2 ,
scales = list(arrows = FALSE),
drape = TRUE, colorkey = TRUE,
screen = list(z = 30, x = -60),
2006 Feb 21
1
wireframe, axis label-axis separation, xlab rotation
Greetings,
A couple of questions:
1.
I am using wireframe. It prints 3d plots nicely on screen, but when I use a
postscript device the z-axis label merges with the z-axis. Is there any option
to control their separation?
2.
Again, using wireframe, I rotate the whole plot using the screen parameter.
However, the x- and y-axis labels (xlab and ylab) remain horizontal. How could
I rotate them?
2004 Jun 24
2
Rotate a plot generated by wireframe
Is there any way to rotate a plot generated by the wireframe function (lattice)?
Thank you,
Fabian Garavito
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 Feb 23
1
lattice.wireframe missing wireframe
Hello Everyone,
I am using R ver. 2.10.1 (2009-12-14). I installed lattice today via install.packages.
I am doing this minimal example:
M = read.csv("/path/to/csv")
cloud(x ~ y * z, data = M)
this correctly gives me a scatterplot of the csv data which has 3 columns. Every column contains 1800 numeric 0 < values < 1300
when I want to plot the corresponding wireframe via
2007 Dec 20
2
plot3d, wireframe, persp help
Hello,
I am trying to get a surface plot of a data set that looks like the following,
1 2 5.6
5 9 2.4
9 8 9.8
... to (60,000 rows down)
From my homework, the persp function only works with evenly spaced data points with the z data beeing in a matrix. my data is not in that format.
the wireframe fxn gives me an error,
no applicable method for "wireframe"
the
2012 Nov 22
1
[lattice] Increase distance between tick labels and ticks in wireframe plot ("pad")
Hello,
I try to increase the distance between tick labels and ticks in a lattice wireframe plot. Here's a minimal example:
## Minimal example
x <- y <- z <- c(1,2,3)
df <- data.frame(x, y, z)
wireframe(z ~ x*y, df, scales = list(arrows = FALSE, col = "black", font = 1, tck=0.6))
I tried the axis.components option
2005 Nov 18
2
Adding points to wireframe
Hi,
I am using function wireframe from package lattice to draw a 3D surface.
I would like to add a few points on the surface. I read in a post from
Deepayan Sarkar that "To do this in a wireframe plot you would probably
use the panel function panel.3dscatter". Does someone have an example?
When calling panel.3dscatter with only x, y and z arguments I get
"argument
2009 Jun 24
1
lattice wireframe within a loop ???
Hi,
I have the following problem. Calling wireframe within a loop results
into an empty window(s)
#generate some data
temp = expand.grid(A = 1:3,B = 1:3)
temp = cbind(temp, y1 = rnorm(9))
temp = cbind(temp, y2 = runif(9))
#plot y1 and y2 in two different windows
for(i in 1:2)
{
wireframe(y1 ~ A*B, temp, shade =T)
windows()
wireframe(y2 ~ A*B, temp, shade =T)
}
#However, calling it twice
2006 Oct 25
1
cloud() works but wireframe() is blank
Per the message from Alexander Nervedi, 29 April 2006:
> I have to be making a riddiculously silly ommission.
> when I run the fillowing i get the cloud plot ok. But I cant figure
> out what I am missing out when I call wireframe.
> Any help would be appreciated.
> x<-runif(100)
> y<-rnorm(100)
> z<-runif(100)
> temp <-data.frame(x,y,z)
>
2007 Sep 26
1
add points to wireframe
Hello
R-classicist won't like the following question due to there's no minimal reproducible example and the question was posted already.
Anyway I'm not able understand this rather complicated version of "add points to wireframe".
what I have is matrix 3x2000 with a dem<-(x,y,z, coordinates) (not provided).
with follwing code I want to produce the wireframe and add some
2011 Jan 03
4
how to invert the axes in the wireframe() plot
Dear List,
I am using the wireframe function in the lattice package, and I am wondering if it is possible to invert the default axes orientation for x and y axes... what parameter should I look for?
Best regards,
Simone Gabbriellini
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
2008 Oct 09
1
Altering the cube around a wireframe plot.
I'm trying to create a 3D plot using wireframe with certain parts removed. I would like to get rid of the part of the outer cube that crosses over the plot leaving the back two walls and the axes. It would also be useful to put lines in the plot separate from the wireframe call. I've looked through the documentation and have not been able to find such a request. Here is my code
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
|
|
|
|
2009 Mar 04
2
lattice: remove box around a wireframe
#Hi,
#
#somebody knows how to remove the outer box around a wireframe and
reduce the height
#
#
test = data.frame(expand.grid(c(1:10), c(1:10)))
z = test[,1] + test[,2]
test = cbind(test, z)
names(test) = c("x", "y", "z")
require(lattice)
wireframe(z ~ x*y, data = test, par.box = c(col = "transparent") ) #not
this one but the remaining outer box.
2011 Jun 06
2
Wireframe, custom x-axis values
Hi,
Im plotting some data with wireframe() like so:
wireframe(result ~ u * r, myData, scales=list(arrows=FALSE))
However, I would really like to display something different for the displayed values of "u" rather than the actual values.
This is because my u-values are a sequence of quantiles of myData, and I would like to display the quantiles used (e.g. "0.8 0.85 0.9