Re: [R] Trying to Learn Details of Grid Graphics, Help Page Errors

2021-09-23 Thread bill
B=1 ) # Feature request: This gives a warning ggplot(data_with_long_names, aes(x=A, y=B)) + geom_point() ggplot(data_with_long_names, aes(x=A, y=B)) + geom_point() + theme( axis.text.x=element_text(angle=45, hjust=1, vjust=1, size=rel(0.5)) ) -Original Message- From: Pau

Re: [R] Trying to Learn Details of Grid Graphics, Help Page Errors

2021-09-22 Thread Paul Murrell
Hi The first place you should probably start (given where you are right now) is this R Journal article ... https://journal.r-project.org/archive/2013/RJ-2013-035/RJ-2013-035.pdf In brief, the drawDetails() function has been (almost entirely) superceded by the makeContent() function. The

[R] Trying to Learn Details of Grid Graphics, Help Page Errors

2021-09-22 Thread bill
Hello, I'm trying to learn the details of grid graphics. Specifically, I'm trying to create a check that will give a warning or error if text goes outside of the visible plot area. (See https://github.com/tidyverse/ggplot2/issues/3282 for an example of what I mean.) In my digging, I