MathGroup Archive 2006

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

Search the Archive

Re: Co-Displaying Combinatorica and Graphics Objects


Show@Block[{$DisplayFunction=Identity},
    GraphicsArray[{ShowGraph[FromOrderedPairs[{{1,2},{3,4},{3,2},{5,1}}]],
        Plot[x,{x,0,1}]}]]

On 9/3/06, Bruce Colletti <vze269bv at verizon.net> wrote:
> Re Mathematica 5.2.0.0 under WinXP.
>
> Let G1 be a (Combinatorica) Graph object (e.g., G1 = FromOrderedPairs[...]).
>
> Let G2 be any Graphics object, e.g., G2 = Graphics[...].
>
> I want to display G1 and G2 side-by-side via Show@GraphicsArray@{G1, G2}, but can't figure it out:
>
> - G1 isn't a Graphics object (and so my command fails).
>
> - I can display G1 via G3 = ShowGraph@G1, but then Show@GraphicsArray@{G3, G2} fails (G3 is a symbol).
>
> - Hoping to piece together a Graphics object from FullGraphics@G1, I am stumped by the embedded Rule object.
>
> Any ideas on how to display these two objects in an array?
>
> Thankx.
>
> Bruce
>
>


-- 
http://chris.chiasson.name/


  • Prev by Date: Re: scaled complementary error function in Mathematica?
  • Next by Date: Re: using FindRoot to find multiple answers in a domain?
  • Previous by thread: Co-Displaying Combinatorica and Graphics Objects
  • Next by thread: RE: Co-Displaying Combinatorica and Graphics Objects