GNU bug report logs - #5231
23.1.90; histograms with calc

Previous Next

Package: emacs;

Reported by: Leo <sdl.web <at> gmail.com>

Date: Wed, 16 Dec 2009 15:55:07 UTC

Severity: wishlist

Merged with 5236

Full log


View this message in rfc822 format

From: Leo <sdl.web <at> gmail.com>
To: emacs-pretest-bug <at> gnu.org
Cc: jay.p.belanger <at> gmail.com
Subject: bug#5231: 23.1.90; histograms with calc
Date: Wed, 16 Dec 2009 15:50:18 +0000
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug.  If you can, give
a recipe starting from `emacs -Q':

I wonder if someone can take a look at the histogram functions of calc.
It will be great if it can be enhanced to be more useful.

I use pgfplots (a TeX package) for plotting which is quite powerful and
can do most of plots (see http://pgfplots.sourceforge.net/ for
examples). For some types of plots one needs some extra care to prepare
data and histogram is one of them.

The 'hist'¹ function in MATLAB returns data counts in each bin and this
process cannot be directly handled in pgfplots due (probably) to the
limited power of TeX. `calc-histogram' can put data in bins but only in
intervals like [0,1), [1,2), ...... It seems to me this is not of much
use.

'hist' in MATLAB can also take two verctors as in hist(x,y) where *x*
will specifiy x-axis of the center of each bin, and this is most
frequently used in real work.

I am raising this bug so that one day relying on matlab for histograms
would not be necessary. I find the matlab interface straightforward and
so it might be worthwhile to add to calc.

Best wishes,

Leo

Footnotes: 
¹  http://www.mathworks.com/access/helpdesk/help/techdoc/ref/hist.html



This bug report was last modified 15 years and 180 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.