Displaying 20 results from an estimated 3000 matches similar to: "wireframe shade=T colorkey"
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.
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)
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
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
2007 Jan 07
1
ffmpeg2theora icecast ubuntu edgy
Hi,
I had the same experience as Jacint and had to downgrade libshout to
the dapper version.
I also found that I had to downgrade icecast2 from 2.3.1-3 (edgy) to
the dapper version 2.3.1-2 in order to actually view the streamed
video.
Karim
2010 Sep 29
1
move colorkey
When using a wireframe, I need to move the colorkey from the "right"
position (default0 towards the plot. I have also needed to adjust the
height and used the code
colorkey=list(T,space='right',height=.5)
I have looked at documents (within levelplot) but cannot find a way to
move the colorkey other than right, left, bottom and top. I do not
understand corner interacts with x,
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,
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
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 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
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]]
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
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
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
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
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 Mar 20
1
grid on a wireframe plot
Hello,
I want to do a surface plot with wireframe from the lattice package.
As for now I use the following command :
print(wireframe(m,main="% my title", colorkey=TRUE,
col.regions=rainbow(100), drape=TRUE,aspect =
c(1,1.0),ylab="y",xlab="x",zlab="z",
scales=list(arrows=FALSE)),split=c(1,1,3,2), more=TRUE)
How can I show the gridlines in a 3D surface
2012 May 07
1
wireframe and par(mfrow)
Hello List,
I have some plots with the wireframe() function, and I'd like to
display them in a single jpeg file. I know that par(mfrow=c(x,y)) will
divide my display window in x rows and y columns, and although this
works with plot(), it looks like it's not working with wireframe.
here's my code:
library(lattice)
library(Cairo)
CairoJPEG("wiley-rank.jpeg", width=960,
2006 Feb 05
1
wireframe zlim option
Hello,
I would like to plot a wireframe of a function which is defined on the
unit square using the lattice library (for trellis-like plots). The plot
contains z-values of about 100 (only in the neighborhood of zero) although
most of the z-values are in the range of -let's say- 0 to 10. If I
evaluate this function on an equidistant grid of 25 points on the unit
square the plot quality is not
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),