Displaying 6 results from an estimated 6 matches for "kaiti".
Did you mean:
haiti
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 package
> "gridExtra". Error message after I type "ggsave(......)" (last line of the
> program):
>
> "Saving 7.47 x 5.15 in image
> Er...
2017 Oct 12
2
can't print ggplot with Chinese characters to pdf files
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 package
"gridExtra". Error message after I type "ggsave(......)" (last line of the
program):
"Saving 7.47 x 5.15 in image
Error in grid.Call.graphics(L_te...
2017 Oct 13
4
[FORGED] can't print ggplot with Chinese characters to pdf files
...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
> package
> "gridExtra". Error message after I type "ggsave(......)" (last
> line of the
>...
2017 Oct 13
0
[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 package
>> "gridExtra". Error message after I type "ggsave(......)" (last line of the
>> program):
>>
>> "Saving 7.47 x 5....
2017 Oct 20
0
[FORGED] can't print ggplot with Chinese characters to pdf files
..._line()+ggtitle("test1")
#p2<-ggplot(df1, aes(x=x, y=y))+geom_line()+ggtitle("test2")
p1<-ggplot(df1, aes(x=x, y=y))+geom_line()+ggtitle("??")
p2<-ggplot(df1, aes(x=x, y=y))+geom_line()+ggtitle("??")
p1<-p1+theme(text = 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...
2017 Oct 16
0
[FORGED] can't print ggplot with Chinese characters to pdf files
...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
>> package
>> "gridExtra". Error message after I type "ggsave(......)" (last
>> line...