figureの背景をsaveas関数で透明で保存する方法
Show older comments
matlab で作ったfigureの背景を透明の状態で保存する方法を教えてほしいです。
作ったfigureとaxes のプロパティを透明にしても保存すると背景が白になってしまいます。
例を示します。
plot(1:10)
fig=gcf;
fig.Color='none'
ax=gca;
ax.Color='none'
saveas(fig,'test.emf')
ですると、表示は透明(matlabfig状は黒ですが)なのに、保存されたデータを見ると背景に白が設定されてしまいます。
最終的にsaveas関数で保存できて、背景を透明にできる方法をご教授していただけましたら、幸いです。
どうぞよろしくお願いいたします。
Accepted Answer
More Answers (0)
Categories
Find more on 印刷と保存 in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!