On Tue, Dec 1, 2015 at 9:40 AM, Pedro Cruz <pedrocruzave...@gmail.com> 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.
>
> In SMC produces a graph with blue vertices.
>
> What can I do?

I had created an issue in SMC:

  https://github.com/sagemathinc/smc/issues/301

but realized you are setting latex options, then using view, which
doesn't even use latex.

If you do this, then it actually uses latex (at least in sagemathcloud):

g = graphs.PetersenGraph()
g.set_latex_options(vertex_color='green')
latex.eval(latex(g))

It still doesn't work, but for different reasons that I don't
understand, that are entirely in sage.

William



>
> Thank you,
> Pedro
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-support@googlegroups.com.
> Visit this group at http://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.



-- 
William (http://wstein.org)

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to