MathGroup Archive 2003

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

Search the Archive

Re: He said DisplayTogetherArray, but ...

  • To: mathgroup at smc.vnet.net
  • Subject: [mg43089] Re: He said DisplayTogetherArray, but ...
  • From: Paul Abbott <paul at physics.uwa.edu.au>
  • Date: Tue, 12 Aug 2003 04:43:04 -0400 (EDT)
  • Organization: The University of Western Australia
  • References: <bh26jl$hp5$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

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: Simplifying Complex expression
  • Next by Date: Re: NDSolve w/ vectors requires homogenous system in 5.0
  • Previous by thread: He said DisplayTogetherArray, but ...
  • Next by thread: Re: Re: He said DisplayTogetherArray, but ...