Displaying 20 results from an estimated 500 matches similar to: "grid background color"
2003 May 01
1
rotate plot
Dear group members,
I am trying to plot two adjacent plots using layout function. One plot is scatter plot and the other is density plot. However, I would like that the density plot would be present horizonaly in respect to the scatter plot.
| |
| |
| |
|
2003 Jul 13
1
bootstrap for hclust
dear group members,
I am looking for a function that assess the stability of cluster. The result of hclust function is an hclust object which can be plot as a dendrogram. However to have confidence in the tree topology usualy bootstap is applied. I understand that I can apply bootstarp on the original data and then run hclust(dist() ) as much as I resampled but how to comapre the topologies the I
2005 Sep 27
3
Dummy quesion about environment
Hi,
I'm trying to understand environment object in R.
I used the example:
f <- function(x) {
y <- 10
g <- function(x) x + y
return(g)
}
h <- f()
h(3)
then i saw that f return an environment
> h
function(x) x + y
<environment: 01B28570>
but I coudn't access to x and y object in that environment:
I tried
2005 Nov 10
7
different functions on different vector subsets
Hi,
I am trying to apply two different functions on on a vector as follow:
a<-c(NA,1,2,3,-3,-4,-6)
if a>0 I would like to raise it by the power of 2: 2^a and if the a<0 I
would like to have the inverse value, i.e., -1/2^a.
so I thought of doing it two steps:
a[a>0]<-2^[a>0]
a[a<0]<-(-1)/2^a[a<0]
I got the following error
Error: NAs are not allowed in subscripted
2004 Jul 18
2
gray background in png
Hi all,
I'm having a problem creating png images with trellis.device. I would
like to create many plots with a white background using a sequence
number in the file argument (i.e. "%02d"). The first plot is as expected
with a white background. However, the second and all subsequent plots
have a gray background. I would like all plots to have a white (or
transparent)
2005 Apr 07
4
sweave bwplot error
Hi
I use sweave and have a problem with the following figure, but not with
other figures:
tt <- data.frame(c("a", "b", "c"), c(1.2, 3, 4.5))
names(tt) <- c("x1", "x2")
bwplot(x2 ~x1, data = tt)
ok now in sweave:
\begin{figure}[H]
\begin{center}
<<echo=FALSE, fig=TRUE, height=5, width=10>>=
lset(col.whitebg())
bwplot(x2 ~x1,
2004 Mar 16
2
graphical interface
Dear R users,,
I'm having difficulties when i use the gstat extensions in R
especially with the graphical interface, as the
variograms plots are depicted with gray background and cyan points for the number of pairs, Consequently the fitted variogram
is drawn in cyan,
How can i change that so i could have, white background and
black lines for the fitted variogram, for the complete plot.
2004 Jul 27
1
re: help with lattice plot
Dear List,
I have been using R to create an xyplot using the panel function within
lattice libraries. This plot is based on the data supplied in R named
'Oats'. The graph represents oat yield by nitro level with an overlay of
each variety of oats for each nitro level.
I have three questions regarding this graph:
1) I cannot seem to specify the type of symbol used by the plot, even
though
2004 Feb 04
5
Date Time Conversion problems...
At one time (version 1.7), the code below used to work for converting and
extracting based on the Date Time. In version 1.8.1, something changed I
know, but I cannot for the life of me figure out what...
Data:
UserName,RequestDate,PO,OrderDate,ExpDelivDate,Vendor,Total
"Woody, Jim",12/19/2002,AP15063,1/7/2003,2/10/2003,Ames ,8570
"Harrold,
2003 Feb 08
1
mirroring R
Dear supporter,
Can you tell me please how can I mirroring R at our site? One of the reasons I would like to do this is the fact that it is impossible to update R behind our firewalls.
Thank in advance
Ron Ophir, Ph.D.
Bioinformatician,
Biological Services
Weizmann Institute of Science
POB 26
Rehovot 76100
Israel
e-mail: Ron.Ophir at weizmann.ac.il
Phone: 972-8-9342614
Fax:972-8-9344113
2002 Jun 12
3
package lattice
Hi!
I am using R1.5.0. When using functions form lattice the background is
dark grey. I have tried to change it using par() but it does not work. By
the way, if I use par and the standard functions like hist() there is no
problem with the par function. Any hints?
Thank in advance,
Ignacio Perez
Escuela Colombiana de Ingenieria
2004 Jun 23
2
Tick marks in xyplot
Dear R group
I am making multiple xyplot, and would like to have tick marks on bottom and left in EACH panel, but only tick labels at the bottom and left of the whole graph.
I have browsed the internet, as well as the help page without success.
If anyone could help me find the path to the solution I would appreciate.
Here is an example, this is the best I could do:
lset(col.whitebg())
x.data
2004 Sep 22
1
layout for xyplot
Dear all,
I tried to use layout argument in xyplot to get one panel per page.
I have a dataframe named 'data' with the following variables:
x, y = coords,
sub, bloc = 2-level factors,
etat = 5-level factor,
I did :
> lset(theme = col.whitebg())
> xyplot(y ~ x | bloc*sub , data=data, groups=etat,
+ layout=c(0,1,4),
+ main="Etat des plantes dans chaque
2002 Sep 23
4
How do I change plot colors in bwplot
Hello,
I'm using bwplot to make a few plots. The plots are exactly what I
need, but are coming out with a grey background and turquoise boxes and
whiskers. I cannot figure out how to just get black and white to be
the default. Can anyone help me with this?
Thanks
Kenneth E. Nussear Phone 775 784-1703
Ecology, Evolution and FAX 775 784-1369
2004 Jan 15
5
Lattices: Cloud: Background
Hi,
There's probably some simple way of doing this, but I'm just not seeing
it - How do I get the background to be white instead of grey when I have
a cloud plot (using the lattices package)? par(bg="white") isn't
working. I'm assuming par commands won't work on lattice plots. What
should I use instead?
Thanks,
Adrienne
[[alternative HTML version deleted]]
2004 Aug 04
1
Horizontal color bar in filled.contour()
Hello.
I was wondering if it is possible to put the color bar (key) on the
bottom of the graph, like the "horizontal" toggle in image.plot, rather
than on the right side. Does anyone know if this is possible?
--jenny
2002 Aug 05
1
Dotplot
Hello,
I am using Dotplot (from Frank Harrell's HMISC library) to make a graph of rates
with confidence intervals but I get a 'black' background -- nice but not on a
printed document:
>Dotplot(group~Cbind(rate,lower,upper)|mortality,data=mort,ylab=' ')
How do I change the background (and other) collors in Dotplot?
Thanks for you help.
Marwan Khawaja
platform
2003 Jun 19
3
Background color(s) for groupedData plot
I've been using par() to check the graphics parameters
associated with both plot(<fitted linear model>) and
plot(<grouped data object>). AFAIK the only differences
are in the $cxy, $usr, $xaxp, and $yaxp parameters but
the background color for the grouped data plot is grey
while the linear model plot has a white background.
When I've tried par(bg = "white") prior to
2011 Oct 06
1
The "Sets" package and element equality test
Hi,
I tried to use the sets package yesterday, which seems to be a very powerful
package: thanks to the developers. I wanted to define sets of lists where 2
lists are considered equal if they have the same length.
So, I implemented:
match.2.list <- function(l1,l2){
length(l1)==length(l2)
}
and then defined my cset as:
s <- set(list(1,2),list(3,4))
lset <-
2003 Oct 19
2
problem with win.metafile( ): traceback()
For the first error message:
> win.metafile(file = "//.../plot1.wmf",
+ width = 8.5, height = 6.25)
> lset( list( background = list(col = "white")))
Error in get(x, envir, mode, inherits) :
variable "win.metafile://.../plot1.wmf" was not found
> traceback()
4: get(device)
3: trellis.device(device = .Device, new = FALSE)
2: trellis.par.get(item)
1: