search for: xyrect

Displaying 5 results from an estimated 5 matches for "xyrect".

Did you mean: direct
2007 Sep 13
0
RFE: Add "..." args to barplot()'s xyrect() function calls
Hi all, In referencing this thread: https://stat.ethz.ch/pipermail/r-help/2007-September/140702.html the current barplot.default() function includes an internal function called xyrect() to draw the bars. The xyrect() function definition provides for "..." args, however the actual function calls do not include "..." args. Thus any inline graphic pars specified in the barplot() call are not passed. A patch file against the current SVN barplot.r is attached...
2002 Jul 25
3
Barplot coloring question
Hi all, I have the following dataset, call it test.data (30 columns, and one row named "0"): ADVP ADVP AP AP CONJ CONJ CP CP DU DU INF INF MWU MWU NP NP PP PP PPRT PPRT REL REL SMN SMN SSB SSB SV1 SV1 TI TI 0 96.85 2.05 89.07 2.54 70.91 2.37 94.92 3.46 82.31 11.33 40.96 2.25 98.06 3.43 90.77 17.63 86.60 10.78 60.27 1.32 93.27 0.97 77.60
2010 Jan 12
1
barplot: border color when stacked
Dear R-users, I am using R version 2.10.1 under windows. In a barplot, I want to mark one of the bars with a special border color. For example: barplot(c(3, 7, 11), border = c(NA, "red", NA)) But how to do this when the bars are stacked? for example: barplot(matrix(1:6, ncol=3)) # border of second bar (i.e. the one with total height = 7) should be red again, I try: barplot(matrix(1:6,
2008 Jun 05
0
bug in barplot.default (graphics) (PR#11585)
...NC) if (plot) { opar <- if (horiz) par(xaxs =3D "i", xpd =3D xpd) else par(yaxs =3D "i", xpd =3D xpd) on.exit(par(opar)) if (!add) { plot.new() plot.window(xlim, ylim, log =3D log, ...) } xyrect <- function(x1, y1, x2, y2, horizontal =3D TRUE, ...) { if (horizontal) rect(x1, y1, x2, y2, ...) else rect(y1, x1, y2, x2, ...) } if (beside) xyrect(rectbase + offset, w.l, c(height) + offset, w.r, h...
2007 Sep 12
2
barplot border width
I need to increase the width of the border in a barplot, i checked both barplot, and barplot2, but cant find how to do it. how can I do? thank you john [[alternative HTML version deleted]]