Rank: 5661 based on 0 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 graphics import, graphics export, figure htm embed png ... 0 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 graphics import, graphics export, figure htm embed png ... 0 4
  • 4.33333
4.3 | 3 ratings

Contact us at files@mathworks.com