Azzera filtri
Azzera filtri

Plot save as jpg error

2 visualizzazioni (ultimi 30 giorni)
Jiho Ryoo
Jiho Ryoo il 25 Dic 2020
Commentato: Jiho Ryoo il 25 Dic 2020
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.

Risposte (1)

Image Analyst
Image Analyst il 25 Dic 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.
  1 Commento
Jiho Ryoo
Jiho Ryoo il 25 Dic 2020
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!

Accedi per commentare.

Categorie

Scopri di più su Graphics Performance in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by