search for: test_plot_chinese

Displaying 6 results from an estimated 6 matches for "test_plot_chinese".

2017 Oct 13
4
[FORGED] can't print ggplot with Chinese characters to pdf files
Hi By the looks of it, you need to install Cairo graphics ... https://www.cairographics.org/download/ Paul On 13/10/17 15:48, John wrote: > Thanks, Paul. Following your solution, ?I got this error message: > > Warning message: > In cairo_pdf("test_plot_chinese.pdf") : failed to load cairo DLL > > Is there anything else I need to install? > > Thanks, > > John > > 2017-10-12 19:24 GMT-07:00 Paul Murrell <paul at stat.auckland.ac.nz > <mailto:paul at stat.auckland.ac.nz>>: > > Hi > > Ins...
2017 Oct 13
1
[FORGED] can't print ggplot with Chinese characters to pdf files
Hi Instead of ... ggsave("test_plot_chinese.pdf", m2) ... try ... cairo_pdf("test_plot_chinese.pdf") print(m2) dev.off() Paul On 13/10/17 02:12, John wrote: > I install the Chinese font "Kaiti TC" on my mac, but I can't print the > figures to pdf file by "marrangeGrob" command, which is in the...
2017 Oct 20
0
[FORGED] can't print ggplot with Chinese characters to pdf files
...xt = element_text(family = "Kaiti TC")) p2<-p2+theme(text = element_text(family = "Kaiti TC")) p<-array(list(NA), dim=2) p[[1]]<-p1 p[[2]]<-p2 p_series <- lapply(1:(length(p)), function(.x) p[.x][[1]]) m2 <- marrangeGrob(p_series, nrow=2, ncol=1) #ggsave("test_plot_chinese.pdf", m2) cairo_pdf("test_plot_chinese.pdf") print(m2) dev.off() 2017-10-12 19:55 GMT-07:00 Paul Murrell <paul at stat.auckland.ac.nz>: > Hi > > By the looks of it, you need to install Cairo graphics ... > > https://www.cairographics.org/download/ > >...
2017 Oct 13
0
[FORGED] can't print ggplot with Chinese characters to pdf files
Thanks, Paul. Following your solution, I got this error message: Warning message: In cairo_pdf("test_plot_chinese.pdf") : failed to load cairo DLL Is there anything else I need to install? Thanks, John 2017-10-12 19:24 GMT-07:00 Paul Murrell <paul at stat.auckland.ac.nz>: > Hi > > Instead of ... > > ggsave("test_plot_chinese.pdf", m2) > > ... try ... > > cai...
2017 Oct 16
0
[FORGED] can't print ggplot with Chinese characters to pdf files
...ooks of it, you need to install Cairo graphics ... > > https://www.cairographics.org/download/ > > Paul > > On 13/10/17 15:48, John wrote: > >> Thanks, Paul. Following your solution, I got this error message: >> >> Warning message: >> In cairo_pdf("test_plot_chinese.pdf") : failed to load cairo DLL >> >> Is there anything else I need to install? >> >> Thanks, >> >> John >> >> 2017-10-12 19:24 GMT-07:00 Paul Murrell <paul at stat.auckland.ac.nz >> <mailto:paul at stat.auckland.ac.nz>>: >&...
2017 Oct 12
2
can't print ggplot with Chinese characters to pdf files
...ext = element_text(family = "Kaiti TC")) p2<-p2+theme(text = element_text(family = "Kaiti TC")) p<-array(list(NA), dim=2) p[[1]]<-p1 p[[2]]<-p2 p_series <- lapply(1:(length(p)), function(.x) p[.x][[1]]) m2 <- marrangeGrob(p_series, nrow=2, ncol=1) ggsave("test_plot_chinese.pdf", m2) [[alternative HTML version deleted]]