http://www.andrewheiss.com/blog/2017/09/27/working-with-r-cairo-graphics-custom-fonts-and-ggplot/ #27
Replies: 7 comments 5 replies
-
A really nice use of Papyrus and Comic Sans! |
Beta Was this translation helpful? Give feedback.
-
Very nice post, remembering to use the Cario devices when using custom |
Beta Was this translation helpful? Give feedback.
-
I dont see any labels or digits in the plots for R ver 3.6.0 on R Studio |
Beta Was this translation helpful? Give feedback.
-
OH MY GAWD THANK YOU SO MUCH FOR THIS |
Beta Was this translation helpful? Give feedback.
-
Note that for anyone reading this in 2023 and using ggplot version > 3.3.3, the |
Beta Was this translation helpful? Give feedback.
-
With @jsavinc's comment above, it is still possible to make # With ragg
ggsave(p, filename = "example-cairo.png",
device = ragg::agg_png, res = 300,
width = 4, height = 3, units = "in")
# With Cairo
ggsave(p, filename = "example-cairo.png",
device = png, type = "cairo", dpi = 300,
width = 4, height = 3, units = "in") |
Beta Was this translation helpful? Give feedback.
-
Very helpful!! |
Beta Was this translation helpful? Give feedback.
-
Working with R, Cairo graphics, custom fonts, and ggplot | Andrew Heiss
http://www.andrewheiss.com/blog/2017/09/27/working-with-r-cairo-graphics-custom-fonts-and-ggplot/
Beta Was this translation helpful? Give feedback.
All reactions