similar to: Lattice: how to have multiple wireframe nice intersection?

Displaying 20 results from an estimated 2000 matches similar to: "Lattice: how to have multiple wireframe nice intersection?"

2010 Jun 25
1
Trying to tile wireframe plots (using lattice package)
Hi all, I'm trying to print a number of wireframe plots (generated using the lattice package), and I want them to appear in a two-by two matrix along with some other (standard) plots. In other words I am trying to create a subplot or tiled plot that works for wireframes. I've tried the methods discussed in: http://tolstoy.newcastle.edu.au/R/e2/help/07/07/21238.html but while they work
2008 May 30
1
Reducing space around lattice wireframe plots
Dear R-help. When plotting 3D wireframe plots with the lattice package, there is often a lot of space between the actual plot (i.e., cube) and panel borders. For a single wireframe, this is not a problem, but when plotting multiple wireframes, the wasted space decreases the size of the plots very much. Is there a way to decrease this space/margin? I could not find any information about it in
2011 Oct 05
1
Help with wireframe graphics problem (newbie)
All, I've read several tutorials re: generating wireframes, but am clearly missing something. I have data along the lines of: > tbl [1:10,] Visits Activity Course.Grade 1 17 2 18.31 2 7 11 20.67 3 9 17 24.69 4 28 71 38.72 5 43 107 45.46 6 14 5 47.77 7 25 51
2007 Sep 27
3
different colors for two wireframes in same plot
Hello R, According to: g <- expand.grid(x = 1:10, y = 5:15, gr = 1:2) g$z <- log((g$x^g$g + g$y^2) * g$gr) wireframe(z ~ x * y, data = g, groups = gr, scales = list(arrows = FALSE), drape = TRUE, colorkey = TRUE, screen = list(z = 30, x = -60)) i have two wireframes in one plot. How could i change the color of the top - one to transparent (or only the grid).
2011 Feb 26
1
wireframe() display a graph with two colors, not a gradient.
Hi all, I'm quite new to wireframe, essentially what I want to do is display a graph, and z-values > 1 would be yellow and those < 1 would be blue. This is a bit of my data. 0.334643563 0.350913807 0.383652307 0.370325283 0.38779016 0.42387392 0.39861579 0.418389687 0.460692165 0.43888516 0.468015843 0.520560489 0.499544084 0.535099422 0.60982153 0.569888047 0.634351734
2008 Jul 27
1
Lattice wireframe: How to avoid drawing lines around polygons when using shade=TRUE
I am using wireframe from the lattice package, with the shade option set to TRUE. When I output to PDF or Postscript, a line gets drawn around each polygon of my surface which causes ugly Moir? effects and doesn't make sense in my application (think the plot of Maunga Whau--gridlines don't make sense). This does not happen when I display on the screen-- then I just get the surface as
2008 Feb 16
1
Evaluate function on a grid
I have a function in R^2, say f <- function(x,y) { ...skipped } I want to plot this function using contour, persp. wireframe, etc. I know that the function has a global minimum at (x0, y0) The naive approach is to evaluate the function on the outer product of two arrays, like this: sx <- c(seq(-3, x0, len = 100), seq(x0, 3, len = 100)[-1]) sy <- c(seq(-3, y0, len = 100), seq(y0, 3,
2012 Mar 15
1
coloring wireframe plot with independent/separate matrix of color values.
Dear R Users, I am trying to plot a matrix (a Digital Elevation Model) using wireframe [lattice] and color that matrix based on a separate/independent matrix of the same resolution (both have the same number of rows and columns) as the DEM. More specifically I would like to plot a DEM using wireframe and color each cell/tile based on interpolated surface temperature measurements. Within the
2007 Sep 28
0
transparency of one layer in multiple wireframe plot
Sorry sending this again - is anyone familiar with multiple transparent wireframe plots? I already checked the ?wireframe, but with no examples and as newcommer its hard to find out a correct code. If we set drape=F in the example: g <- expand.grid(x = 1:10, y = 5:15, gr = 1:2) g$z <- log((g$x^g$g + g$y^2) * g$gr) wireframe(z ~ x * y, data = g, groups = gr, scales = list(arrows
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
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
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) >
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
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
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
2011 Apr 01
1
Lattice wireframe or cloud plot with different colours by a group
I have a question about wireframe 3-D plots and how to apply colors. I have a large dataset of river flow (m^3/s) over time, and I have coded these flows based on their height. I would like to produce a wireframe plot that colors the graph based on the flow code, i.e. I would like high flows to be red, medium to be green and low flows to be blue. Here is some sample data with the basic
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 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
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