Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #9539

Re: Where is ShowGraph?

From Bob Hanlon <hanlonr357@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Where is ShowGraph?
Date 2012-04-10 06:30 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jm0k30$ag5$1@smc.vnet.net> (permalink)
References <201204090932.FAA28441@smc.vnet.net>

Show all headers | View raw


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@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'?
>

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Where is ShowGraph? Bob Hanlon <hanlonr357@gmail.com> - 2012-04-10 06:30 +0000

csiph-web