Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Table, rank, sort' topicStudent Support Forum > General > "Table, rank, sort"

Next Comment >Help | Reply To Topic
Author Comment/Response
ray
12/24/10 01:48am

I can't seem to figure out how to get "Table" to list the "elements" only once in the first column of the grid.

Also, is there an easy way to 'rank' and then 'sort' output in the grid ???


vals = Table[{#,
ElementData[#, b]}, {b, {"HumanAbundance", "OceanAbundance",
"UniverseAbundance"}}] & /@ ElementData[];
Text[Grid[
Prepend[vals[[1 ;; 118]], {"Element", "Human Abundance",
"Ocean Abundance", "Universe Abundance"}], Frame -> All,
Background -> {None, {{{LightBlue, White}}, {1 -> LightYellow}}},
Alignment -> Left]]

URL: ,

Subject (listing for 'Table, rank, sort')
Author Date Posted
Table, rank, sort ray 12/24/10 01:48am
Re: Table, rank, sort Peter Pein 12/25/10 12:34pm
Re: Re: Table, rank, sort ray 12/28/10 8:24pm
Next Comment >Help | Reply To Topic