similar to: Trying to tile wireframe plots (using lattice package)

Displaying 20 results from an estimated 3000 matches similar to: "Trying to tile wireframe plots (using lattice package)"

2011 Feb 04
1
Suppress only Z axis tick marks and numbers in wireframe statement
I actually have several questions revolving around the generation of wireframe plots. The most pressing is that which is described by the subject line. I am trying to produce a figure with x, y, and z labels, but only tick marks on the x, and y axes. I have supplied sample code below substituting the volcano data set for my own such that you may run the code and see the results.
2009 Jan 16
1
Lattice: how to have multiple wireframe nice intersection?
Hello, This code builds a simple example of 2 wireframes : require(lattice) x <- c(1:10) y <- c(1:10) g <- expand.grid(x = 1:10, y = 1:10, gr = 1:2) g$z <- c(as.vector(outer(x,y,"*")), rep(50,100)) wireframe(z ~ x * y, data = g, groups = gr, scales = list(arrows = FALSE)) However, the intersection between the wireframes is not properly drawn. Is there a way to fix this
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?
2010 Jul 20
1
blank pdf output when called in a loop
Hi, I'm hitting a strange problem where pdf plots that I'm trying to make are blank, only when produced from within a loop. The pdf contains 0 page. I've narrowed the problem to this minimal script that invariably produces an empty pdf with my setup: pdf("/local/scratch/1.pdf", width=8, height=8) for (k in 1) { wireframe(volcano) } dev.off() The odd thing is that
2009 May 05
2
Lattice: use levelplot as panel for wireframe
Hi, I want to draw a figure similar to http://dsarkar.fhcrc.org/lattice/book/images/Figure_13_07_stdBW.png from http://lmdvr.r-forge.r-project.org/figures/figures.html (figure 13.7) . However instead of using a contour plot as a panel for the wireframe I want to use a levelplot. Can somebody help me with this? Thanks in advance for any help, Kind regards, Anton Bossenbroek
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 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
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,
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
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 Jul 30
2
wireframe color
Hello, hopefully simple question, but I cannot find the answer. I need to change the color from the standard default. Still want the scaled colors, but need different colors for different graphs. Code is: wireframe(z ~ y*x, mat.df, drape = TRUE, zlab = list("Water mass error (%)",rot=92), zlim=c(-50,180), xlab = list("Resistance error
2012 Mar 28
4
Grafico en 3D
Buenas tardes, Podria por favor alguien ayudarme a descifrar por que no es posible ver la grafica 3D cuando se utiliza lattice? Ya se que algunas veces los duendes hacen de las suyas, pero no estoy seguro de que este sea el caso. He reiniciado R, cambiado a RStudio y utilizado XP, pero no pasa "nada". Mi sessionInfo() es: R version 2.14.0 Patched (2011-11-12 r57642) Platform:
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).
2007 Oct 11
1
wireframe shade=T colorkey
Hi, I am using wireframe with shade=T and I would like a colour key that matches the colours produced with the option shade=T. How do I do this? Thanks, Karim
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
2010 Mar 03
2
Screen settings for point of view in lattice and misc3d
I'm making some 3D plots with contour3d from misc3d and wireframe from lattice. I want to view them from below; i.e. the negative z-axis. I can't figure out how to do so. I would like my point of view looking up from below, with the z, y, and x axes positive going away. Can anyone tell me the correct settings for screen to achieve this? Here is what I've found so far:
2001 Feb 12
1
3d plots?
Hi all I'm trying to create a three-dimensional wireframe-type plot, much like the screenshot shown at http://www.r-project.org/screenshots/volcano-persp.jpg In my case, I'm trying to show a density estimate of two-variable system, using the GenKern package. I've used the image() and contour() to create a nice shaded plot, but I've found a 3d plot is often easier for the
2006 Sep 11
3
wireplot margins and additional z-axis
Dear R experts, it would be very kind if you could help me with two wireplot problems. First, when I make a wireplot and transform it into an .eps using the postscript function the eps-file leaves always a lot of space below the plot, as if it would leave space for a legend or something like that. How can i get the plot into the bottom corner without the space below? The space is not there when
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