Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Re: Co-Displaying Combinatorica and Graphics Objects

  • To: mathgroup at smc.vnet.net
  • Subject: [mg69262] Re: [mg69251] Co-Displaying Combinatorica and Graphics Objects
  • From: "Chris Chiasson" <chris at chiasson.name>
  • Date: Mon, 4 Sep 2006 02:41:27 -0400 (EDT)
  • References: <200609040346.XAA16702@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

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