MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Where is ShowGraph?

g = GraphData["KnightsTour"];



g has 44 graphs. To see all of them:

Partition[Append[GraphData /@ g, ""], 3] // Grid

Bob Hanlon

On Mon, Apr 9, 2012 at 5:32 AM, James Stein <mathgroup at> wrote:
> I assume Combinatorica comes preloaded with Mathematica 8, because my
> attempt to load Combinatorica gives an error message "Combinatorica Graph
> and Permutations functionality has been superseded by preloaded
> functionaliy[sic]."
> And indeed, so it seems, as this code works fine:
>   g = GraphData["KnightsTour"]
> resulting in an apparently sensible list structure for g.
> However, online documentation for Combinatorica describes a routine
> ShowGraph, giving this example:
>   ShowGraph[CompleteGraph[5]]
> But ShowGraph is not defined (apparently not preloaded). Indeed,
> 'ShowGraph' appears in blue text (undefined) in the aforementioned
> documentation page.
> I visited, as suggested by the documentation, without
> edification.
> What am I missing?  How do I display the graph 'g'?

  • Prev by Date: Re: Incorrect parallel computation
  • Next by Date: Image Processing Pixel Values Export Question
  • Previous by thread: Where is ShowGraph?
  • Next by thread: Re: Where is ShowGraph?