⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fig2jpg.m

📁 支持向量机的Matlab实现
💻 M
字号:
function fig2jpg(fig)
% FIG2EPS Exports figure to EPS file.
% 
% Synopsis:
%  fig2eps(fig)
%
% Description:
%  This function invokes the standard save dialog to ask
%  the user about the name to which the given figure should
%  be exported in the Encapsulated PostScript (EPS) format.
%
% Input:
%  fig [1x1] Handle of a figure.
%

% About: Statistical Pattern Recognition Toolbox
% (C) 1999-2003, Written by Vojtech Franc and Vaclav Hlavac
% <a href="http://www.cvut.cz">Czech Technical University Prague</a>
% <a href="http://www.feld.cvut.cz">Faculty of Electrical Engineering</a>
% <a href="http://cmp.felk.cvut.cz">Center for Machine Perception</a>

% Modifications:
% 20-Feb-2003, VF

[filename, pathname] = uiputfile('*.jpg', '保存图片为jpg格式');

if filename~=0,    

   file=strcat(pathname,filename);
   print( gcf, '-djpeg', file);
end

return;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -