Mathematica Memo 01

 

Apply         @@

Map           @

Thread      

 

Transpose   special usage

1 txrandommin = 0;
2 txrandommax = 5;
3 randomxlist = Range[txrandommin - 1, txrandommax];
4 randomylist =   BinCounts[
5 RandomInteger[txrandommax, 1000000], 
6 {txrandommin - 1, txrandommax + 1, 1}];
7 Transpose[{randomxlist, randomylist}];
8 ListPlot[Transpose[{randomxlist, randomylist}],
9  Joined -> True]

 

posted @ 2012-06-26 10:45  geometry_  阅读(98)  评论(0编辑  收藏  举报