Recent Changes for "Legends" - Graph Exploration System (GUESS)http://guess.wikispot.org/LegendsRecent Changes of the page "Legends" on Graph Exploration System (GUESS).en-us Legendshttp://guess.wikispot.org/Legends2007-08-11 00:27:48EytanAdarUpload of image <a href="http://guess.wikispot.org/Legends?action=Files&do=view&target=grad.jpg">grad.jpg</a>.Legendshttp://guess.wikispot.org/Legends2007-08-11 00:27:32EytanAdar <div id="content" class="wikipage content"> Differences for Legends<p><strong></strong></p><table> <tr> <td> <span> Deletions are marked with - . </span> </td> <td> <span> Additions are marked with +. </span> </td> </tr> <tr> <td> Line 1: </td> <td> Line 1: </td> </tr> <tr> <td> </td> <td> <span>+ = Legends =<br> + <br> + <br> + Though you can see basic examples of legends in the previous examples the basic commands are outlined below:<br> + <br> + * Legend() create a new legend and returns the reference<br> + * legend.add(object,text) where object is either a node, edge or convex hull. This command will add the object as a “prototype” and use the text as the title next to it. The text must be unique for a given legend.<br> + * legend.remove(text) will remove the object labeled by text from the legend<br> + * legend.removeAll() removes all objects from the legend<br> + <br> + As of the 0.6 release of GUESS we also include a special GradientLegend object to visualize continuous data. The syntax for this GradientLegend object is:<br> + <br> + {{{GradientLegend(start_color, end_color, min, max, tick_mark_every)}}}<br> + <br> + The visualization will show the min and maximum value with a tick mark every tick_mark_every units. The following code generated the figure below:<br> + <br> + {{{<br> + colorize(freq,red,yellow)<br> + GradientLegend(red,yellow,freq.min,freq.max,10)<br> + }}}<br> + <br> + --&gt;<br> + [[Image(grad.jpg)]] &lt;--</span> </td> </tr> </table> </div>