Hi, I'm newbie. I'm trying to make histogram for graphics. BMP data is made with UInt8, so I threw UInt8 array to hist(). It does not work properly. I suppose comparing A and B may be confused in hist(). So what shall I do?
There is a sample code. rand(UInt8, 1000) * 1.0 may work fine. # create data data1d= rand(UInt8, 1000) (edges, counts)= hist(data1d, -1:255) # draw Histogram using Winston h= Histogram(edges, counts) p= FramedPlot() add(p, h)
