help-octave
[Top][All Lists]
Advanced

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

Re: warning: hist: bin values not sorted on input


From: Juan Pablo Carbajal
Subject: Re: warning: hist: bin values not sorted on input
Date: Tue, 8 Dec 2015 14:35:12 +0100



On Tue, Dec 8, 2015 at 1:52 PM, Jonathan Camilleri <address@hidden> wrote:
sort(x)
ans =

   1.1987   3.0540   3.7587   5.8433

>> sort(y)
ans =

   0.43359   0.76316   0.82807   1.76442

>> hist(x,y)
warning: hist: bin values not sorted on input
warning: called from
    hist at line 121 column 9
I cannot quite understand the histogram either.
Inline images 1

--
Jonathan Camilleri

Mobile (MT): ++356 7982 7113
E-mail: address@hidden
Please consider your environmental responsibility before printing this e-mail.
 



_______________________________________________
Help-octave mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-octave


what are you trying to do?
If you pass two arguments to histogram one should be the center of the bins and they must be increasing.


reply via email to

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