ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Tue, 27 Aug 2013 12:27:20 +0200SageTex and graphshttps://ask.sagemath.org/question/10474/sagetex-and-graphs/Hey guys,
Today i was looking for some graph plotting and i didn't arrived to use that piece of code in my .tex :
from sage.graphs.graph_coloring import edge_coloring
g = graphs.CompleteGraph(10)
g.graphplot(edge_colors=edge_coloring(g, hex_colors=True)).plot()
I can insert the first part in a block, but to plot I don't have the answer.
I tried : \sageplot{g.graphplot(edge_colors=edge_coloring(g, hex_colors=True)).plot()} and \sage{g.graphplot(edge_colors=edge_coloring(g, hex_colors=True))} but nothing works :/
Of course \sage{g} works but i'd like to have the graphical options !
Help plz :)
TyHolosmosTue, 27 Aug 2013 12:27:20 +0200https://ask.sagemath.org/question/10474/Make sage not recreate plot files for sagetexhttps://ask.sagemath.org/question/8943/make-sage-not-recreate-plot-files-for-sagetex/When running sage on a .sagetex.sage file, it spends ages on "Initializing plots directory\n Plot 0". Most of the time I haven't changed the plots. How do I tell sage(tex) to use the files generated last time?chaesloc2Tue, 01 May 2012 07:56:33 +0200https://ask.sagemath.org/question/8943/