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


Groups > comp.soft-sys.math.mathematica > #9547 > unrolled thread

Re: Where is ShowGraph?

Started byBill Rowe <readnews@sbcglobal.net>
First post2012-04-10 06:29 +0000
Last post2012-04-10 06:29 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Re: Where is ShowGraph? Bill Rowe <readnews@sbcglobal.net> - 2012-04-10 06:29 +0000

#9547 — Re: Where is ShowGraph?

FromBill Rowe <readnews@sbcglobal.net>
Date2012-04-10 06:29 +0000
SubjectRe: Where is ShowGraph?
Message-ID<jm0k04$aef$1@smc.vnet.net>
On 4/9/12 at 5:32 AM, mathgroup@stein.org (James Stein) 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'?

There have been changes in version 8 that impact usage of
Combinatorica. First, *some* but not all of the functions of
Combinatorica have been incorporated into the kernel. So, in
*some* cases, you can do things without loading the package.

In previous versions of Mathematica, you would load the package
by doing

Needs["DiscreteMath`Combinatorica`"] or
<<DiscreteMath`Combinatorica

You can still do the above in version 8. But if you do you will
be loading an older version of the Combinatorica package and
will see several warning messages

With version 8 you would do better to do either

Needs["Combinatorica`"] or
<<Combinatorica`

You will still see one warning message indicating some of the
functionality of this package has bee superseded by preloaded functionality.

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web