search for: coloured

Displaying 20 results from an estimated 3060 matches for "coloured".

Did you mean: colored
2009 May 21
1
Colour Schemes
I've been thinking hard about generating colour schemes for data. There's quite a bit of existing code scattered in various packages for playing with colours and colour palettes, but I can't find the sort of thing I'm after for applying colours to data... To my mind a colour scheme is a mapping from data values to colours. There's a multitude of such mappings depending on the
2006 Dec 29
0
[808] trunk/wxruby2: Make Wx::Colour#== work correctly as documented, tidy docs for that class
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2007 Mar 21
0
[904] branches/wxruby2/wxwidgets_282: Changes in Wx::Colour API 2.6 -> 2.8
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2009 Nov 23
1
Natural colours for topographic data
...9; and 'terrain.colors' are of little to no use here. The problem is that these functions only return a palette of colours; they don't map depth values to colours. So if I plot (using 'image', 'persp' or similar functions) and specify these palettes, ocean areas may coloured green (indicating) land, which may be quite confusing. I have looked through various packages, and have found several colour palette functions, but none that do what I need. Basically, I just need a function that takes a vector of elevation values as input, and outputs a vector of 'natural&...
2008 Jul 06
3
VNC 'fix' for 256 colour game only shows 2 colours?
...I can play it through a 256 colour VNC connection, but so far I can get the game to run but only in two colours. Other apps I start in VNC (e.g. Eye of Gnome) do show in 256 colours, it's just the 256 colour game that shows in 2 colours. Does anyone have any ideas why I might be getting a mono-coloured game? I started VNC using: Code: vncserver :2 -cc 3 -depth 8 -geometry 800x600 And the log file says: Code: Xvnc Free Edition 4.1.2 Copyright (C) 2002-2005 RealVNC Ltd. See http://www.realvnc.com for information on VNC. Underlying X server release 10499901, Sun Jul 6 16:50:44 2008 vnce...
2009 Aug 10
2
ggplot: colours to geom_segments
Just as an exercise I am tying to add colours to a geom_segment command. I can get one colour but not a sequence of colours. Can anyone suggest how I can get the green lines in the plot below to be different colours? I thought I could use a palatte of colours but that did not seem to work. Thanks ========================================================================= library(ggplot2) xx
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
2006 Mar 24
7
belongs_to relation busted....why?
Ok, been banging my head on this and just can''t figure it. Normally, any table that has a belongs_to to another table you can easily access it by: table1.table2.field And it works perfectly for one table I have. Let''s call it... tags. So, I''ve got: Tag -> has_many :blah_tags Blah -> has_many :blah_tags Blah_tag -> belongs_to :tag, belongs_to :blah Ok, works
2010 Oct 11
2
filled.contour: colour key decoupled from main plot?
Dear R colleagues, I am trying to plot some geophysical data as a filled contour on a continent map and so far the guidance from the R-help archives has been invaluable. The only bit that still eludes me is the colour key (legend) coming with filled.contour: I prefer to generate my own colour palette, mainly based on the quantiles of tenths of the data in order to capture the whole range (of
2008 Apr 22
2
Getting rid of borders on semi-transparent plotting symbols
R version 2.7.0 RC (2008-04-20 r45403) When using semi-transparent filled plotting symbols, the border of the symbol has a different (darker) colour than the interior: plot(0, 0, pch=19, col="#FF000022") (Saving this as a PDF and looking at it magnified may make it easier to see.) This is pretty annoying, since when plotting partially overlapping points, the border colour dominates,
2006 Dec 21
1
heres how to get color output in rspec_autotest with rspec 0.7.5
In case anyone else is trying to make this work, here is what I did (Before 0.7.4 I had patched the regex in zentest redgreen, but that is not used any more) To use directly, it is very simple. In rspec_autotest/lib/ rspec_autotest.rb, add a -c to the spec_command in the initializer function: @spec_command = "spec -c --diff unified" This won''t help however if you want
2004 Dec 21
4
Creating a vector of colours that are as different from one another as possible
Hi I want to create a vector of colors that are as different from one another as possible. ?rainbow states "Conceptually, all of these functions actually use (parts of) a line cut out of the 3-dimensional color space...". This suggests to me that the resulting colors are all placed on this "line" and are equi-distant along it. The resulting color palette is a range of
2012 Nov 07
1
change colour of geom_step by scale_colour_manual
Hi, Color of my step plot is now by default. Now I'd like to change the color as the grey scale I specified. I don't know why I got three black plot. Here I attach two version of codes. The first one produces a step plot with color by default. The second one, modified from the first one, is not producing the grey scale I want. Any help would be highly appreciated. [version 1- working]
2011 Mar 17
4
Help with plotting a line that is multicoloured based on levels of a factor
...what I'm using: date=c(1:300) flow=sin(2*pi/53*c(1:300)) levels=c(rep(c("high","med","low"),100)) data=cbind.data.frame(date, flow, levels) the "levels" column represents the levels of flow. What I've done so far is to plot this data using coloured points corresponding with each flow level: colour=ifelse(data$levels=="high","red", ifelse(data$levels=="med","green", ifelse(data$levels=="low","blue",""))) plot(date, flow, col=colour)...
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
2010 Nov 04
3
Plotting a grid of directly specified colours
Dear R-help, Could any of you direct me to a function for plotting a grid of colours, directly specified by a matrix of hex colour codes? In other words I'm looking for a heatmap() or image()-like function to which I can specify the colour of each grid location directly, rather than providing a numerical matrix and a 1D-colour scale (heatmap, image, levelplots,NeatMap...). I'm surprised
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)
2007 Jan 14
0
[849] trunk/wxruby2/lib/wx/classes/colour.rb: Stock colours weren''t initializing correctly
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2012 Aug 20
1
Colour gradients and colour fill between points
Hello, Can somebody help me on a colour question? I have a levelplot made with the following syntax: library(lattice) inp <- read.csv("hoenne1", header = TRUE) levelplot(z~x*y, data = inp, region = TRUE, pretty = TRUE, col.regions = terrain.colours) The file "hoenne1" contains the data. I'll give a short example: x,y,z 0,0,1 0,1,1 0,2,1 1,0,2 1,2,2 0,2,2 1,2,3 2,2,2
2008 May 22
1
setting specific colours for different groups of points on a scatter plot
Hi, I have a table with three columns of data, let's call these a, b and c. I have produced a scatter plot of a against b, but I would like to colour the points according to their corresponding c values. c takes the value of either 0,1,2,3 or 4 and so I would like to colour all of the points with a c value of 0 one colour, all those with a c value of 1 another colour etc. When I use