Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #4110
| Newsgroups | comp.graphics.apps.gnuplot |
|---|---|
| Date | 2018-11-27 01:02 -0800 |
| Message-ID | <7ab3166f-5221-4da0-8c3f-f2d7302cdb8c@googlegroups.com> (permalink) |
| Subject | Histogram using Gnuplot |
| From | Savin Beniwal <darshanbeniwal11@gmail.com> |
Hi, I drew the frequency histogram using Gnuplot by Commands. gnuplot> rounded(x)=0.1*(floor(x/0.1)+0.5) gnuplot> plot"hist1.txt" u (rounded($1)):(1) smooth frequency with boxes "hist1.txt"--> File 5 2 3 2 3 1 2 1 5 5 Here I got a histogram in which x-axis is "entry" of hist1.txt file and y-axis there is frequency. But folks I'm having two difficulties with these. 1. I want to get a histogram with probability density rather than frequency. Means my histo box should show frequency/total no. of points. 2 How to set/change the width of the histogram. thank you for your reply!!
Back to comp.graphics.apps.gnuplot | Previous | Next — Next in thread | Find similar
Histogram using Gnuplot Savin Beniwal <darshanbeniwal11@gmail.com> - 2018-11-27 01:02 -0800
Re: Histogram using Gnuplot Karl Ratzsch <mail.kfr@gmx.net> - 2018-11-27 12:04 +0100
Re: Histogram using Gnuplot Savin Beniwal <darshanbeniwal11@gmail.com> - 2018-11-27 04:26 -0800
Re: Histogram using Gnuplot Karl Ratzsch <mail.kfr@gmx.net> - 2018-11-27 13:44 +0100
Re: Histogram using Gnuplot Savin Beniwal <darshanbeniwal11@gmail.com> - 2018-11-27 08:32 -0800
csiph-web