Re: [R] Legend titles in log plots broken? (ver. 2.2.1)

2006-05-11 Thread Duncan Murdoch
I forgot to mention: if you want to use the patch without installing a new version of R, it's available by sourcing the file https://svn.r-project.org/R/branches/R-2-3-patches/src/library/graphics/R/legend.R It was just a one character change: Index: legend.R

[R] Legend titles in log plots broken? (ver. 2.2.1)

2006-05-10 Thread Rob Steele
Legend titles work in linear plots: curve(1/x, xlim = c(0, 1)) legend(x = 'topright', inset = 0.04, legend = '1/x', lty = 1, title = 'Legend Title') But when you change to a log plot on either dimension things get screwy: curve(1/x, xlim = c(0, 1), log = 'y') legend(x =

Re: [R] Legend titles in log plots broken? (ver. 2.2.1)

2006-05-10 Thread Duncan Murdoch
Rob Steele wrote: Legend titles work in linear plots: curve(1/x, xlim = c(0, 1)) legend(x = 'topright', inset = 0.04, legend = '1/x', lty = 1, title = 'Legend Title') But when you change to a log plot on either dimension things get screwy: curve(1/x, xlim = c(0, 1),