Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2011

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

Search the Archive

Re: Fixing the height of a grid

  • To: mathgroup at smc.vnet.net
  • Subject: [mg121850] Re: Fixing the height of a grid
  • From: Heike Gramberg <heike.gramberg at gmail.com>
  • Date: Wed, 5 Oct 2011 03:59:29 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <201110040532.BAA20791@smc.vnet.net>

You could put each entry in the Grid in a separate pane, e.g.

lena = Import["ExampleData/lena.tif"];
Manipulate[
  Grid[{Table[Pane[lena, {80 (1 + i/10), 100}, Alignment -> Bottom], {i, k}]}, Frame -> All],
  {k, 1, 6}]

Heike

On 4 Oct 2011, at 07:32, Tim Brophy wrote:

> Hi Group,
>
> I have created and imported a gif image called "sunflower".
>
> I want to create a Manipulated set of images with this as
>
> Manipulate[
> Pane[Grid[{Table[sunflower, {k}]},
>   ItemSize -> {Table[Scaled[.1 + i/100], {i, 1, k}]},
>   Alignment -> Bottom, Frame -> All], {600, 200}], {k, 1, 6}]
>
> Unfortunately while the images align with each other the baseline of the images lowers as the slider is moved. Can I see them all to appear at the same base? I thought that Pane might do it for me but no.
>
> Tim Brophy
>




  • Prev by Date: Re: simplification
  • Next by Date: Re: Explicitly specifying the 3d viewing options (pan, rotate, etc.)
  • Previous by thread: Fixing the height of a grid
  • Next by thread: Find a single solution to a system of equations