How to remove the unwanted white border?

4 次查看(过去 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

采纳的回答

Image Analyst
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 .

更多回答(1 个)

Walter Roberson
Walter Roberson 2014-1-7
  1 个评论
vidya
vidya 2014-1-7
i tried this sir...but still its not working..the white border is still present

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Printing and Saving 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by