Effacer les filtres
Effacer les filtres

How to save a plot as jpeg or pdf with a given aspect ratio and resolution?

4 vues (au cours des 30 derniers jours)
TP Das
TP Das le 26 Jan 2015
I need to save a plot generated by my matlab code as a jpeg or pdf file. The simple 'saveas' command works, but the resolution is poor, the aspect ratio of the generated jpeg is not the one I want (it seems to generate pictures only in a given aspect ratio) because of which the legend table and/or the axes get cut in the resulting picture file. Please help me with the codes that will save my plot as a jpeg or pdf with the resolution and aspect ratio specified in the program.

Réponses (0)

Catégories

En savoir plus sur Printing and Saving 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!

Translated by