Displaying 6 results from an estimated 6 matches for "gray75".
Did you mean:
gray45
2008 Sep 25
2
ggplot, qplot in loop
...gle plots within a loop, like this
(simplified and so on...):
trials <- c("A","B","C")
mycolours <- ("wheat","darkolivegreen","lightgreen",
"khaki","darkseagreen","orange","chocolate4","gray75")
for (i in 1:length(trials)) {
sql <- paste("select trial, cover_of, dateofsurvey, cover
from mytable where trial = '",trials[i],"'
mydata <- (sqlQuery(channel, sql))
mytitle <- paste("Development of Cover, ", trials[i],",sep...
2006 Jan 24
1
Basic graphics question
I have a toy example given here:
par(fig=c(0,1,0,0.05))
par(mar=c(0,0,0,0))
par(plt=c(0,1,0,1))
par(oma=c(0,0,0,0))
par(ann=F)
plot(c(0,1),c(0,1),type='n',xlab='',ylab='',main='')
rect(0,0,1,1,col='gray75')
What parameter am I missing to make the gray rectangle use the entire figure
region? I am trying to build a plot from pieces, but there is a little bit
of margin left by the code above that prohibits the pieces from fitting
together perfectly.
Thanks,
Sean
1997 Jul 14
1
R-beta: Plotting: numeric 'col' colors; col=0, col=1, .. | Nice "funclet"
...ciate for getting an
overview of 'pch' and numeric col :
###------- numeric 'col' / 'pch' test -----------
###--------------- === === ----------------
##
p.pch.col <- function(c.max = 49, codes = 0:c.max,
init = if(.Device == "X11") par(bg='gray75'))
{
## Purpose: Test / Examine the numerical 'pch' & 'col' plotting attributes
## -------------------------------------------------------------------------
## Arguments: codes: integer codes for pch & col
## --------------------------------------------------...
2010 Nov 26
3
lattice: strange behavior (?) when using trellis.device(color=FALSE)
Dear expeRts,
I am not sure if I found a bug...
I would like to create a function that itself creates a lattice plot without
colors. Following http://www.mail-archive.com/r-help at r-project.org/msg64699.html
I use trellis.device() to set the colors to FALSE. Whenever I call the minimal
example below *with* trellis.device(), Quartz opens a window (I am working on a
MAC), which it shouldn't,
2009 Mar 11
0
Working up examples of barplots with customized marginal items
...p
### of them. You can grab shades of gray like "gray30" or such.
### I'll just specify 4 colors I know will work. I prefer
### the light gray colors because they can be written over.
mycols <- c("lightgray","gray70","gray80","gray90","gray75")
barplot(x, names=mynames, las=2, col=mycols)
legend(2,20,legend=c("A","B","C","D"),fill=mycols)
### Still, I don't like the solid shades so much.
### fill up the bars with angled lines.
### density determines number of lines inside the bar.
myd...
2000 Feb 29
0
mapping of colornames into hsv: half way done
...ADADAD",
"gray69", "#B0B0B0",
"gray70", "#B3B3B3",
"gray71", "#B5B5B5",
"gray72", "#B8B8B8",
"gray73", "#BABABA",
"gray74", "#BDBDBD",
"gray75", "#BFBFBF",
"gray76", "#C2C2C2",
"gray77", "#C4C4C4",
"gray78", "#C7C7C7",
"gray79", "#C9C9C9",
"gray80", "#CCCCCC",
"gray81", "#CFCFCF&q...