MATLAB Answers

Getting better high resolution images!

1,720 views (last 30 days)
manish sharma
manish sharma on 25 Nov 2012
Commented: Image Analyst on 14 Aug 2021
Hi,
I am using the "plot" command to generate certain graph. I save it in ".tiff" format.
However, the image looks blurry when I copy it to MS Word and especially when I take a print-out (may be because of poor resolution).
Is it possible to produce a better "high resolution" image?
Thanks!
  1 Comment
Anna Nagle
Anna Nagle on 6 Oct 2017
If I have time, I save as eps and then use Photoshop or Gimp to crop it and save it in another format if needed. If I don't have time, I save as png since I can import that directly into Word and crop it there if necessary.

Sign in to comment.

More Answers (4)

Adri van Nieuwkerk
Adri van Nieuwkerk on 5 Jun 2018
I was looking for something similar and found this answer on stackoverflow. Without having to download a separate function to do this try printing the image using print. Adjust the dpi, set at 300, to the resolution you want. The higher the dpi, the larger the file size.
print(gcf,'foo.png','-dpng','-r300'); *// 300 dpi
  4 Comments
Image Analyst
Image Analyst on 14 Aug 2021
@Osama Arafa, @Biswabhanu Puhan, and @Osama Arafa, like I said below, "With r2020a and later, the preferred solution is to use exportgraphics() and/or copygraphics()."

Sign in to comment.


Image Analyst
Image Analyst on 25 Nov 2012
  1 Comment
manish sharma
manish sharma on 26 Nov 2012
Wow. Thanks a lot. It worked.
I have a doubt: Although the image produced is good in resolution but it takes a lot of space in MS Word doc (meaning it occupies half of my A4 page). If I resize it in word, it again degrades the image.
Is their any solution to resize the image to smaller scale maintaining the high resolution?
Thanks again for helping me out!

Sign in to comment.


Shubhranshu Kumar Tiwary
Shubhranshu Kumar Tiwary on 11 May 2021
Most of the time while image attaching/pasting in Word, the image is auto-corrected to look better. More often than not it results in bad image quality. For improving images go to Word Options> Advanced>Image Size and Quality and check/uncheck "Do not compress image in file" and edit the image dpi from there. It resulted in better image quality for my Word Documents. I have tried it in Word 2016 and later versions.

Image Analyst
Image Analyst on 13 Aug 2021
With r2020a and later, the preferred solution is to use exportgraphics() and/or copygraphics().

Community Treasure Hunt

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

Start Hunting!