Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #4113
| Path | csiph.com!weretis.net!feeder4.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail |
|---|---|
| From | Karl Ratzsch <mail.kfr@gmx.net> |
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: Histogram using Gnuplot |
| Date | Tue, 27 Nov 2018 13:44:57 +0100 |
| Organization | solani.org |
| Lines | 38 |
| Message-ID | <ptje89$37l$1@solani.org> (permalink) |
| References | <7ab3166f-5221-4da0-8c3f-f2d7302cdb8c@googlegroups.com> <ptj8ba$uto$1@solani.org> <b4639d74-ae45-4371-baf1-21b383907ae1@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 7bit |
| X-Trace | solani.org 1543322697 3317 127.0.0.43 (27 Nov 2018 12:44:57 GMT) |
| X-Complaints-To | abuse@news.solani.org |
| NNTP-Posting-Date | Tue, 27 Nov 2018 12:44:57 +0000 (UTC) |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 |
| In-Reply-To | <b4639d74-ae45-4371-baf1-21b383907ae1@googlegroups.com> |
| Content-Language | de-DE-1901 |
| Cancel-Lock | sha1:2yv80UhSY8bZscgoFCBRgFQ4GTU= |
| X-User-ID | eJwFwYEBgDAIA7CXilAY5ygd/59gQk/LqUhmcLmjvkc5jiZ19qVR1z72cx2BKa0VGgWIVj8h2hCi |
| Xref | csiph.com comp.graphics.apps.gnuplot:4113 |
Show key headers only | View raw
Am 27.11.2018 um 13:26 schrieb Savin Beniwal: > On Tuesday, November 27, 2018 at 4:34:11 PM UTC+5:30, Karl Ratzsch wrote: >> >> check "help smooth": You want "fnormal" instead of "frequency" >> > For density histogram, I used smooth density. i.e. > gnuplot> plot"hist1.txt" u (bin($1,width)):(0.1) smooth kden w boxes t"". > Gives me desired shape of the density histogram. I'm not sure if this gives the correct result. You want binned results, not density estimates, right? > >>> 2 How to set/change the width of the histogram. >> >> Do you mean >> >> set xrange [start:end] > But Sir each histogram has its box shape I didn't understand how to set bin_width of the histogram using: > gnuplot> width=0.7 > gnuplot> bin(x,width)=width*floor(x/width) you mean the width of the actual boxes in the plot? Check "help style boxes": You need to give a third parameter to your plot to specify it. plot dataf using (bin($1)):(1):(plot_width/numberofbins) smooth freq >> ? Also check the link to smooth.dem in "help fnormal" >> >> Karl > I found no result regarding fnormal. > Oh. What is your gnuplot version? The "fnormal" smoothing routine first came with gp5.2 last year.
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | 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