I did:
edges, counts = imhist(imgG,8);
plot(edges, counts, label="line") ;
scatter!(edges, counts, label="points");
xlabel!("Intensities");
ylabel!("Counts");
title!("Hist");
imgG is a grayscale image.
I am getting an error:
BoundsError: attempt to access 6-element Array{Float64,1} at index [1:7]
I am using plotlyjs.
Any help plz? Thanks!