Piedonut:如何摆脱图表周围的框架?
我正在使用以下信息
piedata<-data.frame("Sources"=c(rep("Fossil", 7644), rep("Non fossil", 2356)))
piedata$Name<-c(rep("Coal", 6839), rep("Gas", 804), rep("Wind", 753), rep("Hydro", 712), rep("Rooftop solar", 595), rep("Others", 297))
Plot<-PieDonut(piedata, aes(pies=Sources, donuts=Name), ratioByGroup=FALSE, start=3*pi/2, explode = 2)
我想要的是没有框架的图。我已经看到很多没有框架的图。
I am using the following information
piedata<-data.frame("Sources"=c(rep("Fossil", 7644), rep("Non fossil", 2356)))
piedata$Name<-c(rep("Coal", 6839), rep("Gas", 804), rep("Wind", 753), rep("Hydro", 712), rep("Rooftop solar", 595), rep("Others", 297))
Plot<-PieDonut(piedata, aes(pies=Sources, donuts=Name), ratioByGroup=FALSE, start=3*pi/2, explode = 2)
What I want is the plot without the frame. I have seen a lot of plots without the frame.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以应用自定义主题。相关主题元素是
panel.border
:You can apply a custom theme. The relevant theme element is
panel.border
: