将Mathematica网格导出为矢量图形时的字符串引号

时间:2010-06-18 07:24:15

标签: wolfram-mathematica

运行以下

agrid = Grid[{{Style["hello", Bold]}}]
ImportString[ExportString[agrid, "PNG"], "PNG"]
ImportString[ExportString[agrid, "EPS"], "EPS"]

吐出

  

你好
   的你好
  的 “你好”

也就是说,EPS导出器在输出中包含引号。对于PDF也是如此。没有Grid,所有出口商都会忽略引号。 我需要什么魔法才能摆脱PDF中的引号?

1 个答案:

答案 0 :(得分:4)

为你的伴奏添加ShowStringCharacters-> False。