histogram - Octave : using bar and histc -


I want to plot uneven width histogram.

x = [10 12 15 18] # Bean edges
y = [3 2 6] #corresponding frequences
time (E, C, 'Histk')

I get the following output:

Warning: implicit conversion string matrix # error: set: unknown property "

" error: call to:
error: / usr /share/octave/3.2.3/m/plot/ Bars . On line 120, column 7 - Error: /usr/share/octave/3.2.3/m/plot/ bar . 16 line, column 7
error: /usr/share/octave/3.2.3/m/plot/bar.m row 67, column at 19

It seems that Histk not working Used to be.
I have Octave 3.2 installed.
Any thoughts? Code

Use

  Code for help Bar   

You will see that 'histoc' is not a valid style option (it is only supported in Matlab).

If you need to count the frequencies of your data then the function

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -