Smart color chooser for clusters

GSoC developers forum
Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
User avatar
seinecle
Gephi Community Support
Posts:546
Joined:08 Feb 2010 16:55
Location:Lyon, France
Contact:
Smart color chooser for clusters

Post by seinecle » 01 Apr 2012 16:53

Hi,

I hope it's not too late to submit an idea for the GSoC:

simply, the idea is to integrate the "colors for data scientists" into the relevant functions of Gephi?

This tool would be very, very useful to generate coherent color palettes when partitioning a network in different node colors, according to the clusters they belong. As you know, the colors generated at the moment are generally not nice: you can have clusters colorized in very similar hues, making it hard to distinguish them. Manual corrections are possible but bothersome, and lead to a still imperfect result.

Website of "colors for data scientists": http://jiminy.medialab.sciences-po.fr/tools/palettes/ (by somebody not too unfamiliar to Gephi I believe :-))

User avatar
mbastian
Gephi Architect
Posts:728
Joined:10 Dec 2009 10:11
Location:San Francisco, CA
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: Smart color chooser for clusters

Post by mbastian » 02 Apr 2012 16:20

This should be part of the Partition work planned for the 0.9 release. The partition module should be mostly rewritten (like we did for Ranking and Preview) for that release and we'll integrate this awesome work on palettes.

psychemedia
Posts:18
Joined:15 Apr 2010 17:50
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: Smart color chooser for clusters

Post by psychemedia » 12 Apr 2012 09:11

The R programming language offers a range of different color palettes that may also be useful. Off the top of my, colorbrewer is one, though originally intended for maps, I think... http://colorbrewer2.org/

The R ggplot2 library also provides a range of colour palette options eg http://learnr.wordpress.com/2009/04/15/ ... -palettes/

One thing I'd quite like to be able to do is select even random palettes but be able to specify something like pastel shades.

Being able to select from a range of palettes in eg the partition coloring panel would be really useful.

micahclark
Posts:2
Joined:21 Dec 2012 20:10
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: Smart color chooser for clusters

Post by micahclark » 22 Dec 2012 16:33

Hi guys,

Out of curiosity, did this ever happen? It would be great to have pre-set palettes for partitions, and even better if there was a way to save the association between node and color (such that they could be recolored for other analytical purposes, but then set back to the previous color scheme).

Micah

User avatar
mbastian
Gephi Architect
Posts:728
Joined:10 Dec 2009 10:11
Location:San Francisco, CA
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: Smart color chooser for clusters

Post by mbastian » 22 Apr 2013 16:16

No the development haven't started on that yet. Can you please be more specific about what you mean with the association between nodes and colors? Thanks.

Post Reply
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable