How to save a matlab table?
조회 수: 62 (최근 30일)
이전 댓글 표시
I would like to save this matlab image representing a table of data as a .png or .pdf centered and without white boreder, do you have some suggestions ?
I attached the .fig to which I'm referring to.
댓글 수: 0
채택된 답변
Cris LaPierre
2020년 7월 18일
You can also do this interactively through the file menu in the figure window. Choose Save As and select the desired format in the drop down menu.
댓글 수: 2
Cris LaPierre
2020년 7월 23일
You have to explore the options. When I use print, I get the following message:
>> open untitled.fig
>> print('untitled','-dpdf')
Warning: The figure is too large for the page and will be cut off. Resize the figure, adjust the
output size by setting the figure's PaperPosition property, use the 'print' command with either
the '-bestfit' or '-fillpage' options, or use the 'Best fit' or 'Fill page' options on the 'Print
Preview' window.
> In validate (line 146)
In print (line 67)
open untitled.fig
set(gcf,'PaperOrientation','landscape')
print('untitled','-dpdf')
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Printing and Saving에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!