필터 지우기
필터 지우기

How to make the graphs more smooth in matlab

조회 수: 5 (최근 30일)
Debashis Panda
Debashis Panda 2020년 2월 18일
댓글: Adam 2020년 2월 18일
Hello,
I have plotted some figures in MATLAB 2017a. However, i am observing the quality and resolution of the graphs is too low. The lines are like step functions in the figure (as indicated by red region in attach graph). Anybody please help how to improve its quality.
  댓글 수: 3
Debashis Panda
Debashis Panda 2020년 2월 18일
Adam
Adam 2020년 2월 18일
I can't see anything in that image. If the lines are like step functions though then it is because your data is like step functions. You can interpolate data to have more points, but plotting instructions will just plot the points there are.

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

답변 (1개)

SChow
SChow 2020년 2월 18일
Hi, you may use the print function to save your figure at a desired high resolution
print(gcf,'fname.png','-dpng','-r800');%%%for saving at 800dpi

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by