coordinates representing where to locate the legend.
density
string representing whether the density function is plotted.
Accepted characters are "both" in which case this function will plot the
density function above and to the right, "right", "above" or "none".