Axes handle argument not supported for hist function?
From:
Arnaud Miege
Subject:
Axes handle argument not supported for hist function?
Date:
Wed, 13 Mar 2013 11:50:48 +0000
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?