从ggplot2删除顶部和右边界 [英] remove top and right border from ggplot2

查看:897
本文介绍了从ggplot2删除顶部和右边界的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以从ggplot2图中删除顶部和右侧边界?



即,我想保留x和y轴,但删除其余的围绕图形的黑框。



// M

解决方案

请参阅此主题,它专门处理此问题



http://groups.google.com/group/ggplot2/browse_thread/thread/f998d113638bf251



并给出一个似乎可行的解决方案。

Is it possible to to remove the top and right border from ggplot2 graphs?

I.e, I'd like to keep the x and y-axis but remove the rest of the black frame that surrounds the graph.

//M

解决方案

see this thread, it deals specifically with the problem here

http://groups.google.com/group/ggplot2/browse_thread/thread/f998d113638bf251

and gives a solution that appears to work.

这篇关于从ggplot2删除顶部和右边界的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆