MathGroup Archive 2006

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

Search the Archive

RE: Re: GraphPlot display anomaly

  • To: mathgroup at smc.vnet.net
  • Subject: [mg72405] RE: [mg72388] Re: [mg72378] GraphPlot display anomaly
  • From: "David Park" <djmp at earthlink.net>
  • Date: Mon, 25 Dec 2006 04:52:47 -0500 (EST)

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: Trig Solve
  • Next by Date: Re: nestled plotting
  • Previous by thread: Re: GraphPlot display anomaly
  • Next by thread: Re: Re: GraphPlot display anomaly