Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #4111

Re: Histogram using Gnuplot

From Karl Ratzsch <mail.kfr@gmx.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Histogram using Gnuplot
Date 2018-11-27 12:04 +0100
Organization solani.org
Message-ID <ptj8ba$uto$1@solani.org> (permalink)
References <7ab3166f-5221-4da0-8c3f-f2d7302cdb8c@googlegroups.com>

Show all headers | View raw


Am 27.11.2018 um 10:02 schrieb Savin Beniwal:

> gnuplot> plot"hist1.txt" u (rounded($1)):(1) smooth frequency with boxes

> 1. I want to get a histogram with probability density rather than frequency. Means my histo box should show frequency/total no. of points. 

check "help smooth": You want "fnormal" instead of "frequency"

> 2 How to set/change the width of the histogram.

Do you mean

  set xrange [start:end]

? Also check the link to smooth.dem in "help fnormal"

  Karl

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

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