필터 지우기
필터 지우기

low resolution using 'visible off' and save the figure

조회 수: 1 (최근 30일)
Yu Li
Yu Li 2018년 2월 4일
댓글: Yu Li 2018년 2월 5일
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
Walter Roberson
Walter Roberson 2018년 2월 4일
Which steps are you using to save the figure?
Yu Li
Yu Li 2018년 2월 5일
hi: below are the steps:
f = figure('visible','off');
contour(xxx)
fig_name='abc.jpg';
saveas(f,fig_name,'jpg')
Thanks! Li

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by