Skip to content

ggplot, getting two scales and one stat.

4 messages · Hadley Wickham, Tylere Couture

#
On Sat, Sep 27, 2008 at 1:08 AM, Tylere Couture <tylerecouture at gmail.com> wrote:
Just map shape to source only for the points:

ggplot(polls, aes(x =Date, y = Popular_Support, colour=Party)) +
stat_smooth(span=0.5) +
geom_point(aes(shape=Source))

Hadley
2 days later
#
Hi Tylere,

This is a bug present in R 2.7.2 which will be fixed in the next
version (which I'm trying to release ASAP)

Hadley
On Sat, Sep 27, 2008 at 4:21 PM, Tylere Couture <tylerecouture at gmail.com> wrote: