How to remove the unwanted white border?
5 ビュー (過去 30 日間)
古いコメントを表示
good day
when i save an image (figure),It saves the image with unnecessary white border..I do not know how to get rid of it.I tried export_fig,getframe,gca, visibility and all that but still it does not wort out for me? How can i solve this..
Here is my image,i want to remove the thick white border
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/154731/image.png)
0 件のコメント
採用された回答
Image Analyst
2014 年 1 月 7 日
How are you saving it. You're probably using save() or saveas() instead of imwrite(). Don't save the figure, which will have a border. Just save the image array only .
0 件のコメント
その他の回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Printing and Saving についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!