easyGgplot2 icon indicating copy to clipboard operation
easyGgplot2 copied to clipboard

ggplot2.histogram does not show frequency counts on y axis when addDensity=T

Open ClaudiaNdf opened this issue 5 years ago • 0 comments

When I plot a histogram with density, I have not been able to plot counts on the y-axis, even with the param scale="frequency" set.

This is the code I used: ggplot2.histogram(data=t, xName='Value', groupName='Typ', legendPosition="top", alpha=0.5, addDensity=T, position = "dodge", groupColors = c('#fc8d59','#91bfdb'), scale = "frequency", bins = 10)

ClaudiaNdf avatar Dec 07 '20 08:12 ClaudiaNdf