2013-01-15 13 views
10

हर बार जब मैं जाली के साथ आर में प्लॉटिंग के लिए पीएच = 21 का उपयोग करता हूं, तो मेरी साजिश आम तौर पर आर प्लॉटिंग विंडो और पीडीएफ (सीमाओं के साथ मंडल) में प्लॉट करती है; हालांकि जब मैं एडोब इलस्ट्रेटर या इंकस्केप में अपनी साजिश का एक सहेजा गया पीडीएफ संस्करण खोलता हूं, तो बिंदुओं को अजीब रूप से "क्यू" में परिवर्तित कर दिया जाता है। क्या कोई इसे समझा सकता है? यह बहुत निराशाजनक है, क्योंकि मैं अपनी साजिश को इलस्ट्रेटर या इंकस्केप में संपादित करना चाहता हूं।आर पीएच प्लॉटिंग इमेजेटर में "क्यू"

enter image description here

+0

यह पहले सवाल का उपयोग किया जा सकता है: http://stackoverflow.com/questions/9992275/ggplot2-pdf-import-in-adobe-illustrator-missing-font-adobepistd – bdemarest

उत्तर

14

मुझे लगता है कि आप उपयोग करना चाहते हो सकता है:

useDingbats = FALSE 

के रूप में:

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

?pdf है:

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 एनएफआईजी घोषणा ने मेरे लिनक्स बॉक्स पर अतीत में (और अभी भी करता है) मेरे लिए काम किया है। मेरा सुझाव है कि आप उद्धृत वाक्यों में बताए गए अन्य पृष्ठों को सेट करें या पढ़ें और देखें कि क्या आप जो समस्या देख रहे हैं उसे ठीक करते हैं।

संबंधित मुद्दे