I plot a vector distribution with qplot that I don't know its distribution in advance, it's calculated in a function. I just know that the x values are between 0 and 1.
I use the below command line and get the attached histogram.
As the distribution is jammed, how can I make it more spread so that the distribution becomes clear? which parameters to use or other functions that produce histogram?
Moreover how to color so that the bins becomes more distiguishable?
keeping the color legend may or may not be necessary.
qplot(my.vec,binwidth = .2)+
geom_histogram(binwidth = .2, aes(fill = ..count..), colour='black', fill='skyblue')
Another example: