Effacer les filtres
Effacer les filtres

Plot save as jpg error

2 vues (au cours des 30 derniers jours)
Jiho Ryoo
Jiho Ryoo le 25 Déc 2020
Commenté : Jiho Ryoo le 25 Déc 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.

Réponses (1)

Image Analyst
Image Analyst le 25 Déc 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 commentaire
Jiho Ryoo
Jiho Ryoo le 25 Déc 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!

Connectez-vous pour commenter.

Catégories

En savoir plus sur Graphics Performance dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by