Displaying 20 results from an estimated 3090 matches for "colours".
Did you mean:
colors
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 nature of the
data. For example, for a factor you might want to m...
2006 Dec 29
0
[808] trunk/wxruby2: Make Wx::Colour#== work correctly as documented, tidy docs for that class
...;>@@ -1,13 +1,15 @@
</span><span class="cx"> h1(#wxcolour). Wx::Colour
</span><span class="cx">
</span><del>-A colour is an object representing a combination of Red, Green, and Blue (RGB) intensity values,
-and is used to determine drawing colours. See the
-entry for "ColourDatabase":colourdatabase.html for how a pointer to a predefined,
-named colour may be returned instead of creating a new colour.
</del><ins>+A colour is an object representing a combination of Red, Green, and Blue
+(RGB) intensity values, and is used...
2007 Mar 21
0
[904] branches/wxruby2/wxwidgets_282: Changes in Wx::Colour API 2.6 -> 2.8
...pan><span class="cx"> end
</span><span class="lines">@@ -31,16 +31,17 @@
</span><span class="cx"> Wx::LIGHT_GREY = new(192, 192, 192)
</span><span class="cx">
</span><span class="cx"> # Colours are equal to one another if they have the same red, green
</span><del>- # and blue intensity.
</del><ins>+ # and blue intensity, and the same alpha
</ins><span class="cx"> def ==(other)
</span><span class="cx"> if not other...
2009 Nov 23
1
Natural colours for topographic data
Dear list members
I'm currently working on some topographic (elevation) data, and was
somewhat surprised that the 'topo.colors' 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 colo...
2008 Jul 06
3
VNC 'fix' for 256 colour game only shows 2 colours?
I'm trying to run an old (~1995) Windows game under Wine, but it requires 256 colours and won't work any higher. I've checked out the 256 colour hacks page and the X methods don't work, because I use the FGLRX drivers and they don't support 8bpp, so I'm trying VNC.
I've installed vnc-server and vnc so I can play it through a 256 colour VNC connection, but so...
2024 May 15
1
FR: Customize background colour of row and column headers for the View output
...w and column names, and dataedituser modifies
the colour of all the borders, I think dataeditbg should modify the
background of all the window, at least that "inside" those
borders. Otherwise, any other option for the background colour on row
and column headers would allow the same set of colours and with the
same names, which are those commented in Rconsole:
## Colours for console and pager(s)
# (see rwxxxx/etc/rgb.txt for the known colours).
Regarding the code, looking to the Windows data editor [1], and taking
into account what you and lastly Ivan told previously
This is entirely...
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
==========================================...
2024 May 14
1
FR: Customize background colour of row and column headers for the View output
This seems like something that should be fairly easily doable. Why
don't you work out a patch?
Some decisions to make:
- What colours are we talking about? Would you want the labels to have
their colour set independent of the dialog colours? If so, would you
also want to configure the dialog colours?
- What names should be used for the colours?
- Where should all of these definitions be documented?
If you don't feel co...
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 simple-minded approach would split them in...
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?
...0,50), border=0.9, add =TRUE),levels=zprcp.breaks,col=zprcp.colour,key.axes = axis(4,zprcp.breaks))
I would like the colour bars to be even (and the labels to represent the actual quantile values).
I tried to modify the key.axes=axis(..) to force an evenly spaced colour key (and keeping the same colours) but it seems that this ultimately obeys the 'levels' and 'col' parameters already defined, which are also used for the main image. I have also tried to "decouple" the 'levels' and 'col' settings between the main plot and the legend by fiddling with the fil...
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
...ainbow 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 colours where adjacent colours are actually
quite similar, especially when n (the number of colours) is high.
Conceptually I guess what I want is colors from a 3D polygon in 3D
colour space, where the number of vertices in the polygon is n,
resulting in a color palette where the colors are all quite diffe...
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
...instead is to plot the line of this data, not the
points. i.e.,
plot(date, flow, type="l")
But I would like the colour of the line to change with each level, i.e.,
plot(date, flow, type="l", col=colour)
But this doesn't work because the line is continuous and the colours are
discrete. I looked into using clipplot, but I'm not sure how I would
specify limits that would give different sections of the line correct
colours. Does anyone know of a way to draw a line with different colours?
One way I thought of was to plot each level of flow separately and then
buil...
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...
2024 May 15
1
FR: Customize background colour of row and column headers for the View output
...and dataedituser modifies
> the colour of all the borders, I think dataeditbg should modify the
> background of all the window, at least that "inside" those
> borders. Otherwise, any other option for the background colour on row
> and column headers would allow the same set of colours and with the
> same names, which are those commented in Rconsole:
>
> ## Colours for console and pager(s)
> # (see rwxxxx/etc/rgb.txt for the known colours).
>
> Regarding the code, looking to the Windows data editor [1], and taking
> into account what you and lastly Ivan tol...
2005 Mar 30
5
2d plotting and colours
...ood
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)
plot(x, col = cl$cluster)
points(cl$centers, col = 1:i )
I see that there are only 8 colours defined , namely
black,red,green,blue,cyan,magenta,yello,gray.
How should i set my colour preferences to obtain my palette of colours? I
checked in the totorial which talks about R.colors and palatte , but i
failed to understand how to set it.
Thank You
Asha