Displaying 2 results from an estimated 2 matches for "pie2".
Did you mean:
pie
2010 Nov 23
1
specifying colours in a ggplot2 piechart
..., h = "orange", i = "red", j = "blue",
k = "green", l = "orange", m = "red", n = "blue", o = "green",
p = "orange" )
pie1 <- ggplot(mypie, aes(x = factor(zz), fill = factor(zz))) + geom_bar(width = 1)
pie2 <- pie + coord_polar(theta = "x") + scale_colour_brewer(Pastel1)
pie2
# try to get even nastier piechart with ugly colours to provide rast.
pie3 <- pie2 + scale_colour_manual(value=mycolours)
pie
2007 May 27
2
pie chart in lattice - trellis class
Dear all,
After going through the Lattice doc and R-help list and google, I got
the feeling that there is no function in lattice or other package to
compute a pie chart object of class "trellis". Although pie charts are
obviously not considered optimal even in the pie() doc ;-) , pie chart
trellis objects would be easy positioned e.g. over a map drawn with the
grids package.
Can