Database Reference
In-Depth Information
| * * * * |
20 ++ * * * * ++
| * * * * |
+ *********** + * + * + ********************* +
0 ++---*************************************************************---++
0 1 2 3 4 5 6 7
Density Plots
Using
Rio
(
Figure 7-5
):
$
< data/tips.csv Rio -ge
'g+geom_density(aes(tip / bill * 100, fill=sex), '
\
>
'alpha=0.3) + xlab("percent")'
| display
Figure 7-5. Density plot
feedgnuplot
cannot generate density plots, so it's best to just generate a histogram.