similar to: built in colors

Displaying 20 results from an estimated 10000 matches similar to: "built in colors"

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
2003 Dec 09
1
arni.colors
Dear r-devel, I have implemented a function to create color palettes with improved contrast and logical order, compared with the built-in ones: source("arni.colors.R") # code is given below barplot(rep(1,100), col=arni.colors(100), space=0, border=0, axes=F) par(mfrow=c(2,1)) # rainbow() has too much green... barplot(rep(1,50), col=rev(rainbow(50,end=0.7)), space=0, border=0,
2011 Nov 02
3
palettes for the color-blind
Everyone, I'm working with scatter plots with different colored symbols (via lattice). I'm currently using these colors for points and lines: col1 <- c(rgb(1, 0, 0), rgb(0, 0, 1), rgb(0, 1, 0), rgb(0.55482458, 0.40350876, 0.04166666), rgb(0, 0, 0)) plot(seq(along = col1), pch = 16, col = col1, cex = 1.5) I'm also using these with transparency (alpha
2010 Mar 17
1
hexadecimal colors
Hi I would like to produce a red shading I figured the easiest way to do that would be to use rgb in the following way: a <- seq(0,0.9,by=0.1) redshade <- rgb(red=1,green=a, blue=a) However, I don't really know how to plot things using hexadecimal colors. I used a function which tries to find the closest color to the rgb shades but it didn't work very well. Any
2008 Jul 27
2
Colors in Sweave
Hi list, I was using Sweave and was wondering if anyone has had any luck changing the font colors of the code chunks. For instance, in my .Rnw preample I tried including: === \usepackage[usenames]{colors} \definecolor{darkred}{rgb}{0.545,0,0} \definecolor{midnightblue}{rgb}{0.098,0.098,0.439} \DefineVerbatimEnvironment{Sinput}{Verbatim}{fontshape=sl,formatcom={\color{midnightblue}}}
2005 Mar 18
2
Trouble debugging with gdb, R on Windows
I'm trying to follow the example in the R for Windows FAQ on running gdb and am getting stuck because gdb tells me "Cannot access memory at address ...". Here's what my gdb session looks like (This one from a cygwin shell, but same results from plain Windows CMD shell): $ cd R-devel/src/gnuwin32 $ gdb ../../bin/Rgui.exe GNU gdb 5.2.1 Copyright 2002 Free Software Foundation,
2011 Aug 09
1
Transparent color ramp problem
Hello, I can't seem to add transparency to any color ramp I create using colorRampPalette(). Can someone tell me if it is possible to create transparent colour ramps? I am attempting to map shaded relief under elevation data. I know I can use the terrain.colors() with the alpha option, but I would prefer to create my own colour ramp using more vibrant colours. My most recent attempt at
2007 Feb 06
4
Mongrel service will not start on win32 w/ --prefix option
All, I am in need of some help. I''ve run into a problem that I am not able to fix or even troubleshoot. I am trying to run Mongrel as a service on Win32. Basically, my problem is that running Mongrel as a service works fine. Fine until I change the configuration (using service::remove and service::install) to use --prefix. I must have this as I am running multiple webapps and app
2000 Dec 14
2
create a function given a string
Hello, I am trying to dynamically create/define a function inside of another function (as part of a package.) I build a string that looks something like this: "x + y" and what I need to do is define a function f <- function(x,y) { x+y }. This function "string" is much more complex than this example and depends on other variables so there is no way to predict what the
2011 Feb 11
2
lattice auto.key gives mismatch colors
Hello All, I am using the following code to draw a figure. But the legend given buy auto.key has mismatched colors. Could any one help me? I am using R2.12.1 and most current lattice on windows XP. Thanks John library(lattice) src <- data.frame(t=rep(c('A','B','C','D'), rep(8,4)), s=rep(c(8132,8140,8178,8180,8224,8230,8337,8345), 4),
2004 Sep 17
1
Confused about specifying plot colors as RGB values
Based on reading 'rgb' documentation, I would have thought the following would have produced identical results. Can someone explain how to make this happen? I need to be able to specify an array of rgb values for the 'col' parameter. colnames.col <- c("black", "red", "blue", "green") colnames.rgb <- apply(as.matrix(colnames.col), 1,
2006 Dec 23
4
AltGr not working in R GUI Script Editor (PR#9430)
Full_Name: Zoran Bosnic Version: 2.4.0 OS: Windows XP SP2 Submission from: (NULL) (212.235.140.146) This is a problem that occurs in R GUI Script Editor and is connected to Windows regional settings. Since I live in Slovenia, my computer has a keyboard with additional slovenian international characters. I am therefore using Windows XP SP2 with Input Language (=Keyboard Locale, Control
2012 Dec 17
2
How to get transparent colors to sum to complete opacity?
Dear List, I want to use transparency in R to represent downweighting of observations based on clusters (repeated observations in a dataset). Some clusters will have identical covariate values in a parameter space -- in the 2D x,y case, these represent a bunch of semi-tranparent dots in the same place. I'd like these overlapping dots to be completely opaque. In other cases, the
2013 Jan 17
3
Getting discrete colors on plot
Hi, This is my first post; I'm new to R but am a senior statistical programmer. I have done a lot of graphs using SAS Graph but now am trying to transition to using graphs in R. I'm trying to produce a graph where the colors have three categories- ideally I would like them to be Green for good, Yellow for Questionable, and Red for bad. So I tried to do this in GGPLOT; here is my code:
2010 Nov 21
1
"negative alpha" or custom gradient colors of data dots in scatterplot ?
I know that by setting alpha to for example col = rgb(0, 0, 0, 0.1) it is possible to see how many overlapping is in the plot. But disadvantage of it is that single points are barely visible on the background. So I wonder if there is possible to make setting that single points would be almost black, but with more and more data on the same spot it would get more and more whiteish. Or maybe it is
2003 Oct 29
1
Wishlist: user-specified color names for palette() (PR#4836)
Full_Name: Hsiu-Khuern Tang Version: 1.8.0 OS: GNU/Linux (Debian unstable) Submission from: (NULL) (156.153.255.243) Hi, I use palette(rgb(red=..., green=..., blue=..., names=mycolors)) to define my own color palette. After doing this, the names `mycolors' are not stored in palette() anymore, so that palette() returns a mix of built-in color names and RGB values. Eg: > palette()
2000 Jun 26
1
using graphapp.h
Another question "graphapp.h" in R1.1 defines number of plotting function. is there an example of how to use them? Thank. --------------------------- Vadim Kutsyy vadim at kutsyy.com http://www.kutsyy.com -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info",
2000 Jun 26
1
using graphapp.h
Another question "graphapp.h" in R1.1 defines number of plotting function. is there an example of how to use them? Thank. --------------------------- Vadim Kutsyy vadim at kutsyy.com http://www.kutsyy.com -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info",
2004 Feb 10
3
how to get the GUI directory chooser on Windows?
Dear R-help, Can anyone tell me if it's possible to call up the "directory chooser" (the one you get when you click on "File" -> "Change Dir...") in Rgui from the R command line? Seems like file.choose() can't be used to choose a directory. This is in R-1.8.1 on WinXPPro. Any help much appreciated! Andy
2011 Aug 05
3
plotting many unique colors with categorical data
Hi- I am trying to plot a matrix of categorical values across time using color to represent each individual factor. For example: 1982 1983 1984 1985 1986 1987 1 19 19 68 68 19 19 68 2 68 68 19 19 68 68 19 3 26 26 34 34 26 26 26 4 57 34 57 57 34 57 34 5 34 57 26 26 57 34 57 6 28 28 28 28 28 58