필터 지우기
필터 지우기

Exportgraphics 导出透明背景

조회 수: 6 (최근 30일)
嘉琦 常
嘉琦 常 2024년 7월 24일 8:25
sphere
set(gca,'color','none')
ax = gca;
copygraphics(ax,'ContentType','vector','BackgroundColor','none');
我想实现的是导出透明背景。copygraphics可以实现,但是我需要生成很多图。无法保存,应该如何解决。
exportgraphics(ax,'test.png','BackgroundColor','none')
警告: 不支持背景透明度;用白色代替。
请问 exportgraphics 如何导出透明背景

답변 (0개)

카테고리

Help CenterFile Exchange에서 打印和保存에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!