[R] plot 8 functions on one graph?

Judson Blake parsifalblake at gmail.com
Thu Apr 21 16:41:32 CEST 2016


 I'm trying to use
ggplot to make a single graph
that plots 8 distributions,
one above the other.

I created a data.frame
with 9 rows.   The first
is the coordinate along the x-axis.
The next is the y-values for
the first distribution.
After that is the y-values
for the next distribution... and so on.

How do I call ggplot to use such a data.frame
to make a single graph of 8 distributions?

Should my data.frame be formed differently?

.................. judson blake

	[[alternative HTML version deleted]]



More information about the R-help mailing list