How to use [saveas function] for figure to PDF in original size(real size)?
조회 수: 6 (최근 30일)
이전 댓글 표시
How to use [saveas function] for figure to PDF in original size(real size)? image size is 2832*4256*3 unit8. but the saved file(.pdf) is only 326KB.
figure(); subplot(6,3,1), imshow(RGB), title('RGB'); subplot(6,3,2), imshow(gray), title('Gray');
subplot(6,3,4), imshow(red), title('Red'); subplot(6,3,5), imshow(green), title('Green'); subplot(6,3,6), imshow(blue), title('Blue');
subplot(6,3,7), imshow(just_red), title('Just Red'); subplot(6,3,8), imshow(just_green), title('Just Green'); subplot(6,3,9), imshow(just_blue), title('Just Blue');
subplot(6,3,10), imshow(graytosobel), title('Gray(Sobel)'); subplot(6,3,11), imshow(graytocanny), title('Gray(Canny)'); subplot(6,3,12), imshow(graytoprewitt), title('Gray(Prewitt)');
subplot(6,3,13), imshow(redtosobel), title('Red(Sobel)'); subplot(6,3,14), imshow(redtocanny), title('Red(Canny)'); subplot(6,3,15), imshow(redtoprewitt), title('Red(Prewitt)');
subplot(6,3,16), imshow(Justredtosobel), title('Just Red(Sobel)'); subplot(6,3,17), imshow(Justredtocanny), title('Just Red(Canny)'); subplot(6,3,18), imshow(Justredtoprewitt), title('Just Red(Prewitt)');
saveas(gcf, datestr(now,'yyyy-mm-dd HH-MM-SS-FFF'), 'pdf')
댓글 수: 1
Jan
2018년 5월 29일
What is "real size"? In bytes, or pixels, or centimeter? PDF can contain compressed JPGs. If so, the size of the file depends on the chosen resolution and strength of compression also. So what is the actual problem?
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Subplots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!