MathGroup Archive 2008

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

Search the Archive

Re: Conditional Table Formatting


data = Table[RandomInteger[{25, 125}], {10}, {7}];

Grid[If[#[[7]] > 100, Style[#, FontColor -> Red] & /@ #, #] & /@ data]


Bob Hanlon

---- Gregory Lypny <gregory.lypny at videotron.ca> wrote: 

=============
Hello again,

Is there a way to make table formatting conditional the table's  
values, for example, make a row red if the value in column 7 is bigger  
than 100.

Regards,

	Gregory




  • Prev by Date: ShowGraph without vertex coordinates normalized
  • Next by Date: Re: Wacky Font Substitution in .eps Export
  • Previous by thread: Re: Conditional Table Formatting
  • Next by thread: Re: Conditional Table Formatting