Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

bug... GraphicsGrid ItemAspectRatio Spacings

  • To: mathgroup at smc.vnet.net
  • Subject: [mg92026] bug... GraphicsGrid ItemAspectRatio Spacings
  • From: Mitch Murphy <mitch at lemma.ca>
  • Date: Wed, 17 Sep 2008 04:36:32 -0400 (EDT)

FYI for poor souls that might encounter that same problem i just did.

if you use ItemAspectRatio option for GraphicsGrid, you also need to  
specify the Spacings option.

GraphicsGrid[{{"foo"}, {Graphics@Rectangle[]}}, Frame -> All,  
ItemAspectRatio -> {.1, 1}]

gives errors ...

Coordinate {189., {-19.2, -19.2}} should be a pair of numbers, or a  
Scaled or Offset form.
Coordinate {360., {35.99999999999999, 14.399999999999999`}} should be  
a pair of numbers, or a Scaled or Offset form.
Coordinate {189., {-230.4, -230.39999999999998`}} should be a pair of  
numbers, or a Scaled or Offset form.
Coordinate {360., {381.59999999999997`, 360.}} should be a pair of  
numbers, or a Scaled or Offset form.


GraphicsGrid[{{"foo"}, {Graphics@Rectangle[]}}, Frame -> All,  
ItemAspectRatio -> {.1, 1}, Spacings -> 2]

... works OK.


cheers,
Mitch


  • Prev by Date: Re: Re: Functional programming?
  • Next by Date: Re: shooting method
  • Previous by thread: Re: How to separate a sum into terms
  • Next by thread: integration - Interpolating Function