Plot save as jpg error

2 次查看(过去 30 天)
Jiho Ryoo
Jiho Ryoo 2020-12-25
评论: Jiho Ryoo 2020-12-25
Hello.
I am using 2020b version MATLAB, and have plot save issue.
When I plot a graph and try to save it as jpg file, there rises the proble. It saves ok for most times, but ocasionally (about once a five times) MATLAB will just shut down. It usually works well when I restart MATLAB.
After the shutdown, when I check the directory that I tried to save the jpg plot, empty file is saved.
What might be the possible reason for this? Maybe hardware issue? I am using laptop with I5 CPU and 8GB RAM.
Thank you.

回答(1 个)

Image Analyst
Image Analyst 2020-12-25
Who knows the reason - you didn't tell us what the error said. It doesn't really matter anyway, because you should not be using JPG anyway. I mean, who wants to deal with lousy compression artifacts? Save the file as PNG, which is pretty much the new standard these days. It's a lossless compression scheme and will give better looking pictures.
  1 个评论
Jiho Ryoo
Jiho Ryoo 2020-12-25
I don't know the error code; the program will just shut down without printing anything! TT
And thank you for letting me know to use png. To be honest, I thought jpg was better than png till now. lol.
Thank you for answering!

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Graphics Performance 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by