Prev: derivatives and subscripts
Next: Can one have different Coloring to show which local symbols are
From: dh on 30 Mar 2010 06:01 Hi Jim, if I understand correctly, you have a list with values and want to get the larges gap between adjacent values. This can e.g. be done by: Max(a)Differences@Sort(a)data Daniel On 29.03.2010 13:57, Jim Lambaugh wrote: > The reason why I am asking (I should have included this in my first > post) is because I am trying to find a way to determine the size of > the largest gap between the values I have in my list. > -- Daniel Huber Metrohm Ltd. Oberdorfstr. 68 CH-9100 Herisau Tel. +41 71 353 8585, Fax +41 71 353 8907 E-Mail:<mailto:dh(a)metrohm.com> Internet:<http://www.metrohm.com>
From: Sseziwa Mukasa on 30 Mar 2010 06:03 On Mar 29, 2010, at 6:21 AM, Jim Lambaugh wrote: > Hi > > I wish to make a histogram, but the size of each bin should be > infinitely small. So I am actually looking for something that plots > the coordinate (x,y), where x is the value of something and y is the > number of times the value x appears in the list. > > I tried BarChart and Histogram, but no luck. You guys have any ideas? Here's a starting point BarChart[#[[All, 2]], ChartLabels -> #[[All, 1]]] &[{First[#], Length [#]} & /@ Split[Sort[data]]] Regards, Ssezi
From: Jim Lambaugh on 30 Mar 2010 06:05 Thanks to all of you guys! All great solutions; I will look over them. Thanks.
First
|
Prev
|
Pages: 1 2 Prev: derivatives and subscripts Next: Can one have different Coloring to show which local symbols are |