[R] Selecting / creating unique colours for behavioural / transitional data
ross.culloch at dur.ac.uk
Fri Mar 13 13:39:48 CET 2009
Thanks for the reply - some of the sets/palettes in the RColorBrewer are
ideal, but the i have is that they only go up to 12 colours, and i need 15
colours (sorry, should have mentioned that)- so i assume the only thing i
can do is create my own palette, but i'm having limited success in trying to
work out how to do this.
Kingsford Jones wrote:
> example(brewer.pal, pack='RColorBrewer')
> Kingsford Jones
> On Fri, Mar 13, 2009 at 3:20 AM, Ross Culloch <ross.culloch at dur.ac.uk>
>> Dear all,
>> This seems like a simple problem but i've searched the help files and
>> various options but failed, so apologies in advance for asking what i'm
>> is an easy thing to do!
>> In short, I have displayed behavioural data using the TraMineR package
>> that there is a colour change between the transition of behaviours,
>> all the methods that i have used thus far have given me gradual changes
>> colour such that it is impossible to tell the difference from several of
>> behaviours. I have looked in the help section here, and looked at various
>> books and help files in R, but most seem intent on gradual changes in
>> for heat, terrain, depth, etc - i may not be looking in the correct
>> or perhaps i don't know what i'm looking for, exactly.
>> The code below is the closest i can get to colours being not too similar,
>> but it's still hard to tell apart:
>> col <- rainbow(15,start = 0, end = 1, gamma = 0.5)
>> What i ideally want to do is create a palette with random colours that
>> no where near one another so that i can tell the 15 different behaviours
>> apart - is this possible?
>> If anyone can help i would be most greatful!
>> Best wishes,
>> View this message in context:
>> Sent from the R help mailing list archive at Nabble.com.
>> R-help at r-project.org mailing list
>> PLEASE do read the posting guide
>> and provide commented, minimal, self-contained, reproducible code.
> R-help at r-project.org mailing list
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
View this message in context: http://www.nabble.com/Selecting---creating-unique-colours-for-behavioural---transitional-data-tp22492438p22495482.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help