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