Hi,
I'm trying to use graph-tool to track concentrations on a network and was wondering what the best way would be to obtain consistent colour scales for a vertex property? I track the concentration of a substance as a vertex property and then use that as the vertex_fill_color in graph_draw because I would like to visualise the change in concentration over the network over time. This works great, but it appears that every time I plot the graph the colormap is rescaled to the minimum and maximum values in the vertex property. So if my values range from 0.0 to 0.4 and I use the Blues colormap 0.0 is white and 0.4 is dark blue. If in the next time step my values range from 0.0 to 0.6 then 0.6 is dark blue and 0.4 is now a different shade of blue. Instead, if I know 0.0 would be the minimum value and 1.0 would be the maximum I would like to consistently plot my graphs using that scaling, so that 0.4 always has the same shade of blue. I hope this all made sense.
Thanks!
Alexandra