Plot save as jpg error
2 views (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
Image Analyst
on 25 Dec 2020
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.
See Also
Categories
Find more on Graphics Performance in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!