Displaying 20 results from an estimated 4000 matches similar to: "Own Color Palette"
2006 Jan 07
2
need palette of topographic colors similar to topo.colors()
Dear useRs,
I got stuck trying to generate a palette of topographic colors that
would satisfy these two requirements:
- the pallete must be 'anchored' at 0 (just like on a map), with
light blue/lawn green corresponding to data values close to 0 (dark
blue to light blue for negative values, green-yellow-brown for
positive values)
- the brown must get darker for higher positive
2005 Aug 03
3
red-black-green color palette?
I'm working on some heatmaps, and the person I'm working with would
prefer a red-black-green color palette (red denoting gene induction and
green denoting gene repression). Does such a palette exist already?
If not, is there an easy way to create one?
Thanks,
Jake
2005 Mar 30
5
2d plotting and colours
Hi!
I am new to R just 3 days in it and i apologize if my questions seem very
trivial and consumed your valuable time.
I am coding in perl and i stumbled upon R regarding plotting good
statistical graphs.
I tried the kmean clustering for a large matrix ,say > 150 * 150 . I tried
the example code given in the tutorial to perform 2d plot
# i ranges from 2 to 10
cl <- kmeans(x, i, 20)
2012 Dec 12
3
create a color palette with custom ranges between colors
Hello everybody,
I'm trying to create my own color palette on R, in order to interpolate some
different temperature data on different maps (daily means, seasonal
means,...).
I would like to create a color palette which works for each map, so I need a
color palette between -40 and +40?C. Sometimes my data for one map range
from -10 to +20, sometimes from 10 to 30, etc... but always between
2009 Oct 09
4
Satellite ocean color palette?
Dear List,
Is there a color palette avaliable similar to what is used in satellite ocean color imagery? I.e. a gradient with blue on one end and red on the other, with yellow in the middle? I have tried topo.colors(n) but that comes out more yellow on the end. I am looking for something similar to what is found on the CoastWatch web page:
2008 Apr 24
2
alternatives to RColorBrewer?
I've found RColorBrewer useful for its qualitative palettes, but wished that
it could generate more than 12 qualitative palettes (e.g. with Set3). Any
suggestions for alternative color palette generators that can handle e.g. 18
distinctive colors? (I'm aware of using rainbow(), but this doesn't
generate enough distinct colors when the number of palettes is large).
Thanks,
Andrew
2005 Aug 04
2
color palette
Hi, I have a matrix with both positive and negative
numbers, I would like to use image() to draw a
heatmap. How can I can design a palette (or is there a
function already available) that treat negative
numbers in a blue gradient and positive numbers in a
red gradient and treat 0 as white?
Thanks
2007 Dec 04
2
color palette from red to blue passing white
Hi All,
I am looking for a color palette like this:
http://www.ncl.ucar.edu/Applications/Images/h_long_5_lg.png
I think I found out how some time ago (something like Colors[1:n]), but when
I now wanna use it, I could not remember how I did it.
Does anyone know which package I could use?
Many thanks!
Linda
[[alternative HTML version deleted]]
2007 Dec 04
2
color palette from red to blue passing white
Hi All,
I am looking for a color palette like this:
http://www.ncl.ucar.edu/Applications/Images/h_long_5_lg.png
I think I found out how some time ago (something like Colors[1:n]), but when
I now wanna use it, I could not remember how I did it.
Does anyone know which package I could use?
Many thanks!
Linda
[[alternative HTML version deleted]]
2010 Jul 06
2
grayscale wireframe??
I need grayscale formatting for a wireframe.
The only col.regions that I can find are color palettes are all colored:
rainbow(n, s = 1, v = 1, start = 0, end = max(1,n - 1)/n,
gamma = 1, alpha = 1)
heat.colors(n, alpha = 1)
terrain.colors(n, alpha = 1)
topo.colors(n, alpha = 1)
cm.colors(n, alpha = 1)
The code follows:
X11()
library(lattice)
par(family="serif", cex=1.2)
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
2020 Aug 07
2
User mapping?
On 8/7/20 12:00 PM, Rowland penny via samba wrote:
> On 07/08/2020 19:46, Simon Matthews via samba wrote:
>> I have a network with a Samba server (Samba 4, but running as an old
>> NT-style domain), Windows and Linux clients.
> You really should consider upgrading to AD,
>> Is there any way to have the Windows client access map to just "user",
>> with its
2016 Apr 16
5
Mean of hexadecimal numbers
Hi,
How would you calculate the "mean colour" of several colours, for
example c("#FF7C00","#00BF40","#FFFF00")?
Yours,
Atte Tenkanen
2006 Jan 09
0
need palette of topographic colors similar to topo.colors ()
I will second Roger's suggestion, colorRampPalette is a great function for
creating your own palettes. For example, Matlab's jet palette (also
available in fields package under peculiar name 'tim.colors') can be defined
by:
jet.colors = colorRampPalette(c("#00007F", "blue", "#007FFF", "cyan",
"#7FFF7F", "yellow",
2016 Apr 16
1
Mean of hexadecimal numbers
Hm...,
Should these two versions produce the same solution? Unfortunately and
shame to confess, I don't know much about the colors in R:
myColors <- c("#FF7C00","#00BF40","#FFFF00")
Colors=rgb2hsv(col2rgb(myColors))
apply(Colors,1,mean)
h s v
0.2122974 1.0000000 0.9163399
* * * * *
# Average the 1st two by taking the middle colour
2013 Jul 24
1
Alpha channel in colorRamp() and colorRampPalette()
Hi all,
I had the need to create a colorbar considering the alpha channel of the colors, but colorRamp() and colorRampPalette() ignored the alpha argument in rgb(). So I performed some minor modifs. in their codes, as to support the interpolation using the alpha channel.
I guess that those simple modifications might be useful for other people, so perhaps it would be worth to add them to
2020 Aug 07
6
User mapping?
On 8/7/20 12:58 PM, Rowland penny via samba wrote:
> On 07/08/2020 20:12, Simon Matthews wrote:
>>
>> The client is running CentOS 7:
>>
>> # cat /etc/redhat-release
>> CentOS Linux release 7.8.2003 (Core)
>>
>> After another attempt, I have successfully joined the linux client to
>> the domain:
>>
>> # net rpc join MEMBER -S
2011 Dec 22
1
levelplot + cut() for custom color palette
I have the following data as input, from which I would like to make a lattice levelplot:
-----------------
x y level
1 m3134 m3134 1.0000000
2 m3134 m416B 0.4189057
3 m416B m3134 0.2696508
4 m3134 mA20 0.3322170
5 mA20 m3134 0.2454191
6 m3134 mB 0.3176792
...
-----------------
I transform the levels as follows, so that
2011 Aug 31
1
unequal bins in filled.contour
Hello,
I am trying to plot SADIE red-blue plots of cluster indicies using
filled.contour. I want a plot which only has three bins for the data:
<-1.5, -1.5 - 1.5, >1.5, but I am having trouble getting there.
example
X1 X2 X3 X4 X5
1 -5 -4.5 1.0 4.5 6
2 -3 -2.0 1.2 -1.0 3
3 0 0.0 0.0 -0.5 -1
4 -2 -3.0 1.0 1.5 3
5 -6 -2.0 0.5 3.0 2
example<-as.matrix(example)
2013 Sep 22
2
colores
Como usas la función image puedes consultar la ayuda ?image o help(image) y
encontrarás el siguiente ejemplo donde se usa un diferente color Palette
(mencionada por pepeceb en su respuesta).
x <- 10*(1:nrow(volcano))
y <- 10*(1:ncol(volcano))
image(x, y, volcano, col = terrain.colors(100), axes = FALSE)
# O puedes usar directamente el número para indicar el color
image(x, y, volcano, col =