Re: Color coding a Table entry
- To: mathgroup at smc.vnet.net
- Subject: [mg92626] Re: [mg92617] Color coding a Table entry
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Thu, 9 Oct 2008 06:33:29 -0400 (EDT)
- Reply-to: hanlonr at cox.net
Table[{f1, Style[f2, If[f2 < 0, Red, Black]], f3}, {x, -1, 5}] Bob Hanlon ---- AES <siegman at stanford.edu> wrote: ============= I'm Printing (to the screen) a Table like, let's say, Table[{f1, f2, f3}, (x, xmin, xmax}] and anytime the value of f2 goes negative I want that value printed in Red. What's a simple, compact way to code this? -- Bob Hanlon