This function generates a colour bar for the visualisation of significance of spatial bias.
limits for color bar
colorbar.sig produces a colour bar for 2D-plots generated by
The colours used range from green (for the lower limit of the colour range)
to red (for its upper limit).
For visualisation, values below or above the limits for the colour range
(as given by
color.lim) are set
to the lower or upper limit, respectively. The function
is similar to more general function
It differs, however, in its axis annotation. Since it is used to present the significance
in a log10-scale, annotation of axis tacks consists of negative values in both direction.
Matthias E. Futschik (http://itb.biologie.hu-berlin.de/~futschik)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.