MathGroup Archive 2006

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

Search the Archive

Re: GraphPlot display anomaly


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/


  • Prev by Date: Re: latex label in mathematica graphics
  • Next by Date: Re: GraphPlot display anomaly
  • Previous by thread: GraphPlot display anomaly
  • Next by thread: Re: GraphPlot display anomaly