Displaying 20 results from an estimated 60 matches for "draping".
Did you mean:
draing
2012 Mar 26
1
Drape 3D scatterplot
...ape
in color, with the draped plane corresponding to the mean z values on the
plot (similar to: http://www.fleetwoodswoodworks.com/draped3Dscatterplot.jpg).
Does anyone know what package will allow me to do this? I used *
scatterplot3d()* for my first plot. I've tried doing a *persp()* plot and
draping that using *drape.plot()* in the *fields *package, but that colors
the facets without differentiating between the four points (corners) that
make up the facet...if that makes sense (see
http://www.fleetwoodswoodworks.com/color3D.jpg). Draping *wireframe()* from
the *lattice *package does the same t...
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).
2010 Aug 09
1
creating pdf of wireframe
Dear R list,
I have written some code to produce several wireframe plots in a panel. They
look good, but when I try to create a pdf, many (but not all) of the details
I have specified are not reproduced. For example, the line width I have
specified is not reproduced, and neither are the font sizes for the axis
labels. I'm an R novice, so I could really use some guidance.
Here is the code I am
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
2009 Apr 08
2
sourced plot commands not working
I have source a script running with no errors that ends in these lines:
==============
for (i in 2:3) win.graph()
dev.set(2)
levelplot(avg ~ procs * size, rrt, drape=T, colorkey=T,main="ops/sec",scales=list(x=list(tick.number=15),y=list(log=10)))
dev.set(3)
levelplot(avg ~ procs * size, ort, drape=T, colorkey=T,main="ops/sec",scales=list(x=list(tick.number=15),y=list(log=10)))
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
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
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 Feb 15
2
wire.frame tick labels from matrix
Dear R Users, close to the end of this I used wireframe to create a 3D plot
from a matrix. The x and y axis tick labels (1-6) for each were created
from the matrix being a 6X6 matrix. I need the axis tick labels to be the
row and column headings which you can see in the output (mat.x). I have
tried several work arounds, but they have not been successful.
Thanks in advance. keith
rm(list=ls())
2003 Feb 10
2
Wireframe (lattice) questions
I have a few questions on formatting wireframe plots:
1. How can I remove (or at least "white-out") the border on the plot?
(I.e., the 2-d box around the whole plotting area, not the 3-d cube). I'm
willing to hack the code if necessary.
2. Is it possible to suppress plotting of all sides of the cube except
for the axes?
3. Is there a reliable way to print expressions in
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 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:
2006 May 29
3
mtext in trellis-loop & colorkey
Hello,
I would like to create a sequence of plots (using a for loop). I read
in the FAQ that print() has to be used in order to obtain any output.
This works perfectly fine as long as I only consider one function
call in the loop, but I would like to add mtext() to the each plot in
the loop. Unfortunately, this did not work. Any suggestions?
As you can see from the provided example,
2003 Jul 16
1
wireframe question
Hi,
I'm probably being dense, but could somebody tell me how I can get tick marks on the axes of my wireframe plot to show up?
This gets me a beautiful looking plot, but no ticks:
wireframe(z ~ x * y, data, drape=T, colorkey=F)
Thanks in advance,
-James
[[alternative HTML version deleted]]
2007 Nov 29
1
Wireframe graph: black and white shading instead of color
All,
The code below produces a color 3D graph. I'd like to make it black and
white shading. I tried setting col.regions to FALSE but this just made it
completely white. I want the graph to look exactly as is, except black (or
grey) and white shading. Is this possible?
Cheers,
David
p.list = c(.01, .1, .25, .5, .75, .9)
cov.list = c(.2, .1, .05) ### leave out .01
X = rep(p.list, 3)
2010 Feb 02
1
Changing direction of an axis in cloud or wireframe plot
Is there a way to change the direction in which an axis is plotted in
cloud/wireframe?
For example, for the following code:
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 = 80, x = -60))
Is there a
2011 May 27
2
if you don't give yourself annoyance, others also can never
yes, I narrowed eyes and see the world again. I's eyes narrowed, at present of scenery was draped one hazy cloak, a fairly beautiful come out in the wash. As long as the phenomenon don't essence, some things, some things, some people don't need to see as well, as long as I see things scenery beautiful that side.
www.ebuybus.com
2006 Mar 04
1
Controlling (number of) wires in wireframe
Hi,
I would like to plot a wireframe (library: lattice) of the function f
(x,y)=x*y where x and y are equally evaluated between 0 and 1.
When one uses the option drape=TRUE then each "square" between the
"wires" (lines that build the surface shape) gets a certain color. A
perfect wireframe plot of a continuous surface would be, if you
(almost) can not distinguish
2006 Sep 22
4
Creating Movies with R
Dear All,
I'd like to know if it is possible to create animations with R.
To be specific, I attach a code I am using for my research to plot
some analytical results in 3D using the lattice package. It is not
necessary to go through the code.
Simply, it plots some 3D density profiles at two different times
selected by the user.
I wonder if it is possible to use the data generated for different
2009 Apr 23
2
Two 3D cones in one graph
Dear R-users:
The following code produces two cones in two panels. What I would like
to have is to have them in one, and to meet in the origin. Does anyone
have any good ideas how to do this?
Thanks for your help
Jaakko
library(lattice)
A<-matrix(ncol=2, nrow=64)
for(i in 0:63)
{
A[i+1,1]<-sin(i/10)
A[i+1,2]<-cos(i/10)
}