MathGroup Archive 2013

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

Search the Archive

Re: automatic grid

  • To: mathgroup at
  • Subject: [mg131267] Re: automatic grid
  • From: "djmpark" <djmpark at>
  • Date: Sat, 22 Jun 2013 20:45:08 -0400 (EDT)
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • References: <28212975.175817.1371886687039.JavaMail.root@m06>

veamos1 = {"V1", "V2", "V3", "V4"};
veamos2 = {5, 20, 7, 11};
Grid[{veamos1, veamos2}] /. 
 n_Integer?(# > 10 &) :> Item[n, BaseStyle -> {FontColor -> Red}]

David Park
djmpark at 

From: Francisco Gutierrez [mailto:fgutiers2002 at] 

Dear Group:
I have a grid (in reality, a collection of grids) and would like to make
Mathematica give each entry of the grid a style depending on its value.
For example:
Aveamos1= {"V1","V2",V3", "V4"}
Suppose that I want any value above 10 to be coloured in red. How can I
manage to do this?

  • Prev by Date: Re: automatic grid
  • Next by Date: Re: How to remove the "0." from "0. + 1.41774i"
  • Previous by thread: Re: automatic grid
  • Next by thread: labeling clustered data