[R] Superimposing Line over Histogram in Density Plot

From: Gundala Viswanath <gundalav_at_gmail.com>
Date: Mon, 16 Jun 2008 15:25:10 +0900


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__

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. Received on Mon 16 Jun 2008 - 06:29:01 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 16 Jun 2008 - 14:30:50 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive