Rob Mahurin wrote: > Hello, > > hist2d.m in the package plot-1.0.4 has the following problems: > > (minor) Not all output arguments are defined > (minor) The usage message does not describe the calling structure > (major) the x- and y-axes on the output are swapped. > > To see the major bug, do the following: > > x = rand(1e6,1); hist(x); # a flat histogram on [0,1] > > y = randn(1e6,1); hist(y); # a gaussian on [-4,4] or so > > hist2d([x,y]); # the axes go the wrong way > > hist2d([x,y], 10,20); # dies with a size error > > The attached patch addresses all these issues. I chose return > arguments that may be passed to mesh() or contour(), in the same way > that the outputs of hist() may be passed to bar(). >
Sorry for the slow reply. The patch seems fine.. I applied it. It will be in the next octave-forge which will be released shortly. D. -- David Bateman [EMAIL PROTECTED] Motorola Labs - Paris +33 1 69 35 48 04 (Ph) Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob) 91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax) The information contained in this communication has been classified as: [x] General Business Information [ ] Motorola Internal Use Only [ ] Motorola Confidential Proprietary ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Octave-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/octave-dev
