On 2013-06-01, Kuai Yu <[email protected]> wrote: > ------=_Part_1738_20624644.1370118058332 > Content-Type: text/plain; charset=ISO-8859-1 > > I'm new to Sage. > When trying to plot a wheelgraph on 5 vertices, I got the following error > message: > sh: -c: line 0: unexpected EOF while looking for matching `'' > sh: -c: line 1: syntax error: unexpected end of file > > Here is my code for plotting: > sage: G = graphs.WheelGraph(4) > sage: G > Wheel graph: Graph on 4 vertices > sage: G.show()
the last command is supposed to invoke an external viewer (via GraphPlot) to show a .png file with the graph picture. It's hard to say why exactly it fails for you, without knowing all the details: your OS, version of Sage, etc... Could it be that your 'sh' is actually some strange shell that needs a different syntax than the "usual" (ba)sh ? > > Thank you in advance! > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
