How to remove the unwanted white border?

4 Ansichten (letzte 30 Tage)
vidya
vidya am 7 Jan. 2014
Beantwortet: Image Analyst am 7 Jan. 2014
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

Akzeptierte Antwort

Image Analyst
Image Analyst am 7 Jan. 2014
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 .

Weitere Antworten (1)

Walter Roberson
Walter Roberson am 7 Jan. 2014
  1 Kommentar
vidya
vidya am 7 Jan. 2014
i tried this sir...but still its not working..the white border is still present

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Printing and Saving finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by