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 Mar 13 14:05:58 2013  
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedAssigned to: Rik <rik5>
Originator Name: Originator Email: -unavailable-
Open/Closed: ClosedRelease: 3.6.2
Operating System: Microsoft Windows

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


Sat Aug 3 17:06:52 2013, 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 Mar 14 14:25:49 2013, comment #2:

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

Wed Mar 13 17:35:51 2013, 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 Mar 13 14:05:58 2013, 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 File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


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

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

    Only project members can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat Aug 3 17:06:52 2013rik5StatusIn Progress=>Fixed
    Wed Mar 13 17:35:51 2013rik5StatusNone=>In Progress
      Assigned toNone=>rik5

    Back to the top

    Powered by Savane 3.1-cleanup1