编辑器运行‘expo​rtgraphics​(gcf,[name '.pdf']);’

10 visualizzazioni (ultimi 30 giorni)
donghua
donghua il 16 Lug 2025
Commentato: donghua il 6 Ago 2025
exportgraphics(gcf,[name '.pdf']);导出的PDF格式文件中的中文显示错误,显示‘#####’
  2 Commenti
Esther
Esther il 28 Lug 2025
请问显示为‘#####’时,原始的中文字符内容是什么?绘制用的指令是什么?
donghua
donghua il 28 Lug 2025
您好,原始的中文字符内容是’电子温度涨落‘,就是纵坐标轴的命名:ylabel('电子温度涨落{\itT}_{ef}(eV)')。如下图所式,想把画好的图保存下来,其它格式的都正常,就pdf格式有问题。换PDF查看软件也还是显示‘#####’。

Accedi per commentare.

Risposte (1)

Esther
Esther il 31 Lug 2025
请尝试下在属性检查器中将文本字体改为任意一种中文字体是否能够解决问题:
  1 Commento
donghua
donghua il 6 Ago 2025
非常感谢您的回答,我知道问题出在哪了。用了其它字体问题解决了

Accedi per commentare.

Categorie

Scopri di più su 打印和保存 in Help Center e File Exchange

Prodotti


Release

R2024b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!