MathGroup Archive 2009

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

Search the Archive

Re: Frame does not show up?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg95939] Re: Frame does not show up?
  • From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
  • Date: Fri, 30 Jan 2009 05:44:44 -0500 (EST)
  • Organization: The Open University, Milton Keynes, UK
  • References: <gls1ns$hd6$1@smc.vnet.net>

In article <gls1ns$hd6$1 at smc.vnet.net>,
 P_ter <petervansummeren at gmail.com> wrote:

> I take from the Help files: Grid, Applications, example nr. 3:
> data = {{"first", 1, 2, 3}, {"second", 11, 5, 6}, {"third", 111, 8, 9}, 
> {"fourth", 1111, 10, 11}};
> Text@Grid[Prepend[data, {"name", "a", "b", "c"}],  Background -> {None, 
> {Lighter[Yellow, .9], {White, Lighter[Blend[{Blue, Green}], .8]}}},  Dividers 
> -> {{Darker[Gray, .6], {Lighter[Gray, .5]}, Darker[Gray, .6]}, {Darker[Gray, 
> .6], Darker[Gray, .6], {False}, Darker[Gray, .6]}}, Alignment -> {{Left, 
> Right, {Left}}}, 
>   ItemSize -> {{10, 3, 5, 5}}, Frame -> Darker[Gray, .6], ItemStyle -> 14, 
>   Spacings -> {Automatic, .8}]
> I replace in the above Frame by: Frame -> {3 -> Red, 2 -> Directive[Blue, 
> Thick]}
> But it does not show up. 

Because it is superseded by the *Dividers* option. Try w/o *Dividers* as 
in,

data = {{"first", 1, 2, 3}, {"second", 11, 5, 6}, {"third", 111, 8, 
    9}, {"fourth", 1111, 10, 11}};
Text@Grid[Prepend[data, {"name", "a", "b", "c"}], 
  Background -> {None, {Lighter[Yellow, .9], {White, 
      Lighter[Blend[{Blue, Green}], .8]}}}, 
  Alignment -> {{Left, Right, {Left}}}, ItemSize -> {{10, 3, 5, 5}}, 
  Frame -> {3 -> Red, 2 -> Directive[Blue, Thick]}, ItemStyle -> 14, 
  Spacings -> {Automatic, .8}]

HTH,
--Jean-Marc


  • Prev by Date: Synchronous zooming of 3D graphics
  • Next by Date: Dynamic Module
  • Previous by thread: Frame does not show up?
  • Next by thread: ListCurvePathPlot