Azzera filtri
Azzera filtri

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

4 visualizzazioni (ultimi 30 giorni)
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.

Risposte (0)

Categorie

Scopri di più su Printing and Saving in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by