Great.

Thank you for your suggestions.

In case other people are interested too, this is what I got now.
I was able to

#added labels for x-axis and y-axis
p + scale_y_continuous("number of votes") 
p + scale_x_continuous("number of votes") 


# specify breaks
p + scale_x_continuous(breaks=1:4)
 

#overwriting labels
p+scale_colour_hue(breaks='A', labels='label A')+
scale_colour_hue(breaks='B', labels='label B')


# adding line with abline
> p + geom_abline(intercept = 8, slope=5, colour = "blue", size = 1, subset
> = .(COUNTRY == 'low'))+ geom_abline(intercept = 12, slope=9, colour =
> "green", size = 1, subset = .(COUNTRY == 'low'))

Thank you

--
View this message in context: 
http://r.789695.n4.nabble.com/changing-graphs-in-qqplot2-tp3626510p3657048.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@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.

Reply via email to