Ernest Adrogué
unread,Jan 30, 2013, 10:47:46 AM1/30/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ggp...@googlegroups.com
Adding a panel border to a plot with theme() results in a rectangular border
with different line widths on each edge of the rectangle. For instance,
qplot(1, 1) + theme(panel.border=element_rect(size=2, fill=NA))
adds a border, but the top and left edges are noticeable thinner than the
bottom and right ones. Changing the value of size= may produce different
results. For example, without a size argument the bottom and left edges are
the right width, and it's the top and right one that are too thin. I am
experiencing this with many different devices, namely x11, postcript and
cairo.
Cheers.