[R] Colours in R, was: deldir package - voronoi
Wolfgang Huber
huber at ebi.ac.uk
Mon Aug 13 01:27:36 CEST 2007
Dear Rolf and Binabina
perhaps this is of use to some:
Colour for Presentation Graphics. Ross Ihaka.
www.stat.auckland.ac.nz/~ihaka/colour/color.pdf
Choosing Color Palettes for Statistical Graphics
Achim Zeileis and Kurt Hornik.
eeyore.ucdavis.edu/stat250/epub-wu-01_abd.pdf
Best wishes
Wolfgang
------------------------------------------------------------------
Wolfgang Huber EBI/EMBL Cambridge UK http://www.ebi.ac.uk/huber
Turner ha scritto:
> On 12/08/2007, at 1:22 PM, zubin wrote:
>
>> Hello!
>>
>> I am using the deldir package to visualize my data, pretty neat.
>> However, i need to fill the colors using polycol =, fill with colors
>> like a heatmap - more of a gradient fill. The only colors i get are
>> very blocky - how do i assign the correct colors for a gradient,
>> even a
>> grayscale? i tried the chart of R colors, using 200 numbers for
>> grayscale but not getting them. The polycol = colors the cells in the
>> tesselation with the value a specific vector for color.
>
> <snip>
>
> I'm sorry, but I can't help here. I've been struggling with colors,
> in a different
> context, recently myself, and I'm unclear as to how they work. There
> are a bunch
> of functions --- palette(), colorRamp(), colorRampPalette() that
> probably relate
> to what you want to do, but I'm not sure just *how* they relate.
>
> With a bit of luck, someone cleverer than I will come to your rescue.
>
> cheers,
>
> Rolf Turner
>
> ######################################################################
> Attention:\ This e-mail message is privileged and confidenti...{{dropped}}
>
> ______________________________________________
> R-help a stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list