change node shape in legend

27 views
Skip to first unread message

melani...@bluewin.ch

unread,
Apr 26, 2013, 11:10:35 AM4/26/13
to cytoscape...@googlegroups.com
Hi,

I colored the nodes in my network according to a node attribute table. Now I'd like to create a legend that shows the meaning of the different colors. When I create the legend in the VizMapper, the node fill colors are shown in rounded rectangles, but I'd like to change the shape to filled circles. It would be great if someone could give me some instructions on how to do this!

Thanks a lot,
Melanie

piet molenaar

unread,
May 2, 2013, 12:34:34 PM5/2/13
to cytoscape-helpdesk
Hi Melanie,
I created an artificial mapping from the node shape to an attribute in such a way that it was always round. The rest of the shapes now appear as circles in the legend; see attached image.
Hope this helps,
Piet

Inline image 1



--
You received this message because you are subscribed to the Google Groups "cytoscape-helpdesk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cytoscape-helpd...@googlegroups.com.
To post to this group, send email to cytoscape...@googlegroups.com.
Visit this group at http://groups.google.com/group/cytoscape-helpdesk?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Piet Molenaar
piet...@gmail.com
Department of Oncogenomics, M1-131
Academic Medical Center
University of Amsterdam
Meibergdreef 9
1105 AZ Amsterdam
the Netherlands

tel (+31) 20-5666592
fax (+31) 20-6918626
image.png
Reply all
Reply to author
Forward
0 new messages