You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to plot pie charts over the ggproto object plots$qrates01, but get the error message 'Error: Discrete value supplied to continuous scale' and I can't figure out what its refering to, or how to correct it?
For example, it works when I run this:
require(scatterpie)
ggplot()+
geom_path(data = map, aes(x = long, y = lat, group = group),
color = "black", size = 0.5, alpha=0.3)+
coord_quickmap()+
geom_scatterpie(aes(x=long, y=lat),
data=admix2, cols=LETTERS[1:5])
But I get the error when I run this:
plots$qrates01+
geom_path(data = map, aes(x = long, y = lat, group = group),
color = "black", size = 0.5, alpha=0.3)+
coord_quickmap()+
geom_scatterpie(aes(x=long, y=lat),
data=admix2, cols=LETTERS[1:5])
Any ideas or suggestions of what I could try?
Thanks,
Sarah
The text was updated successfully, but these errors were encountered:
I am running into similar issues. I'm trying to plot geographic features using ggplot on my eems surface and was wondering if you ever found a solution.
Hi,
I'm trying to plot pie charts over the ggproto object plots$qrates01, but get the error message 'Error: Discrete value supplied to continuous scale' and I can't figure out what its refering to, or how to correct it?
For example, it works when I run this:
require(scatterpie)
ggplot()+
geom_path(data = map, aes(x = long, y = lat, group = group),
color = "black", size = 0.5, alpha=0.3)+
coord_quickmap()+
geom_scatterpie(aes(x=long, y=lat),
data=admix2, cols=LETTERS[1:5])
But I get the error when I run this:
plots$qrates01+
geom_path(data = map, aes(x = long, y = lat, group = group),
color = "black", size = 0.5, alpha=0.3)+
coord_quickmap()+
geom_scatterpie(aes(x=long, y=lat),
data=admix2, cols=LETTERS[1:5])
Any ideas or suggestions of what I could try?
Thanks,
Sarah
The text was updated successfully, but these errors were encountered: