필터 지우기
필터 지우기

Plots are generated as a screenshot of whole screen using Publish Tool?

조회 수: 2 (최근 30일)
William
William 2023년 10월 2일
답변: Dyuman Joshi 2023년 10월 2일
I have my m file with my plots and when I click publish, regardless of my settings, the plots are presented as a screenshot of the whole screen and not just the plot itself. This is more so of an aesthetic issue, but I would love to fix it if I could. Is anyone aware of a way to change this or a way to get around it. Any help is appreciated!

답변 (2개)

recent works
recent works 2023년 10월 2일
you did not mention the exact point as of my knowledge I shared some of them please check.
Set Figure Dimensions
figure('Position', [left bottom width height])
Save Figures in the Desired Format
saveas(gcf, 'my_figure.png')
Adjust Publish Options:
%% My MATLAB Script
% This is a sample MATLAB script.
%
% Publishing Options:
% format: 'pdf'
% outputDir: 'my_report_folder'
% stylesheet: 'my_stylesheet.css'

Dyuman Joshi
Dyuman Joshi 2023년 10월 2일
Use the robust exportgraphics function.

카테고리

Help CenterFile Exchange에서 Printing and Saving에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by