Description Usage Examples
View source: R/pt_to_mm.R
ggplot2 uses mm by default for line units, this function takes the desired thickness in pt and converts to mm.
1
pt_to_mm(x_pt)
ggplot(mtcars, aes(wt, mpg)) + geom_line(size=pt_to_mm(0.75))
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.