Plot in 300 or 600 dpi
47 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Santos García Rosado
le 29 Mar 2021
Modifié(e) : Lazaros Moysis
le 10 Mar 2025
Hello everybody,
I'm trying to plot a couple of figures(pie charts, histograms, graphs...) and I was wondering if it is possible to plot those figures with a 300 or 600 dpi. I've read some documentation that shows you how to save it with better resolution but I couldn't find any kind of information regarding to actual plotting in higher deffinition.
Is it even possible to achieve this? If so, could someone please show me how or at least share some useful useful documentation?
Thank's for the help.
Santos
0 commentaires
Réponse acceptée
darova
le 6 Avr 2021
Use print
x = 0:10;
y = sin(x);
plot(x,y);
print('test','-dpng','-r300')
2 commentaires
Plus de réponses (2)
Divya Gaddipati
le 5 Avr 2021
A similar question has already been answered which might be of relevance.
Lazaros Moysis
le 10 Mar 2025
Modifié(e) : Lazaros Moysis
le 10 Mar 2025
See this vid that explains how to set the dpi in an image before saving it https://www.youtube.com/watch?v=l_RlatXReks
0 commentaires
Voir également
Catégories
En savoir plus sur Annotations dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!