[sage-support] Re: Constructing an odd graph

2009-07-16 Thread Taxman
On Jul 16, 1:00 pm, Taxman wrote: > T.is_isomorphic(P) > gives the desired result of true. Ah sorry, P=graphs.PetersenGraph() being the P in question if anyone was curious. --~--~-~--~~~---~--~~ To post to this group, send email to sage-s

[sage-support] Re: Constructing an odd graph

2009-07-16 Thread Taxman
ror, "__len__ has been removed; > use .cardinality() instead" >     844 >     845     def count(self): > > AttributeError: __len__ has been removed; use .cardinality() instead > > Is that a bug or did I do something wrong? > > Cheers > Javier > > On Jul 16, 4:52

[sage-support] Constructing an odd graph

2009-07-16 Thread Taxman
Hi, I'm trying to construct an odd graph (http://en.wikipedia.org/wiki/ Odd_graph). My first thought was to use X = Set([1,2,3,4,5]) V=(X.subsets(2)) to get the desired subsets for the vertex set. That does get the subsets, but converting it into a graph doesn't seem to work. T=Graph(V) gives: net

[sage-support] Re: Resolved: LaTeX output for Graph Theory

2009-07-13 Thread Taxman
On Jul 12, 1:22 am, Rob Beezer wrote: > Taxman, > > Thanks for the report.  Current behavior is to support latex versions > of graphs by adding two "\usepackage" commands to the preamble.  It is > possible  tkz-arith.sty  should also be added, and maybe something >

[sage-support] Resolved: LaTeX output for Graph Theory

2009-07-10 Thread Taxman
> That is exactly what you should expect, since the tikzpicture > environment is only defined when you are using the tikz package. > > Perhaps we should update the documentation on the Sage graphs stuff to > make it (more?) clear that the output only makes sense in a document > that uses TikZ. Ri

[sage-support] Re: Sum of four square

2009-07-10 Thread Taxman
You could try to get the paper through your library or pay for it from Wiley. Here's the citation and link: http://www3.interscience.wiley.com/journal/113400834/abstract?CRETRY=1&SRETRY=0 --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@google

[sage-support] Re: LaTeX output for Graph Theory

2009-07-10 Thread Taxman
Oh, I forgot to mention, Ubuntu 9.04's pgf is at the latest version 2.0 I think my first message was really unclear. What I meant was, if I include \usepackage{tikz} at the top of a tex file and render it manually on the command line, then I don't get the Unknown environment "tikzpicture" error,

[sage-support] LaTeX output for Graph Theory

2009-07-10 Thread Taxman
Hi, I was motivated to install Sage from the Graph Theory example on http://mvngu.wordpress.com/2009/06/24/sage-4-0-2-released/ (the release tour). To run it I downloaded tkz-berge.sty and tkz-graph.sty, but I still get the error Unknown environment "tikzpicture" on running the example. Doing som