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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: Leo <sdl.web@HIDDEN>; merged with #5236; dated Wed, 16 Dec 2009 15:55:07 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 5231 <at> debbugs.gnu.org:


Received: (at 5231) by debbugs.gnu.org; 18 Dec 2009 20:34:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 18 15:34:08 2009
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1NLjWa-0002vV-EX
	for submit <at> debbugs.gnu.org; Fri, 18 Dec 2009 15:34:08 -0500
Received: from ppsw-7.csi.cam.ac.uk ([131.111.8.137])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <sl392@HIDDEN>) id 1NLjOG-0002mD-Su
	for 5231@HIDDEN; Fri, 18 Dec 2009 15:25:33 -0500
X-Cam-AntiVirus: no malware found
X-Cam-SpamDetails: not scanned
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from smaug.linux.pwf.cam.ac.uk ([193.60.95.72]:50997)
	by ppsw-7.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.157]:587)
	with esmtpsa (LOGIN:sl392) (TLSv1:DHE-RSA-AES128-SHA:128)
	id 1NLKcg-0007ez-Nj (Exim 4.70)
	(return-path <sl392@HIDDEN>); Thu, 17 Dec 2009 17:58:46 +0000
From: Leo <sdl.web@HIDDEN>
To: jay.p.belanger@HIDDEN
Subject: Re: bug#5236: 23.1.90; histograms with calc
References: <m0k4wmlxz9.fsf@HIDDEN> <878wd2a7u0.fsf@HIDDEN>
Date: Thu, 17 Dec 2009 17:58:45 +0000
In-Reply-To: <878wd2a7u0.fsf@HIDDEN> (Jay Belanger's message of "Wed, 16
	Dec 2009 16:10:31 -0600")
Message-ID: <xbair5qtcwiy.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Debbugs-Envelope-To: 5231
X-Mailman-Approved-At: Fri, 18 Dec 2009 15:34:06 -0500
Cc: 5231 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org

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




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:
bug#5231; Package emacs,calc. Full text available.
bug reassigned from package 'emacs' to 'emacs,calc'. Request was from Glenn Morris <rgm@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Severity set to 'wishlist' from 'normal' Request was from Glenn Morris <rgm@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Merged 5231 5236. Request was from Glenn Morris <rgm@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit@HIDDEN:


Received: (at submit) by emacsbugs.donarmstrong.com; 16 Dec 2009 15:50:29 +0000
From sl392@HIDDEN Wed Dec 16 07:50:28 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=0.1 required=4.0 tests=AWL autolearn=ham
	version=3.2.5-bugs.debian.org_2005_01_02
Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10])
	by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nBGFoQ5x017091
	for <submit@HIDDEN>; Wed, 16 Dec 2009 07:50:28 -0800
Received: from mx10.gnu.org ([199.232.76.166]:33986)
	by fencepost.gnu.org with esmtp (Exim 4.69)
	(envelope-from <sl392@HIDDEN>)
	id 1NKw8v-0005TY-1R
	for emacs-pretest-bug@HIDDEN; Wed, 16 Dec 2009 10:50:26 -0500
Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60)
	(envelope-from <sl392@HIDDEN>)
	id 1NKw8s-0001MO-O8
	for emacs-pretest-bug@HIDDEN; Wed, 16 Dec 2009 10:50:24 -0500
Received: from ppsw-0.csi.cam.ac.uk ([131.111.8.130]:51814)
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <sl392@HIDDEN>)
	id 1NKw8s-0001Lc-7h
	for emacs-pretest-bug@HIDDEN; Wed, 16 Dec 2009 10:50:22 -0500
X-Cam-AntiVirus: no malware found
X-Cam-SpamDetails: not scanned
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from lapwing-gw-1.csx.cam.ac.uk ([131.111.1.66]:49434 helo=victoria.local)
	by ppsw-0.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.150]:587)
	with esmtpsa (PLAIN:sl392) (TLSv1:DHE-RSA-AES128-SHA:128)
	id 1NKw8q-0000xF-0t (Exim 4.70)
	(return-path <sl392@HIDDEN>); Wed, 16 Dec 2009 15:50:20 +0000
From: Leo <sdl.web@HIDDEN>
To: emacs-pretest-bug@HIDDEN
Cc: jay.p.belanger@HIDDEN
Subject: 23.1.90; histograms with calc
Date: Wed, 16 Dec 2009 15:50:18 +0000
Message-ID: <m0k4wmlxz9.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Sender: "Leo, Shidai Liu" <sl392@HIDDEN>
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4)

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'=B9 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:=20
=B9  http://www.mathworks.com/access/helpdesk/help/techdoc/ref/hist.html



Acknowledgement sent to Leo <sdl.web@HIDDEN>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Report forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#5231; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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