Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Drawing dotted and dashed lines into directed graphs with SAGE

Hi,

I would like to know, if it is possible to do (one of) the following with SAGE.

Reading

http://doc.sagemath.org/html/en/reference/plotting/sage/graphs/graph_plot.html

I saw that it is possible to draw dashed and dotted lines. No my questions are

1) Is it possible to produce an output graphic where some edges are dotted and some edges are dashed?

2) Is it possible to force the text in the labels of the vertices, e.g. M2, M4, M1 instead of 0,1,2?

Thanks for the help!

Drawing dotted Dotted and dashed lines into in directed graphs with SAGEgraphs

Hi,

I would like to know, know if it is possible to do (one of) the following with SAGE.Sage.

Reading

http://doc.sagemath.org/html/en/reference/plotting/sage/graphs/graph_plot.html

I saw that it is possible to draw dashed and dotted lines. No Now my questions are

1) Is it possible to produce an output graphic where some edges are dotted and some edges are dashed?

2) Is it possible to force the text in the labels of the vertices, e.g. M2, M4, M1 instead of 0,1,2?

Thanks for the help! help!

click to hide/show revision 3
retagged

Dotted and dashed lines in directed graphs

Hi,

I would like to know if it is possible to do (one of) the following with Sage.

Reading

http://doc.sagemath.org/html/en/reference/plotting/sage/graphs/graph_plot.html

I saw that it is possible to draw dashed and dotted lines. Now my questions are

1) Is it possible to produce an output graphic where some edges are dotted and some edges are dashed?

2) Is it possible to force the text in the labels of the vertices, e.g. M2, M4, M1 instead of 0,1,2?

Thanks for the help!