MathGroup Archive 2003

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

Search the Archive

Re: Re: He said DisplayTogetherArray, but ...

  • To: mathgroup at smc.vnet.net
  • Subject: [mg43147] Re: Re: He said DisplayTogetherArray, but ...
  • From: "Mariusz Jankowski" <mjkcc at usm.maine.edu>
  • Date: Thu, 14 Aug 2003 05:08:04 -0400 (EDT)
  • References: <bh26jl$hp5$1@smc.vnet.net> <200308120843.EAA20927@smc.vnet.net> <bhd8qq$rm3$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Murray, DisplayTogetherArray allows you to display an array of plots without
suppressing the individual plots with DisplayFunction -> Identity. In my
opinion

DisplayTogetherArray[{Plot[...], Plot[...]}] is better then

Show[GraphicsArray[{Plot[...,DisplayFunction->Identity],Plot[...,DisplayFunc
tion->Identity]}]]


However, when using DisplayTogetherArray to display an array of Graphics
objects I simply force evaluation using Evaluate, as in

DisplayTogetherArray[ Evaluate[ ...]]


Paul Abbott's suggestion of using GraphicsArray has the same effect.


Mariusz





"Murray Eisenberg" <murray at math.umass.edu> wrote in message
news:bhd8qq$rm3$1 at smc.vnet.net...
> How is DisplayTogetherArray different here -- at least in what is
> displayed -- from a simple Show (wrapped around the GraphicsArray
> expression, of course)?
>
> Note, also, that the documentation for DisplayTogetherArray says:
>
>    DisplayTogetherArray[plotcommands, opts] takes a sequence of
>    plot commands ...and combines them to produce a GraphicsArray
>    of the plots.
>
> That documentation would seem to suggest that the GraphicsArray is _not_
> required!  (Although, in fact, that is not the case!)
>
>
> Paul Abbott wrote:
> > In article <bh26jl$hp5$1 at smc.vnet.net>, gollum at email.si (Borut L)
> > wrote:
> >
> >
> >>I cannot figure out why this doesnot produce the desired result -
> >>image of 3x3 = 9 rectangles, it doesnot show anything!
> >>
> >>DisplayTogetherArray[
> >>  Partition[
> >>    Graphics[{Hue[#],Rectangle[{0,0},{1,1}]}]&/@
> >>      Range[0,.9,.1],
> >>    3]
> >>  ]
> >
> >
> > First, I assume that you loaded the Graphics` stub:
> >
> >  <<Graphics`
> >
> > Then, to create a GraphicsArray, you still need to wrap this command
> > around the array of Graphics objects;
> >
> >   DisplayTogetherArray[
> >     GraphicsArray[
> >       Partition[
> >         Graphics[{Hue[#], Rectangle[{0, 0},{1, 1}]},
> >           AspectRatio -> Automatic] & /@ Range[0, 0.9, 0.1],
> >       3]
> >     ]
> >   ];
> >
> > All DisplayTogetherArray does is simplify the suppression of
> > intermediate graphics.
> >
> >
> >>I am hoping Paul Abbot's going to answer this, as he introduced the
> >>command to me.
> >
> >
> > Cheers,
> > Paul
> >
>
> --
> Murray Eisenberg                     murray at math.umass.edu
> Mathematics & Statistics Dept.
> Lederle Graduate Research Tower      phone 413 549-1020 (H)
> University of Massachusetts                413 545-2859 (W)
> 710 North Pleasant Street            fax   413 545-1801
> Amherst, MA 01003-9305
>


  • Prev by Date: Re: Evaluating a polynomial on a matrix; matrix computations over a finite field
  • Next by Date: Re: Animation of Matrix outputs
  • Previous by thread: Re: Re: He said DisplayTogetherArray, but ...
  • Next by thread: Re: He said DisplayTogetherArray, but ...