MathGroup Archive 2012

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

Search the Archive

Re: Where is ShowGraph?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg125967] Re: Where is ShowGraph?
  • From: Bob Hanlon <hanlonr357 at gmail.com>
  • Date: Tue, 10 Apr 2012 02:29:11 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <201204090932.FAA28441@smc.vnet.net>

g = GraphData["KnightsTour"];

Length[g]

44

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 stein.org> 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 www.combinatorica.com, 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?