Displaying 20 results from an estimated 1837 matches for "grays".
Did you mean:
gray
2009 May 24
2
help with replacing factors
Hi,
In the example dataset below - how can I cahnge "gray20", to "blue"
# data
black <- rep(c("black","red"),10)
gray <- rep(c("gray10","gray20"),10)
black_gray <- data.frame(black,gray)
# none of this desperate things works
# replace(black_gray$gray, gray=="gray20","red")
#
2010 Sep 01
2
Legend with fill = gray ?
Hi,
I am facing a problem with the legend, I don?t know how to use the fill
option in the legend in order to achieve the same standard gray levels
that are plotted.
Sorry for this easy one, but I really did not find anything so far.
It works fine with color:
###### C O L O R
mat <- matrix(2,3,rep(2,6))
rownames(mat)<-c("A","B","C")
par(xpd=T,
2012 Jan 25
3
Gray levels
The gray (level) function returns different shades of gray, where level is a vector of numbers ranging from 0 to 1.? 0 is white and 1 is black and everything in between is a shade of gray.
Is there a function that will let me choose two different colors?? For example, a 0 might be blue and 1 might be red and in between might be a mix.
Jeffrey
2016 Jul 16
3
Moving Maildir folders
Hey!! It is now showing the former users' folders at the top level of the current user. Great!
Perhaps dovecot just needed time to "index" the new messages? Anyway, Luigi's suggestion on
moving and renaming the folders apparently worked.
Thanks!!!! --Mark
-----Original Message-----
> Subject: Re: Moving Maildir folders
> From: Frank-Ulrich Sommer <f-u.s at
2011 Dec 31
2
How to color a region in a contour plot with the contour being the boundary?
Dear expeRts,
I would like to color a certain region in a levelplot. The region for z <= 0.02 should have a dark gray color. Below is a minimal example. It almost does what I want, but The region between z=0.02 and z=1 is also colored in dark gray (instead of just the region for z <= 0.02).
How can I solve this?
Cheers,
Marius
## z values for given x and y
f <- function(x)
2003 Nov 16
2
Newbie: Barchart Gray with White Grid?
Hello,
I'm just getting in to R, been reading manuals (thanks to all who
provided pointers to good docs!), and messing with different commands.
I'd appreciate a little help with this exploration, and I hope that my
question is relatively easy to answer (probably, there's a simple way
to do what I'm working toward).
R's statistical functions are coming along easily enough,
2007 Feb 21
3
Different gridlines per panel in xyplot
In the example R script below, horizontal gray gridlines are drawn at y
coordinates where the points are drawn with the code:
panel.abline(h=y, v=xScale, col.line="gray")
How do I change this so that the horizontal gray gridlines are drawn at y
coordinates where the y labels are drawn? The challenge is that each panel
has different y-ranges (in my real example the y-ranges and
2009 Jan 24
3
Problem with colormodel in pdf driver
I'm trying to create figures in PDF that use the 'gray' colormodel
instead of the default 'RGB' model, by requirements of a publisher.
My problem has to do with the fact that I'm not being able to get gray
colors with this option on the pdf() driver. Here is a small example for
problem replication:
> R.version
_
platform
2009 Feb 19
4
problem with comparing a part of string with whole string
Hi all,
I got one problem with comparing strings like if any string is like
"*RIGHT, EPICARDIUM: FOCUS, GRAY-WHITE, SINGLE, APPROX 0.6 CM IN DIAMETER*."
and i have to compare "*GRAY-WHITE*" with the above string
or otherwise i have to compare " *TUMOR BENIGN*" this string
with
"*MEDULLRY TUMOR BENIGN,TYP PHEOCHROMOCYTOMA*"
i
2009 Mar 27
3
color vectors other than gray()
I'm trying to create a graph where different cells of a grid (a shapefile)
will be painted with a color share scale, where the most easy way is to use
gray().
Can I somehow get a vector (gradient) of colors, a vector of colors with
other methods but gray()?
I'm doing this until now
quad_N_sp <-
2010 Nov 22
2
xlim=c(min(x), max(x)) still produces extra margin on both sides of x axis in plot()
code:
op <-
par(bg='black',fg='gray',col='gray',col.axis='gray',col.lab='gray',col.main='gray',col.sub='gray',mai=c(0,0,0,0),
tck = 0.01, mgp = c(0, -1.4, 0), mar=c(0,0,0,0))
plot(x,y,ylim=c(-20,20),xlim=c(min(x),max(x)),pch='X',col = rgb(1,1,1,
0.5),yaxt="n", ann=FALSE)
abline(v=c(min(x),max(x)), lty=3,
2007 Oct 30
1
Polygon shading line colors
Hi there,
I'm having trouble working out how to change the colors of polygon
shading lines. If I plot a polygon with
polygon(poly,density=30,borders=gray(0.5))
I get gray borders but black shading lines; I have tried adding
col=gray(0.5), bg=gray(0.5) and fg=gray(0.5), but no luck.
How can I change the colors of the shading? The help file doesn't
seem to detail this, so any
2016 Jul 17
2
Moving Maildir folders
Am 2016-07-17 um 02:36 schrieb Mark Foley:
> Not quite there yet. The folders show up, but I cannot see the mail inside the folders unless
> (in the Thunderbird client) I uncheck the setting "Show only subscribed folders". Still, the
> top-level folder is shown as grayed-out/italics as well as the the sub-folder INBOX. All other
> sub-folder at the same level as INBOX are not
2007 Feb 12
2
Disk Failure Rates and Error Rates -- ( Off topic: Jim Gray lost at sea)
Selim Daoud wrote:
> here''s an interesting status report published by Microsoft labs
>
>
http://research.microsoft.com/research/pubs/view.aspx?msr_tr_id=MSR-TR-2005-166
That is the paper in which Jim Gray coined "Mean time to data loss".
It''s been quoted here before.
Sad note: Turing award winner Jim Gray has been missing now for two
weeks, after he went
2008 Feb 16
3
Gray scale video output from theora
hi all
I guess that *Theora* will convert the input color space (RGB or CMYK or
any) into YUV before it process and encode. (that means theora can operate
on several color space, but it get convert into YUV before process)
Is that true...?
I want to get a gray scale, encoded video output from the *Theora* encoder
while the input video is getting from a web cam (color input and gray scale
2007 Dec 25
1
both lines and plot characters in a lattice plot key
Hello,
I have two short questions concerning a key (legend) in a lattice
plot. I have points represented by two different plot characters
(crosses and circles) and they are colored from light to dark gray. I
would like to have 3 parts in my legend showing the two different
plot characters in the first two lines and the last line should
consist of a line segment for explaining the
2004 Apr 01
4
gray background on jpegs using dev.print()
When I try writing the current device to a jpeg file I keep getting a gray background
for the jpeg images using dev.print.
I have tried using the option bg="white" and bg="#FFFFFF"
but neither seem to have any effect.
If instead of writing to a screen device I open a jpeg device I can get any background color
I want. This works, but I prefer to write to the screen and then
2010 Oct 19
2
superpose.polygon, panel.polygon and their colors
Dear R-helpers,
the problem I'm facing today is to convince lattice to paint some areas
in gray.
The areas I would like to have in gray, are confidence bands
I've googled around in the mailing list archives and eventually find
some clues.
This link is my starting point
http://tolstoy.newcastle.edu.au/R/e2/help/07/04/15595.html
I'm reproducing here the code for your convenience
est
2000 Nov 23
3
hatch or line fill
M. Camanm posted in Jul 1999 the following message:
"
Is there any way to fill the bars in a barplot() with solid lines for
postscript output, i.e. cross hatch or parallel
lines, or a halftone gray rather than (semi) continuous-tone gray
produced by gray()? S allows this, or at least
used to, via the angle and density arguments to barplot(). The objective
of course, is to produce camera
2003 Mar 10
2
graphics backgrounds from gray to white in png()
Hi,
I'm trying to make a png file of a histogram. I would like a white
background in the final product but end up producing a gray one, despite
setting what I think are the correct parameters. Suggestions for how to
properly set a white background would be welcome.
Thanks in advance,
Scot
# for non-lattice
> par("bg"="white")
> par("bg")
[1]