how to use export_fig to save an image without the margin
1 回表示 (過去 30 日間)
古いコメントを表示
Hi People,
Please I want to use export_fig to save an image without the margin.
1 件のコメント
Amin Abedini
2021 年 11 月 28 日
X = 1:1:10;
Y = 1:1:10;
F = figure
plot(X,Y);
set(gcf,'color','w');
%%%%%%%%%%%%%%%%%%%
FigName = 'FigWithNoBorder';
export_fig FigName.png '-r300' % Saves as png with 300 resolution.
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!