Save figure with high-quality

4 vues (au cours des 30 derniers jours)
BN
BN le 25 Juil 2020
Modifié(e) : BN le 26 Juil 2020
Dear all,
I want to save my figure with high quality. I need the quality of the figure do not reduce by zooming. I tried something like:
print(gcf,'GP_MON','-dpng','-r2080');
% or
export_fig (gcf, '-zbuffer','-r1080');
% or
print(gcf,'GP_MON','-dtiffn','-r2080');
But after I insert the output in Microsoft office and zoom I see the quality of the figure reduce significantly.
What I have:
also my plot items turns blury too, when zoomin:
What I need:
Both zoomed by 6400%
Also, I want to have low volume of file size (like 500 kb).
So is this possible?

Réponse acceptée

Walter Roberson
Walter Roberson le 25 Juil 2020
When you save to png, it is guaranteed that you will not get the behavior that you want. The only vector file formats available are pdf, eps, and svg .
  2 commentaires
BN
BN le 26 Juil 2020
I am really thank you, here is my high-quality output using -dsvg:
print(gcf,'GP_MON','-dsvg');
Thank you
BN
BN le 26 Juil 2020
Modifié(e) : BN le 26 Juil 2020
Dear Walter,
The volume of -dsvg is about 2 MB so I tried -dpdf which gave me very high-quality just like -dsvg but with very suitable volume (200 KB) but I don't know how to have just figure, not a pdf file (in order to use it in microsoft office word)
Do you have information about this issue? Thanks

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Data Exploration dans Help Center et File Exchange

Tags

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by