help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Axes handle argument not supported for hist function?


From: Arnaud Miege
Subject: Re: Axes handle argument not supported for hist function?
Date: Wed, 13 Mar 2013 12:09:30 +0000

Thanks, will do. Looks like the server is down at the moment.

Arnaud


On 13 March 2013 12:06, Ben Abbott <address@hidden> wrote:

On Mar 13, 2013, at 7:50 AM, Arnaud Miege wrote:

> Hello,
>
> It looks like the hist function doesn't support having an axes handle as a first argument, which it does in MATLAB. The following (from the MATLAB doc on hist)
>
> data = ""> > figure
> s(1) = subplot(2,1,1);
> s(2) = subplot(2,1,2);
> hist(s(1),data,50)
> hist(s(2),data,xcenters)
>
> doesn't 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
>
> Am I correct and if so, is this a valid enhancement request?
>
> Thanks,
>
> Arnaud

Looks like a bug to me.  Please file a report.

        https://savannah.gnu.org/bugs/?group=octave

Ben


reply via email to

[Prev in Thread] Current Thread [Next in Thread]