The latex function
print latex(g)
is generating lines like
\Vertex[style={minimum
size=1.0cm,draw=cv0,fill=cfv0,text=clv0,shape=rectangle},LabelOut=false,L=\hbox{$1$},x=1.5944cm,y=3.3989cm]{v0}
and it seems that \Vertex[style={ }] is not working. I've checked tikz-graph
manuel and co
Just completing the answers here, in case somebody needs it:
'view(g)' has a different behaviour in Sage and in SMC. In Sage it uses
LaTeX, while in SMC it is more or less equivalent to g.show(method='js')
(which relies on javascript/d3js, hence no latex whatsoever).
Currently, there is no way
On Tue, Dec 1, 2015 at 10:08 AM, John H Palmieri wrote:
> On Tuesday, December 1, 2015 at 9:40:18 AM UTC-8, Pedro Cruz wrote:
>>
>> The following code (sage 6.9):
>>
>> sage: g = graphs.PetersenGraph()
>> sage: g.set_latex_options(vertex_color='green')
>> sage: view(g)
>>
>>
>> produces a black-an
On Tuesday, December 1, 2015 at 9:40:18 AM UTC-8, Pedro Cruz wrote:
>
> The following code (sage 6.9):
>
> sage: g = graphs.PetersenGraph()
> sage: g.set_latex_options(vertex_color='green')
> sage: view(g)
>
>
> produces a black-and-white graph.
>
Can you use "g.plot()" instead? If so, "g.plot?" l