figureの背景をsaveas関数で透明で保存する方法
Afficher commentaires plus anciens
matlab で作ったfigureの背景を透明の状態で保存する方法を教えてほしいです。
作ったfigureとaxes のプロパティを透明にしても保存すると背景が白になってしまいます。
例を示します。
plot(1:10)
fig=gcf;
fig.Color='none'
ax=gca;
ax.Color='none'
saveas(fig,'test.emf')
ですると、表示は透明(matlabfig状は黒ですが)なのに、保存されたデータを見ると背景に白が設定されてしまいます。
最終的にsaveas関数で保存できて、背景を透明にできる方法をご教授していただけましたら、幸いです。
どうぞよろしくお願いいたします。
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur 起動と終了 dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!