ggplot2 pdf import in Adobe Illustrator missing font AdobePiStd

后端 未结 9 2044
执念已碎
执念已碎 2020-12-07 13:47

I created several simple ggplot2 plots and saved them to PDF files using the following commands:

p <- ggplot(plotobject, aes(x=Pos, y=Pval),res=300)
ggsav         


        
9条回答
  •  再見小時候
    2020-12-07 14:41

    Although changing the fonts used by AI works well, an alternative is to restrict ggplot2 from using Dingbats in the first place by adding the argument 'useDingbats' to your ggsave command eg:

    ggsave(plot=p,height=6,width=6,dpi=200, filename="~/example.pdf", useDingbats=FALSE)
    

提交回复
热议问题