unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#5231: 23.1.90; histograms with calc
@ 2009-12-16 15:50 Leo
  2009-12-16 22:10 ` bug#5236: " Jay Belanger
  0 siblings, 1 reply; 2+ messages in thread
From: Leo @ 2009-12-16 15:50 UTC (permalink / raw)
  To: emacs-pretest-bug

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#5236: 23.1.90; histograms with calc
  2009-12-16 15:50 bug#5231: 23.1.90; histograms with calc Leo
@ 2009-12-16 22:10 ` Jay Belanger
  0 siblings, 0 replies; 2+ messages in thread
From: Jay Belanger @ 2009-12-16 22:10 UTC (permalink / raw)
  To: Leo; +Cc: emacs-pretest-bug


> 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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-12-16 22:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-16 15:50 bug#5231: 23.1.90; histograms with calc Leo
2009-12-16 22:10 ` bug#5236: " Jay Belanger

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).