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

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

 採用された回答

mausere
mausere 2023 年 5 月 16 日

0 投票

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange打印和保存 についてさらに検索

タグ

質問済み:

2023 年 5 月 16 日

回答済み:

2023 年 5 月 16 日

Community Treasure Hunt

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

Start Hunting!