发布网友
共4个回答
热心网友
在Figure窗口中Edit选项中选中Copy Figure 然后直接粘贴到PPT中即可
热心网友
在Figure窗口中Edit选项中选中Copy Figure 然后直接粘贴到PPT中即可
热心网友
另存为JPG格式或者其他格式就可以了,就是不怎么清晰!要不抓屏吧!呵呵…
热心网友
我那时是用软件画好了拷上去的!比如MATLAB
热心网友
另存为JPG格式或者其他格式就可以了,就是不怎么清晰!要不抓屏吧!呵呵…
热心网友
输出一个pdf文件即可。
save as .pdf
或者
function ToPdf(basename, width, height)
%--------------------------------------------------------------------------
% usage: ToPdf(basename, width, height)
%
% Create a .pdf output file from the currently selected MATLAB figure.
%
% input:
% basename - a character stirng for the file base name. For example,
% 'Fred'. Do NOT include a period or a file extension.
%
% width - the plot width in inches.
%
% height - the plot height in inches.
%
% example:
% ToPdf('Fred',6,4);
%
% written by:
% Dr. Randal; J. Barnes
% Department of Civil Engineering
% University of Minnesota
%
% version:
% 26 October 2010
%--------------------------------------------------------------------------
h = get(0,'CurrentFigure');
set(h,'paperpositionmode','manual');
set(h,'papertype','usletter');
set(h, 'PaperUnits', 'inches');
orient portrait
set(h, 'PaperPosition', [0 0 width height]);
set(h, 'PaperSize', [width height]);
filename = sprintf('%s', strcat(basename,'.pdf'));
print (h,'-dpdf', '-painter', filename);
end
参考资料:Dr. Randal; J. Barnes
热心网友
我那时是用软件画好了拷上去的!比如MATLAB
热心网友
输出一个pdf文件即可。
save as .pdf
或者
function ToPdf(basename, width, height)
%--------------------------------------------------------------------------
% usage: ToPdf(basename, width, height)
%
% Create a .pdf output file from the currently selected MATLAB figure.
%
% input:
% basename - a character stirng for the file base name. For example,
% 'Fred'. Do NOT include a period or a file extension.
%
% width - the plot width in inches.
%
% height - the plot height in inches.
%
% example:
% ToPdf('Fred',6,4);
%
% written by:
% Dr. Randal; J. Barnes
% Department of Civil Engineering
% University of Minnesota
%
% version:
% 26 October 2010
%--------------------------------------------------------------------------
h = get(0,'CurrentFigure');
set(h,'paperpositionmode','manual');
set(h,'papertype','usletter');
set(h, 'PaperUnits', 'inches');
orient portrait
set(h, 'PaperPosition', [0 0 width height]);
set(h, 'PaperSize', [width height]);
filename = sprintf('%s', strcat(basename,'.pdf'));
print (h,'-dpdf', '-painter', filename);
end
参考资料:Dr. Randal; J. Barnes