Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I believe this is a bug in GraphicsGrid.

x = Graphics[Circle[]];
g1=GraphicsGrid[{{x, x, x}, {Item[x, Background -> Red], SpanFromLeft, x}, {x, x, x}}, Frame -> All];
g2=GraphicsGrid[{{x, Item[x, Background -> Red], x}, {x, SpanFromAbove, x}, {x, x, x}}, Frame -> All];
g3=GraphicsGrid[{{x, Item[x, Background -> Red], x}, {x, SpanFromAbove, x}, {x, SpanFromAbove, x}}, Frame -> All];
Row[{g1,g2,g3},"   "]

enter image description here

SpanFromAbove do not works like expected, formats are not respected.

Changing GraphicsGrid into Grid we get:

enter image description here

I tested this in V9 for Win and in V10 for Mac and Win.

share|improve this question
    
Agree it looks wrong. –  Mike Honeychurch Jul 16 at 3:59
    
confirm in MMa 8.0.4 and 10.0.0 under Win7 x64. Note that by default GraphicsGrid has Alignment -> {Center, Center} while Grid has Alignment -> {Center, Baseline}. –  Alexey Popkov Jul 16 at 6:45
    
Related: [Curious behavior using SpanFromLeft in Grid[]](mathematica.stackexchange.com/questions/15644/…) –  Jagra Jul 16 at 11:57
    
The same on MMA 10.0.1 under Mac. –  Murta Sep 17 at 1:37

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.