|
From: Nibbler <rea...@ho...> - 2006-10-19 10:10:00
|
Hello. I have data where I have [b]Value of sample[/b] and [b]Number of occurrences[b] And then I have made histogram graph: http://www.dspguide.com/ch2/4.htm LOOK FIGURE 2-4 (c) Now I would like to use binning and make graph of binned histogram like this: http://www.dspguide.com/ch2/4.htm LOOK FIGURE 2-7 but has in gnuplot some function which will do it ? or how I supposed to do it ? -- View this message in context: http://www.nabble.com/Binned-histograms-tf2472388.html#a6893904 Sent from the Gnuplot - Dev mailing list archive at Nabble.com. |
|
From: <br...@ph...> - 2006-10-19 21:40:47
|
Nibbler wrote: > but has in gnuplot some function which will do it ? gnuplot has 'smooth freq', which can be tuned to this: bin = 5 # e.g. plot 'data' using (bin*int($1/bin)):(1) smooth freq with boxes |
|
From: Nibbler <rea...@ho...> - 2006-10-20 07:25:44
|
Thanks a lot for your help ! By the way.=20 I need to set some information text in graph (like AVG etc..). I know that = I could use label, but how I should set the coordinates, because I dont know which kind of data (range) I get in the database. =20 Hans-Bernhard Br=C3=B6ker wrote: >=20 > Nibbler wrote: >=20 >> but has in gnuplot some function which will do it ? >=20 > gnuplot has 'smooth freq', which can be tuned to this: >=20 > =09bin =3D 5 # e.g. > =09plot 'data' using (bin*int($1/bin)):(1) smooth freq with boxes >=20 >=20 >=20 >=20 > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronim= o > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D121642 > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta >=20 >=20 --=20 View this message in context: http://www.nabble.com/Binned-histograms-tf247= 2388.html#a6911400 Sent from the Gnuplot - Dev mailing list archive at Nabble.com. |
|
From: Joe K. <jko...@co...> - 2006-10-19 21:46:09
|
on 10/19/06 4:09 AM, Nibbler at rea...@ho... wrote: > > Hello. > > I have data where I have [b]Value of sample[/b] and [b]Number of > occurrences[b] > And then I have made histogram graph: > http://www.dspguide.com/ch2/4.htm LOOK FIGURE 2-4 (c) > > Now I would like to use binning and make graph of binned histogram like > this: > http://www.dspguide.com/ch2/4.htm LOOK FIGURE 2-7 > > but has in gnuplot some function which will do it ? > or how I supposed to do it ? > > > I didn't look at your URLs, but does the bar function do what you want? Do help bar at the octave prompt to see more about bar. When in doubt, take a look through the Octave Combined Index for possible routines to use. It is at http://octave.sourceforge.net/index/index.html Joe |
|
From: Joe K. <jko...@co...> - 2006-10-19 21:48:30
|
on 10/19/06 3:46 PM, Joe Koski at jko...@co... wrote: > on 10/19/06 4:09 AM, Nibbler at rea...@ho... wrote: > >> >> Hello. >> >> I have data where I have [b]Value of sample[/b] and [b]Number of >> occurrences[b] >> And then I have made histogram graph: >> http://www.dspguide.com/ch2/4.htm LOOK FIGURE 2-4 (c) >> >> Now I would like to use binning and make graph of binned histogram like >> this: >> http://www.dspguide.com/ch2/4.htm LOOK FIGURE 2-7 >> >> but has in gnuplot some function which will do it ? >> or how I supposed to do it ? >> >> >> > > I didn't look at your URLs, but does the bar function do what you want? Do > > help bar > > at the octave prompt to see more about bar. > > When in doubt, take a look through the Octave Combined Index for possible > routines to use. It is at > > http://octave.sourceforge.net/index/index.html > > Joe > Disregard, I thought I was on the octave list. It is another way to use gnuplot. Joe |
|
From: <br...@ph...> - 2006-10-20 19:36:05
|
Nibbler wrote: > I need to set some information text in graph (like AVG etc..). I know that I > could use label, but > how I should set the coordinates, because I dont know which kind of data > (range) I get in the database. Wait a bit for version 4.2 (or get the release candidate now), and try its new features. One of them is plotting to string-labelled axes. |