Hi

I want to draw a rectangle behind a barplot such that it highlights
those particular bars from the rest of the plot.  I have figured out how
to draw a barplot(), and then how to draw a rectangle of the correct
shape and size (using rect()), but when I use rect() it draws over the
top of the bars, and then when I re-draw the bars, it draws with a white
background, thus eliminating my rectangle!  I can't use box() as I don't
want to draw a box round my entire plot, I just want to draw a box as
the background to certain subsets of the bars.

Can anyone help?  (those of you familiar with microsoft word/excel
drawing tools, I want something similar to the command "send to back"
such that one drawing object is placed behind the others)

Thanks in advance

Mick

______________________________________________
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to