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

exportgraphics(gcf,[name '.pdf']);导出的PDF格式文件中的中文显示错误,显示‘#####’

2 Comments

Esther
Esther on 28 Jul 2025
请问显示为‘#####’时,原始的中文字符内容是什么?绘制用的指令是什么?
您好,原始的中文字符内容是’电子温度涨落‘,就是纵坐标轴的命名:ylabel('电子温度涨落{\itT}_{ef}(eV)')。如下图所式,想把画好的图保存下来,其它格式的都正常,就pdf格式有问题。换PDF查看软件也还是显示‘#####’。

Sign in to comment.

Answers (1)

Esther
Esther on 31 Jul 2025

0 votes

请尝试下在属性检查器中将文本字体改为任意一种中文字体是否能够解决问题:

1 Comment

非常感谢您的回答,我知道问题出在哪了。用了其它字体问题解决了

Sign in to comment.

Categories

Find more on 打印和保存 in Help Center and File Exchange

Products

Release

R2024b

Asked:

on 16 Jul 2025

Commented:

on 6 Aug 2025

Community Treasure Hunt

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

Start Hunting!