barh ==== horizontal display of bar histogram Calling Sequence ~~~~~~~~~~~~~~~~ :: barh(y) barh(x,y) barh([h],x,y [,width [,color [,style]]]) Arguments ~~~~~~~~~ :h an axes handle, (default: h=gca() ). : :y a real scalar, vector of size N, or a matrice N*M. : :x a real scalar or a vector of size N, (default: if y is a vector then x is a vector and x length equals to y length. If y is a matrix then x is a vector and x length equals to the lines number of y. : :width (optional), a real scalar, defines the width (a percentage of the available room) for the bar (default: 0.8, i.e=80%). : :color (optional), a string (default: 'blue'), specifying the inside color bar. : :style: a string, 'grouped' or 'stacked' (default: 'grouped'). : Description ~~~~~~~~~~~ `barh(y,...) :` if y is a vector then bar function draws a polyline which has the `polyline_style` type 6. If y is a vector, bar draws vector y versus vector x=1:size(y,'*') . If y is a matrix N*M, bar draws M polylines (type 6), each polyline corresponds to a column of y versus vector x=1:size(y,1). `barh(x,y,...) :` if y is a vector then bar function draws a polyline which has the `polyline_style` type 6, where x length = y length. If y is a matrix NxM then bar function draws M polylines which have the type 6. Each polyline corresponds to a column of y versus vector x. `barh(h,...) :` defines the current axes where the drawing is performed. `barh(...,width,...) :` defines the width of the bar(s) in percentage (generally: 0