similar to: How to use alpha transparency channel for colors?

Displaying 20 results from an estimated 1000 matches similar to: "How to use alpha transparency channel for colors?"

2004 Oct 13
3
Maps and plotting
At our facility we have multiple sample points that are sampled on any given day. What I would like to do is create a map of the facility with the sample points (and point labels) and when we have out of specification results, place a transparent dot over the area on the map. As the number of OOS results builds up, I envision the dot getting darker. Are there any packages out there that can aid
2006 Aug 01
2
rgb and col2rgb color conversion/modification/shading
I want to get a lighter shade of a color...I have a lot of colored objects and want each one printed as a foreground against a slightly lighter background. I thought I could try something like changing the alpha channel by first converting it to rgb. But prior to trying that, I'm stuck with how to get the color after converting using col2rgb() to be interpreted again as a color, rather than
2013 Jun 07
1
col2rgb, factors & documentation
Hello Core Folk. Quite by accident I discovered today that col2rgb, when fed factors, acts on the integer representation of those factors: td <- as.factor(rainbow(5)) # not how I discovered the issue! td res <- col2rgb(td) res # but col2rgb("#FF0000FF") # this is td[1] but does not produce the same answer res[,1] # moreover as.integer(td) col2rgb(5) # the integer value of the
2005 Apr 18
2
Why no BIC.default function?
I'm using R 2.0.1. I looked in the email archives but didn't see anything on this topic. I've noticed a surprising (to me) difference between AIC and BIC: > methods("AIC") [1] AIC.default* AIC.logLik* > methods("BIC") [1] BIC.gls* BIC.lm* BIC.lme* BIC.lmList* BIC.logLik* BIC.nls* The BIC.gls BIC.lm BIC.lme BIC.lmList and BIC.nls functions appear
2005 Jul 08
1
Suggestion: Help users sort data frames
I've noticed that a frequently asked question on R-help is how to sort a data frame by multiple columns. Since this question is asked so often, making this task easier for users seems a worthwhile goal. At a minimum, the following changes to the documentation would surely be helpful and reduce email postings to R-help: 1. In the "See Also" section of the help page for
2004 Oct 17
1
FW: Plotcorr: colour the ellipses to emphasize the differences
-----Original Message----- From: Duncan Murdoch [mailto:murdoch at stats.uwo.ca] Sent: ned 2004-10-17 15:34 To: Gorjanc Gregor Cc: r-help at stat.math.ethz.ch Subject: Re: [R] Plotcorr: colour the ellipses to emphasize the differences On Sun, 17 Oct 2004 02:51:58 +0200, "Gorjanc Gregor" <Gregor.Gorjanc at bfro.uni-lj.si> wrote: [removed old stuff] >>I would also like to
2009 Oct 13
2
General means of matching a color specification to an official R color name
Hello List Dwellers: I?ve looked around quite a bit, but don?t quite see an answer that I understand. I?m looking for a way to take any kind of color specification (rgb, hsv, hcl, hex) and match it to the n-nearest R official color names. Clearly it is easy to interconvert different specification schemes and color spaces, but matching to the name seems a bit trickier. Seems like if one has a
2005 Dec 13
4
Ploting graphics using X tints from a color
Hi, I'm trying to draw a 2D plot using multiple tints of red. The (simplified) setup is the following: || year | x | y || My idea is that each year is plotted with a different tint of red. Older year (lightest) -> Later year (darkest). I've managed to plot this with different scales of grays simply by doing: palette(gray(length(years):0/length(years))) before the plot and for each
2004 Nov 03
2
Suggested color schemes for points, not regions?
I have seen a couple of posts about color schemes like those at the ColorBrewer site. Most recently: http://geography.uoregon.edu/datagraphics/color_scales.htm These color schemes can work very well for regions (bars, polygons, images, etc.) but are not very suitable for points and/or lines. Is anyone aware of research/suggestions for a color scheme to use for scatter plots? I've looked at
2011 Dec 28
3
transparency using plot+points with sp classes
How can I make one point graphics with transparency These are all sp classes: plot(polygons_area,axes=TRUE,asp=1.5,main="Title",xlab="Latitude", ylab="Longitude") points(observations2000,type = "p",pch=21,col="green") points(observation1999,type = "p",pch=21,col="blue") points(reference.points,type =
2000 Mar 29
1
pre summary: mapping of colornames into hsv?
Hi Martin, Great that you follow this. My original intention was to be able to translate colornames to hsv because this would allow using colornames to cut out a certain part of the colorwheel for colorcoding (HSV component H, see my code below) I think internally we might have colors represented as Colornames, ColorIntegers, ColorHexcodes, ColorRGBs, ColorHSVs (ColorCMYs?) however the R-user
2008 Mar 31
2
hsv2rgb in R
I noted that there is a hsv2rgb in the C-API, but no corresponding function in R, while rgb2hsv is available in R. Does the functionality of hsv2rgb hide under some other name? Dieter
2016 Apr 16
0
Mean of hexadecimal numbers
On 16/04/2016 8:47 AM, Atte Tenkanen wrote: > Hi, > > How would you calculate the "mean colour" of several colours, for > example c("#FF7C00","#00BF40","#FFFF00")? > Bert answered your subject line question. Your text is asking something else: if those are colours, you don't want to treat each of them as a single integer. A
2004 May 03
1
installed.packages hyperlink wrong in two spots (PR#6850)
Full_Name: Kevin Wright Version: 1.9.0 OS: Windows 2000 Submission from: (NULL) (170.54.59.160) The html help file for the 'library' function contains this sentence: Note that installed.packages() returns... The 'installed.packages' hyperlink points to 'installed.packages.html'. The latter file does not exist for me. I suspect the link should be to
2004 Oct 12
1
promptData still creates 'data(...)' in R 2.0.0
Not necessarily a bug report, but might be nice to change. I'm using R 2.0.0 on Windows 2000. The promptData function creates a .Rd file in which the 'usage' section is: \usage{data(<dataset>)} I've looked at several of the help files for various data sets. It looks like the use of 'data' is being reduced and so it might be more appropriate for promptData to
2007 May 21
3
Selecting complementary colours
Dear r-helpers, I wonder whether, given the "#rrggbb" representation of a colour, there is a simple way to select the complementary colour, also expressed as a "#rrggbb" string. Any suggestions would be appreciated. John -------------------------------- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario Canada L8S 4M4 905-525-9140x23604
2010 Oct 20
1
need for speed on grid.rect
When I use grid.rect to print a multi-coloured grid, it is incredibly slow compared to a single colour grid, or even a two colour grid. I've set out some simplified examples below. This is something I run literally thousands of times a day, so I would greatly appreciate any hints on how I might improve the speed??? library(grid) pushViewport(viewport( width = unit(100,
2005 May 18
1
SAMM package for mixed models
First, a disclaimer. I am not affiliatied with the SAMM package. I am only a user of the package, but I have been contacted (off list) by people requesting information about SAMM and so I am posting this information here. SAMM is software for fitting mixed models. Versions are available for both S-Plus and R. More information and downloads of the software (and manual) are available here:
2004 Jul 29
2
Parsing multi-line strings. Bug? Feature?
I have an S-Plus library that I would like to port to R. The library sends a mix of static and dynamic output to an html file. For example cat(" ... Big block of HTML formatting code ... ") cat(dat()) cat(" More static text ") With S-Plus I can just cut and paste HTML code from other files into my S-Plus script file. This makes maintenance of the script fairly easy. The
2010 Jan 28
2
color palette for points, lines, text / interactive Rcolorpicker?
I'm looking for a scheme to generate a default color palette for plotting points, lines and text (on a white or transparent background) with from 2 to say 9 colors with the following constraints: - "red" is reserved for another purpose - colors should be highly distinct - avoid light colors (like "yellow"s) In RColorBrewer, most of the schemes are designed for area fill