MathGroup Archive 2003

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

Search the Archive

Re: He said DisplayTogetherArray, but ...

  • To: mathgroup at smc.vnet.net
  • Subject: [mg43160] Re: He said DisplayTogetherArray, but ...
  • From: "Allan Hayes" <hay at haystack.demon.co.uk>
  • Date: Fri, 15 Aug 2003 04:27:06 -0400 (EDT)
  • References: <bh26jl$hp5$1@smc.vnet.net> <bha983$kav$1@smc.vnet.net>
  • Reply-to: "Allan Hayes" <hay at haystack.demon.co.uk>
  • Sender: owner-wri-mathgroup at wolfram.com

Paul,

We don't need DisplayTogetherArray here, Show is enough:

Show[
GraphicsArray[
Partition[
Graphics[{Hue[#], Rectangle[{0, 0}, {1, 1}]},
AspectRatio -> Automatic] & /@ Range[0, 0.9, 0.1],
3]
]
];


Allan
---------------
Allan Hayes
hay at haystack.demon.co.uk
Voice: +44 (0)116 241 8747
Fax: +44 (0)870 164 0565

"Paul Abbott" <paul at physics.uwa.edu.au> wrote in message
news:bha983$kav$1 at smc.vnet.net...
> 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
>
> --
> Paul Abbott                                   Phone: +61 8 9380 2734
> School of Physics, M013                         Fax: +61 8 9380 1014
> The University of Western Australia      (CRICOS Provider No 00126G)
> 35 Stirling Highway
> Crawley WA 6009                      mailto:paul at physics.uwa.edu.au
> AUSTRALIA                            http://physics.uwa.edu.au/~paul
>


  • Prev by Date: Re: Justification of graphics in cells
  • Next by Date: Re: He said DisplayTogetherArray, but ...
  • Previous by thread: Re: He said DisplayTogetherArray, but ...
  • Next by thread: Clear vs. remove?