On 1/20/15 10:18 PM, William Stein wrote: > (moving this to sage-cloud not sage-devel) > > On Tue, Jan 20, 2015 at 8:24 PM, Anne Schilling <[email protected]> wrote: >> Hi William, >> >> I want to share some code with my students on SMC that involves displaying >> some graphs (of for example crystal graphs or digraphs). On my own computer >> this involves installing dot2tex and graphviz. Is this possible on SMC? > > Everything is already installed, but you have to do things slightly > differently in SMC right now. Here's a working example: > > F = GF(3) > gens = [matrix(F,2,[1,0, 1,1]), matrix(F,2, [1,1, 0,1])] > group = MatrixGroup(gens); group > group.cardinality() > G = group.cayley_graph() > G.set_latex_options(format='dot2tex', prog='neato') > G.set_latex_options(color_by_label=True) > latex.eval(latex(G)) > > Or see > > > https://cloud.sagemath.com/projects/4a5f0542-5873-4eed-a85c-a18c706e8bcd/files/support/2015-01-20-graphviz-dot.sagews
Ok, this is fancy and worked straight away for the graphs I was trying. I will try out the development version of Sage on SMC as soon as I really need it. Thanks, Anne -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
