MathGroup Archive 2006

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

Search the Archive

Re: Re: GraphPlot display anomaly

  • To: mathgroup at smc.vnet.net
  • Subject: [mg72398] Re: [mg72388] Re: [mg72378] GraphPlot display anomaly
  • From: Andrzej Kozlowski <akoz at mimuw.edu.pl>
  • Date: Mon, 25 Dec 2006 04:52:22 -0500 (EST)
  • References: <NDBBJGNHKLMPLILOIPPOKEOLFEAA.djmp@earthlink.net>

Everything works without a glitch here, but I only have:

$Version

5.1 for Mac OS X (October 25, 2004)

Andrzej Kozlowski

On 25 Dec 2006, at 01:09, David Park wrote:

> Whenever I try to evaluate that statement, or the original posters
> statement, or any GraphPlot statement that doesn't have a complete  
> cycle, my
> Mathematica 5.2 crashes!
>
> For example, the following statement that deletes a number of edges  
> from the
> example in Help crashes.
>
> Needs["DiscreteMath`GraphPlot`"];
>
> GraphPlot[{1 -> 2, 2 -> 3, 3 -> 4, 4 -> 5, 5 -> 6, 6 -> 7, 7 -> 8},
>     EdgeStyleFunction -> (Arrow[{#1, #2}] &)];
>
> crash!
>
> David Park
> djmp at earthlink.net
> http://home.earthlink.net/~djmp/
>
> From: Andrzej Kozlowski [mailto:akoz at mimuw.edu.pl]
>
> On 23 Dec 2006, at 20:14, zac wrote:
>
>
> The only problem is with your code. The correct way to do this is:
>
>
> Needs["DiscreteMath`GraphPlot`"];
>
>
> GraphPlot[{1 -> 2},
>      ImageSize -> {50, 50},
>      DisplayFunction -> (Display[$Display, #] &)
>      ];
>
> Note the crucial parentheses missing from original code.
> I think the answers to all your questions should now be self-evident.
>
> Andrzej Kozlowski
> Tokyo, Japan
>
>


  • Prev by Date: Re: How can a dump file with 1.28MB have nothing in it?
  • Next by Date: Re: Any simple way to flatten all but the bottom level?
  • Previous by thread: RE: Re: GraphPlot display anomaly
  • Next by thread: RE: Re: GraphPlot display anomaly