On 5/11/2014 8:53 PM, Paul Murrell wrote:
Hi
There is a grid.roundrect(), in case you are working in that
alternative universe.
Hi, Paul:
Is there an easy way to specify the roundrect arguments in
standard user coordinates? "plot(7:8); grid.roundrect(.6, .4, .4, .2,
name='rr')" gave me a rectangle occupying roughly 50% of the horizontal
space and 30% of the vertical space in the plot region [not 40% and 20%
as I might naively expect], centered at roughly (1.6, 7.4).
I found grid.roundrect mentioned on p. 179 of the second edition
of our "R Graphics". I'll try reading that first part of your chapter 6
to see if that produces sufficient enlightenment. I failed to achieve
sufficient understanding of grid from your first edition.
Thanks,
Spencer
Paul
On 05/12/14 13:46, Spencer Graves wrote:
Is there a function for creating a box with rounded corners?
I can write one, but I thought I'd ask first.
Thanks,
Spencer Graves
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.