low resolution using 'visible off' and save the figure

Hi:
I met a problem with the display of the figure resolution between the figure plotted by Matlab and figure saved to my PC.
if I direct plot a figure with matlab, the resolution is definitely high.
but if I used the command: f = figure('visible','off'), and save the figure to my PC, the resolution is obviously lower than what I plotted with MATLAB.
I guess there might have somewhere to set the resolution, but I do not know how.
could anyway help me about this?
Thanks!
Li

2 commentaires

Which steps are you using to save the figure?
hi: below are the steps:
f = figure('visible','off');
contour(xxx)
fig_name='abc.jpg';
saveas(f,fig_name,'jpg')
Thanks! Li

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Creating, Deleting, and Querying Graphics Objects dans Centre d'aide et File Exchange

Question posée :

le 4 Fév 2018

Commenté :

le 5 Fév 2018

Community Treasure Hunt

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

Start Hunting!

Translated by