|
From: | Arnaud Miege |
Subject: | Re: Axes handle argument not supported for hist function? |
Date: | Wed, 13 Mar 2013 14:09:03 +0000 |
Looks like a bug to me. Please file a report.
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
https://savannah.gnu.org/bugs/?group=octave
Ben
[Prev in Thread] | Current Thread | [Next in Thread] |