On Tue, Dec 1, 2015 at 10:08 AM, John H Palmieri <jhpalmier...@gmail.com> 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-and-white graph.
>
>
> Can you use "g.plot()" instead? If so, "g.plot?" lists some options to set
> vertex and edge colors.

Thanks. "g.plot(vertex_colors='green')" indeed works well in SMC (see
the bottom here):

https://cloud.sagemath.com/projects/4a5f0542-5873-4eed-a85c-a18c706e8bcd/files/support/2015-12-01-094616-view-graph.sagews

-- 
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