Rank: 3501 based on 10 downloads (last 30 days) and 1 file submitted
photo

Niels de Grooth

E-mail

Personal Profile:

Professional Interests:

 

Watch this Author's files

 

Files Posted by Niels
Updated   File Tags Downloads
(last 30 days)
Comments Rating
01 Jun 2006 Screenshot figures2htm Embeds all figures into htm file, with clickable thumbnails and overal index Author: Niels de Grooth figure htm embed png ..., graphics import, graphics export 10 4
  • 4.33333
4.3 | 3 ratings
Comments and Ratings on Niels' Files View all
Updated File Comment by Comments Rating
02 Jun 2006 figures2htm Embeds all figures into htm file, with clickable thumbnails and overal index Author: Niels de Grooth francois, damien

Interesting code. I have tested it with Firefox and everything seems ok. To save figures to files, I generally use the print command along with its -r0 -png arguments. It gives PNG files without the surrounding grey area, and sets the resolution specifically for on-screen viewing. The quality seems to me better than what imwrite gives with its default arguments. Now I guess you can achieve the same results with imwrite by setting the YResolution and XResolution parameters accordingly.

01 Jun 2006 figures2htm Embeds all figures into htm file, with clickable thumbnails and overal index Author: Niels de Grooth de Grooth, Niels

In reaction to Roger:
1) typo fixed
2) example in help added
3) eehh, didnt know about such a file and I used this kind of code very often.

01 Jun 2006 figures2htm Embeds all figures into htm file, with clickable thumbnails and overal index Author: Niels de Grooth jeurissen, roger

Niels, Thank you for your contribution. This seems to be the first step in the direction of automated HTML generation in Matlab. Very original. The publish.m function, converting mfile scripts to HTML, is very different.

Three points of critique:
First, there is a typo in the help, vhere the function name is called "figure2htm", without the "s" before the "2". Second, could you add the example given above to the help in the file? Third, why didn't you use a separate function, such as "savefig.m" by Peder Axensten, for the generation of the image files? This makes the code more transparent.

31 May 2006 figures2htm Embeds all figures into htm file, with clickable thumbnails and overal index Author: Niels de Grooth Caspar, J

Thank you for an excellent tool.

Top Tags Applied by Niels
figure htm embed png linked index, graphics export, graphics import
Files Tagged by Niels
Updated   File Tags Downloads
(last 30 days)
Comments Rating
01 Jun 2006 Screenshot figures2htm Embeds all figures into htm file, with clickable thumbnails and overal index Author: Niels de Grooth figure htm embed png ..., graphics import, graphics export 10 4
  • 4.33333
4.3 | 3 ratings
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com