bugGNU Octave - Bugs: bug #38508, hist does not support axes handle...


bug #38508: hist does not support axes handle as an argument

Submitted by:  None
Submitted on:  Wed 13 Mar 2013 02:05:58 PM UTC  
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  Rik <rik5>
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  3.6.2
Operating System:  Microsoft Windows

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sat 03 Aug 2013 05:06:52 PM UTC, comment #3:

I fixed this on the development branch in this changeset (http://hg.savannah.gnu.org/hgweb/octave/rev/b491ef539071). It will be a part of the next release, 3.8, or you can build from Mercurial sources to see the fix.

Rik <rik5>
Project AdministratorIn charge of this item.
Thu 14 Mar 2013 02:25:49 PM UTC, comment #2:

I forgot to add the following command before creating the figure when entering the bug:

Wed 13 Mar 2013 05:35:51 PM UTC, comment #1:

Confirmed on the development branch as well. There are, in fact, a number of functions for which an axis handle is accepted as the first argument. Besides hist, fplot, mesh, meshc, etc. also need this fix. It's an easy addition so I'm changing the bug to "In Progress" and assigning it to myself.

Rik <rik5>
Project AdministratorIn charge of this item.
Wed 13 Mar 2013 02:05:58 PM UTC, original submission:

The following does not plot anything in Octave 3.6.2

and generates the following warning in the console window:

>> hist(s(1),data,50)

warning: hist: bin values not sorted on input

>> hist(s(2),data,xcenters)

warning: hist: bin values not sorted on input



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-08-03 rik5 StatusIn Progress => Fixed
        Open/ClosedOpen => Closed
    2013-03-13 rik5 StatusNone => In Progress
        Assigned toNone => rik5

    Back to the top

    Powered by Savane 3.3