Well now, that was easy. Clearly this programming thing is new to me. Thanks!
On Aug 9, 1:05 am, William Stein <wst...@gmail.com> wrote: > On Sat, Aug 8, 2009 at 9:42 PM, docfleetwood <docfleetw...@gmail.com> wrote: > > > Is there a way to get a directed graph from an asymmetric adjacency > > matrix in Sage? If so, could someone post a very small example of the > > code so I can see how (I'm new to all this). I've been looking all > > over and can only manage to get an undirected graph from a symmetric > > matrix. > > Yes, use the DiGraph command: > > sage: a = matrix(QQ,2,[1,1,0,0]) > sage: DiGraph(a).show() > > William --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---