Skip to content

lty=0 -- shouldn't it give an invisible line? (PR#130)

1 message · Peter Dalgaard

#
Currently, it seems that setting lty=0 gives a solid line in most
contexts (lines(), e.g.) but a strangely dotted-dash line in others
(axis()). This shows up on barplots, and looks fairly odd:

x<-c(a=1,b=2,c=3)
barplot(x)

barplot() is doing an axis(...,lty=0), presumably with the intention
of plotting the labels, but not the actual axis.