Re: GraphPlot display anomaly
- To: mathgroup at smc.vnet.net
- Subject: [mg72386] Re: [mg72378] GraphPlot display anomaly
- From: "Chris Chiasson" <chris at chiasson.name>
- Date: Sun, 24 Dec 2006 03:40:08 -0500 (EST)
- References: <200612231114.GAA20908@smc.vnet.net>
What probably happens is that the package authors use a Block on
$DisplayFunction to draw an intermediate plot without displaying it.
Since your method won't allow a Block of $DisplayFunction, the
intermediate graph is shown.
On 12/23/06, zac <replicatorzed at gmail.com> wrote:
> Hi All,
>
> try the followings with Mathematica 5.2:
>
>
> Needs["DiscreteMath`GraphPlot`"];
>
> GraphPlot[{1 -> 2},
> ImageSize -> {50, 50},
> DisplayFunction -> Evaluate[Display[$Display, #] &]
> ];
>
>
> Q1. Why does it produce two output graphics?
> Q2. Why does it not work without Evaluate[...]?
> Q3. Why does it work with simply using DisplayFunction ->
> $DisplayFunction?
>
> May it be that the implementation of option-passing was screwed up in
> DiscreteMath`Graphplot?
>
> Thanks,
>
> Istvan Zachar
>
>
--
http://chris.chiasson.name/
- References:
- GraphPlot display anomaly
- From: "zac" <replicatorzed@gmail.com>
- GraphPlot display anomaly