2013-01-15 27 views
10

Her defasında pch = 21'i kafes ile R'de çizim yapmak için kullandığımda, çizimim normal olarak R çizimi penceresinde ve pdf'de (kenarlıklı daireler) çizilir; ancak Adobe Illustrator veya Inkscape'deki çizimimin kaydedilmiş bir pdf sürümünü açtığımda, noktalar garip bir şekilde "q" 'a dönüştürülür. Bunu açıklayan var mı? Çizimi Illustrator veya Inkscape'de düzenlemek istediğimden oldukça sinir bozucu.Göstergelerin "q" olarak çizilmesi

useDingbats = FALSE 

olduğu gibi:

pdf("myplot.pdf", useDingbats=FALSE) 
plot() 
dev.off() 
+0

Bu daha önceki soru aşağıdaki gibi olabilir: http://stackoverflow.com/questions/9992275/ggplot2-pdf-import-in-adobe-illustrator-missing-font-adobepistd – bdemarest

cevap

14

Ben Kullanmak istediğiniz düşünüyorum nfig bildirimi benim Linux kutularında geçmişte (ve hala) çalıştı. Kote edilmiş cümlelerin en sonunda belirtilen diğer sayfaları okumanızı veya okumanızı öneririm ve bunların gördükleri sorunu çözüp çözmediklerini görün.

8

?pdf sahiptir:

On some systems the default plotting character ‘pch = 1’ is 
displayed in some PDF viewers incorrectly as a ‘"q"’ character. 
(These seem to be viewers based on the ‘poppler’ PDF rendering 
library). This may be due to incorrect or incomplete mapping of 
font names to those used by the system. Adding the following 
lines to ‘~/.fonts.conf’ or ‘/etc/fonts/local.conf’ may circumvent 
this problem. 

<fontconfig>  
<alias binding="same"> 
    <family>ZapfDingbats</family> 
    <accept><family>Dingbats</family></accept> 
</alias> 
</fontconfig> 

Some further workarounds for problems with symbol fonts on viewers 
using ‘fontconfig’ are given in the ‘Cairo Fonts’ section of the 
help for ‘X11’. 

fontco Yani

enter image description here