Displaying 4 results from an estimated 4 matches for "legpercol".
2000 May 31
1
legend with multiple columns
...*** 67,72 ****
--- 69,78 ----
do.lines <- (!missing(lty) && any(lty > 0)) || !missing(lwd)
n.leg <- length(legend)
+ if (horiz && ncol!=1) warning("horizontal specification overrides number of columns")
+ if (horiz) ncol <- n.leg
+ n.legpercol <- ceiling(n.leg / ncol) ## legends per column
+
if(has.pch <- !missing(pch)) {
if(is.character(pch) && nchar(pch[1]) > 1) {
if(length(pch) > 1)
***************
*** 98,108 ****
} else {## nx == 1
## -- (w,h) := (width,height) of the bo...
2001 Aug 27
1
colorbar legend for image()
Hi,
are there any plans to add a colorbar legend to image()?
Or such a possibility already implemented which I just haven't
discovered yet. Anyway, I will be willing to spent some time on the
implementation if there isn't anyone working on that already.
Thanks
Thomas
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read
2011 Jul 18
2
line jump in plot legend title
Hello,
In order to reduce the width of my legend in a plot I introduced line jumps in the title. Here's the problem; the legend box hasn't adapted accordingly and part of the title is printed out of the frame.
See the example below:
plot(1:10)
legend("bottomright", bg="white", fill=c(7,8,12,13,19),
2000 Jun 09
2
w0 in legend
In Version 1.1.0 Under development (unstable) (June 8, 2000)
there seems to be a problem with an internal variable w0 in legend that
generates the following new error:
Error in legend((par()$usr)[1:2], (par()$usr)[3:4], Legend, lty = lty, :
Object "w0" not found
>
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read