How do I convince ggplot2 to create a legend for me?

Baptiste pointed you in the right direction by suggesting using melt from the reshape2 package.

Baptiste pointed you in the right direction by suggesting using melt from the reshape2 package. To control the alpha of your points and smoother separately, simply specify the alpha you desire in each geom. Note that the scale_alpha statement in your example code does nothing, because alpha was not mapped to any aesthetic, so I removed this.

Also, since your mapping is identical to all layers, this is easier to specify in the ggplot paramaters rather than the geom parameters: sample.

Thanks. You solved the rest of my problems and gave me some much needed tips. – Dustin Aug 23 at 8:18.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions