Changes between Initial Version and Version 2 of Ticket #13713
- Timestamp:
- 11/15/12 22:56:18 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #13713 – Description
initial v2 15 15 }}} 16 16 17 Note that since the vertices of G are matrices, the default `format='tkz_graph'` [http://www.liafa.univ-paris-diderot.fr/~labbe/blogue/2012/10/draw-a-graph-of-matrices-in-latex-using-sage/ does not work]. One need to use `format='dot2tex'`. With dot2tex-2.8.7-2 and graphviz installed, th is works:17 Note that since the vertices of G are matrices, the default `format='tkz_graph'` [http://www.liafa.univ-paris-diderot.fr/~labbe/blogue/2012/10/draw-a-graph-of-matrices-in-latex-using-sage/ does not work]. One need to use `format='dot2tex'`. With dot2tex-2.8.7-2 and graphviz installed, the following work: 18 18 19 19 {{{ 20 20 sage: G.set_latex_options(format='dot2tex', prog='neato') 21 21 sage: view(G) 22 sage: G.set_latex_options(format='dot2tex', prog='twopi') 23 sage: view(G) 24 sage: G.set_latex_options(format='dot2tex', prog='fdp') 25 sage: view(G) 22 26 }}} 23 27 24 But not th is one:28 But not these ones: 25 29 26 30 {{{ … … 30 34 ... 31 35 LaTex error 36 sage: G.set_latex_options(format='dot2tex', prog='circo') 37 sage: view(G) 38 An error occurred. 39 ... 40 LaTex error 32 41 }}} 33 42