visualization of temporal networks
Hi, Any plans on supporting visualization of temporal dynamics? Or is there any way of doing that with the current feature set? Regards, Håkan
On 11/06/2013 07:46 AM, hajons@gmail.com wrote:
Hi,
Any plans on supporting visualization of temporal dynamics? Or is there any way of doing that with the current feature set?
You can certainly make animations which show a time-varying graph. Some examples of this are shown here: http://graph-tool.skewed.de/static/doc/demos/animation.html Cheers, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>
Hi, I would like to color my vertices based on their degree, the default color scheme give me a sort of from "warm to cold" coloring. How can I specify the color scale myself, i.e. using grey scale or from red to blue etc. Thanks, Xiaohu
On 03/06/2014 12:43 AM, Xiaohu Hu wrote:
Hi,
I would like to color my vertices based on their degree, the default color scheme give me a sort of from "warm to cold" coloring. How can I specify the color scale myself, i.e. using grey scale or from red to blue etc.
The graph_draw() function takes a 'vcmap' parameter which specifies the colormap which should be used for the vertices. You can choose any matplotlib colormap you want, or define your own: http://matplotlib.org/examples/color/colormaps_reference.html You can also specify the colors yourself via a property map with either a string color code, or a vector with RGBA values. Best, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>
Thanks so much for the quick reply! On 3/5/2014 6:57 PM, Tiago de Paula Peixoto wrote:
On 03/06/2014 12:43 AM, Xiaohu Hu wrote:
Hi,
I would like to color my vertices based on their degree, the default color scheme give me a sort of from "warm to cold" coloring. How can I specify the color scale myself, i.e. using grey scale or from red to blue etc. The graph_draw() function takes a 'vcmap' parameter which specifies the colormap which should be used for the vertices. You can choose any matplotlib colormap you want, or define your own:
http://matplotlib.org/examples/color/colormaps_reference.html
You can also specify the colors yourself via a property map with either a string color code, or a vector with RGBA values.
Best, Tiago
_______________________________________________ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool
participants (3)
-
hajons@gmail.com -
Tiago de Paula Peixoto -
Xiaohu Hu