powered by
Draws a box on the current figure that is filled with symbols representing individual counts
symbolbox(x1,y1,x2,y2,tot,relw=0.5,fg=par("fg"),bg=par("bg"),box=TRUE, debug = TRUE,...)
none; draws on the current figure
left side of box
bottom side of box
right side of box
top side of box
total number of symbols to put in the box
relative width (relative to height) of symbols
foreground color
background color
(logical) draw box border?
debug output?
additional arguments to polygon() for drawing box
Ben Bolker
tries to automatically figure out appropriate scaling to fit symbols into the box
multsymbolbox
plot(1:10,1:10,type="n") symbolbox(2,5,3,7,tot=20) symbolbox(6,2,10,6,tot=50,fg="blue",bg="magenta")
Run the code above in your browser using DataLab