| Description |
1) Writes all open figures to .png files and integrates them in a html file which opens the figure to full screen if clicked. The figures name or number will be part of the filename.
2) Creates an index.htm for easy acces of several results. Especially handy when a function has to be run often with changing parameters and produces quite some images. Running the function several times without changing the reportdir, creates subdirs for every run + a link in index.htm
3) Writes relative links, so the entire dir can be copied and links still work.
4) Works NOT in Firefox, sorry for that. The generated .htm code is quite crude, but IE renders it.
% example
figure
set(gcf,'NumberTitle','off','Name','Sinewave');
plot(sin(0:0.1:6.3));
figure
plot(rand(40,1));
figure
set(gcf,'Name','Peaks');
surf(peaks);
figures2htm('C:\figdemo\','demo','function') |