Displaying 1 result from an estimated 1 matches for "binweigh".
2009 Apr 22
1
converting histogram to barchart
Hi list,
After a lot of tweaking i have managed to create a histogram with an
overlaying density plot. The histogram shows a sample of birth weights
of babies and the density plot shows birth weights from a much larger
reference populaton. My data is divided in 0.1 Kg bins so in the code
below binweigh=0.1.
The trouble with the current graph is that it is not very clear since
the density plot overlay the histogram and obfuscates it. My plan to
fix this is to convert the histogram to a barplot, basically the same
thing but with space between the histogram bars and then plotting
density with a lin...