from
publish_plus
by Michael Wild
Extends the PUBLISH function provided by MATLAB to pdf, ps and dvi and all
|
| example.m |
% EXAMPLE is a driver script which shows the use of PUBLISH_PLUS
%--------------------------------------------------------------------------
% Author : Michael Wild
% Email : themiwi@student.ethz.ch
% Copyright 2005-2005
%
% Created : 2005.04.25, 23:29
% Version : 0.1
%
% DISCLAIMER
% ==========
%
% The software provided by me with this Matlab function and the altered
% version of the original PUBLISH function by The Mathworks are purely
% experimental. You use it at your own risk. I am not responible for any
% harm or damage caused by it.
open('delsqdemo.m');
pt = get(0,'DefaultFigurePaperType');
pu = get(0,'DefaultFigurePaperUnits');
set(0, 'DefaultFigurePaperType', 'a5');
set(0, 'DefaultFigurePaperUnits', 'centimeters');
opts.outputDir = fullfile(pwd,'html');
f = publish_plus( 'delsqdemo', 'pdf', opts );
open(f);
set(0, 'DefaultFigurePaperType', pt);
set(0, 'DefaultFigurePaperUnits', pu);
|
|
Contact us at files@mathworks.com