Re: Color coding a Table entry
- To: mathgroup at smc.vnet.net
- Subject: [mg92800] Re: Color coding a Table entry
- From: Yves Klett <yves.klett at googlemail.com>
- Date: Mon, 13 Oct 2008 07:05:38 -0400 (EDT)
AES,
you could use Style in many different ways, e.g.
Table[If[i < 0, Style[i, Red], Style[i, Green]], {i, -5, 5}]
Regards,
Yves
AES schrieb:
> 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?
>