Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #5378

Re: Fixing the height of a grid

From Heike Gramberg <heike.gramberg@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Fixing the height of a grid
Date 2011-10-05 08:03 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j6h30j$6u2$1@smc.vnet.net> (permalink)
References <201110040532.BAA20791@smc.vnet.net>

Show all headers | View raw


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
>

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Fixing the height of a grid Heike Gramberg <heike.gramberg@gmail.com> - 2011-10-05 08:03 +0000

csiph-web