MathGroup Archive 2008

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

Search the Archive

Re: Conditional Table Formatting

  • To: mathgroup at smc.vnet.net
  • Subject: [mg90630] Re: [mg90612] Conditional Table Formatting
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Thu, 17 Jul 2008 05:33:19 -0400 (EDT)
  • Reply-to: hanlonr at cox.net

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