Given the data structure below and the call to ggplot2, how can I increase the
size of the axis scale points, the line weight, and the size of the legend?
ddata <-structure(list(year = structure(c(1L, 1L, 1L, 1L, 1L, 1L, 1L,
2L, 2L, 2L, 2L, 2L, 2L, 2L), .Label = c("2003", "2007"), class = "factor"),
area = structure(c(7L, 6L, 1L, 2L, 3L, 4L, 5L, 7L, 6L, 1L,
2L, 3L, 4L, 5L), .Label = c("AK", "ID", "MT", "OR", "WA",
"NW", "US"), class = "factor"), disc = c(55.8, 62.6, 54.3,
56.9, 52.8, 66.7, 64.8, 59.5, 64.8, 65.8, 61.4, 60.6, 66.3,
65.5)), .Names = c("year", "area", "disc"), class = "data.frame", row.names =
c(NA,
14L))
ggplot(ddata, aes(x = area, y = disc, colour = year)) +
geom_point() + geom_line(aes(group = year), size = 1) +
scale_y_continuous(name='Percent Well Prepared', limits=c(0, 100)) +
scale_colour_discrete('Year') + xlab('')
Thanks!
Art
_______________________________________
Art Burke
Associate
Education Northwest
101 SW Main St, Suite 500
Portland OR 97204-3213
[email protected]
Phone: 503-275-9592
http://educationnorthwest.org
Need help finding evidence-based answers to questions about education
practices, policies, or programs? Take advantage of our free reference desk
service offered by our REL Northwest project. Contact Jennifer Klump at
http://askarel.org/northwest for prompt, authoritative, and customized answers
to your questions.
[[alternative HTML version deleted]]
______________________________________________
[email protected] 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.