[R] Superimposing Line over Histogram in Density Plot

David Arnold dwarnold45 at suddenlink.net
Mon Jun 16 15:23:43 CEST 2008


Look here:

http://msenux.redwoods.edu/mathdept/R/CentralLimit.php

D.

On Jun 15, 2008, at 11:25 PM, Gundala Viswanath wrote:

> Hi,
>
> Currently I have a density plot generated with this
> snippet.
>
> Is there a way I can add a line curve on top of it?
> I mean in one figure
>
>
> __BEGIN__
>    myhist <- hist(x
>                 col="blue",
>                 main = "Density Plot",
>                 xlab = "Exp Level",
>     )
> __END__
>
>
> - Gundala Viswanath
> Jakarta - Indonesia
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting- 
> guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list