复制为向量图时出现警告。

警告: 向量化内容可能需要很长时间才能创建,或者可能包含意外结果。将 'ContentType' 设置为
'image' 以提高性能。点击此处以不再显示此消息。
请问在哪里设置?

 Réponse acceptée

mausere
mausere le 16 Mai 2023

0 votes

请参考此例子:
clear;
clc
bar([1 11 7 8 2 2 9 3 6])
% 要求 R2020a 或更高版本
exportgraphics(gcf,'vecto2rfig.pdf','ContentType','image')

Plus de réponses (0)

Catégories

En savoir plus sur 打印和保存 dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!