I want to draw two density functions on the same graph. One of the densities is produced by density() and the other one is produced by logspline() . I want to show one of them by solid line and the other one by dashed line, but both of them on one graph. Sorry if this is plane and trivial, I don't know with what keyword I should search to find the answer. New Email addresses available on Yahoo! Get the Email name you've always wanted on the new @ymail and @rocketmail. Hurry before someone else does! [[alternative HTML version deleted]]
sendona essile wrote:> I want to draw two density functions on the same graph. One of the densities is produced by density() and the other one is produced by logspline() . I want to show one of them by solid line and the other one by dashed line, but both of them on one graph. > Sorry if this is plane and trivial, I don't know with what keyword I should search to find the answer. > >Hi sendona, Use "plot" for the first one and "lines" with lwd=2 for the second. Jim