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

To reply to this bug, email your comments to 5231 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#5231; Package emacs. (Wed, 16 Dec 2009 15:55:07 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo <sdl.web <at> gmail.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Wed, 16 Dec 2009 15:55:08 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Leo <sdl.web <at> gmail.com>
To: emacs-pretest-bug <at> gnu.org
Cc: jay.p.belanger <at> gmail.com
Subject: 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



Merged 5231 5236. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 17 Dec 2009 20:36:02 GMT) Full text and rfc822 format available.

Severity set to 'wishlist' from 'normal' Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 17 Dec 2009 20:36:02 GMT) Full text and rfc822 format available.

bug reassigned from package 'emacs' to 'emacs,calc'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 17 Dec 2009 20:36:02 GMT) Full text and rfc822 format available.

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5231; Package emacs,calc. (Fri, 18 Dec 2009 20:35:01 GMT) Full text and rfc822 format available.

Message #14 received at 5231 <at> debbugs.gnu.org (full text, mbox):

From: Leo <sdl.web <at> gmail.com>
To: jay.p.belanger <at> gmail.com
Cc: 5231 <at> debbugs.gnu.org
Subject: Re: bug#5236: 23.1.90; histograms with calc
Date: Thu, 17 Dec 2009 17:58:45 +0000
On 2009-12-16 22:10 +0000, Jay Belanger wrote:
>> 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 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.
>
>
> Thanks for bringing this up; I'll take a look at this next week (after
> finals). 
>
> Jay

Thank you in advance ;)

Leo




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

Previous Next


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