Plot in 300 or 600 dpi

조회 수: 38 (최근 30일)
Santos García Rosado
Santos García Rosado 2021년 3월 29일
댓글: darova 2021년 4월 7일
Hello everybody,
I'm trying to plot a couple of figures(pie charts, histograms, graphs...) and I was wondering if it is possible to plot those figures with a 300 or 600 dpi. I've read some documentation that shows you how to save it with better resolution but I couldn't find any kind of information regarding to actual plotting in higher deffinition.
Is it even possible to achieve this? If so, could someone please show me how or at least share some useful useful documentation?
Thank's for the help.
Santos

채택된 답변

darova
darova 2021년 4월 6일
Use print
x = 0:10;
y = sin(x);
plot(x,y);
print('test','-dpng','-r300')
  댓글 수: 2
Santos García Rosado
Santos García Rosado 2021년 4월 7일
Thank you Darova! Now is working perfectly!
darova
darova 2021년 4월 7일
my pleasure

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

추가 답변 (1개)

Divya Gaddipati
Divya Gaddipati 2021년 4월 5일
  댓글 수: 1
Santos García Rosado
Santos García Rosado 2021년 4월 6일
Thank's for the feed back Divya. I checked the code of the accepted answer and it doesn't get the expected output. Thank's anyways. I'll keep checking if someone comes up with a solution.

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

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by