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

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

 Accepted Answer

mausere
mausere on 16 May 2023

0 votes

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

More Answers (0)

Categories

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

Tags

Asked:

on 16 May 2023

Answered:

on 16 May 2023

Community Treasure Hunt

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

Start Hunting!