diff scripts/testfun/private/html_plot_demos_template.html @ 18925:87324260043d

Improve plot comparison scripts. * compare_plot_demos.m: pass toolkits{} to html_compare_plot_demos. Give instructions for toolkit matlab. Fix whitespace issue. * dump_demos.m: fix typo in default dir. Consistently use dump_plot_demos.m for main worker script. Create diary and error messages for inclusion in html page. Set random seed for better comparison. * html_plot_demos_template.html: Allow variable toolkits (removed hard-coded gnuplot, matlab, fltk sequence). Fix some whitespace issues. * html_compare_plot_demos.m: Rewrite docstring. The instructions are no longer needed because compare_plot_demos handles them. Add "toolkits" and column_width param. Dynamically add toolkits in html, add diary.log link.
author Andreas Weber <andy.weber.aw@gmail.com>
date Tue, 15 Jul 2014 22:18:35 +0200
parents 1b02bfff39d0
children
line wrap: on
line diff
--- a/scripts/testfun/private/html_plot_demos_template.html	Mon Jul 14 21:40:28 2014 -0700
+++ b/scripts/testfun/private/html_plot_demos_template.html	Tue Jul 15 22:18:35 2014 +0200
@@ -15,7 +15,7 @@
   <link rel="shortcut icon" href="../favicon.ico" />
   </head>
   <body onload="javascript:fix_top_menu(); javascript:show_left_menu ();">
-  <div id="top-menu" class="menu"> 
+  <div id="top-menu" class="menu">
    <table class="menu">
 
       <tr>
@@ -31,7 +31,7 @@
       </tr>
       <tr>
         <td class="menu">
-          
+
  <a href="../index.html" class="menu">Home</a> &middot;
  <a href="../packages.php" class="menu">Packages</a> &middot;
  <a href="../developers.html" class="menu">Developers</a> &middot;
@@ -48,35 +48,7 @@
   </div>
 
 <div id="content">
-<b>Select plots to show</b><br>
-<form action="index.php" method="get">
-  <input type="checkbox" name="gnuplot" value="1" checked/>##OCTAVE## using ##GNUPLOT##
-<br/>
-  <input type="checkbox" name="matlab" value="1" checked/>##MATLAB##
-<br/>
-  <input type="checkbox" name="fltk" value="1" checked/>##OCTAVE## using FLTK
-<br/>
-  Image width: <input type="input" name="imwidth" value="600px"/>
-  <input type="submit" value="Update"/>
-</form>
-
-<table border='1'>
-<tr>
-  <th>Octave using Gnuplot
-</th>
-  <th>Matlab
-</th>
-  <th>Octave using FLTK
-</th>
-</tr>
-<tr>
-<!-- ##BEGIN## -->
-<tr>
-  <td>##PLOT##<br><img src='gnuplot/##PLOT##' style='width: 600px;'></td>
-  <td>##PLOT##<br><img src='matlab/##PLOT##' style='width: 600px;'></td>
-  <td>##PLOT##<br><img src='fltk/##PLOT##' style='width: 600px;'></td>
-</tr>
-<!-- ##END## -->
+<!-- ##ADD TABLE HERE## -->
 </tr>
 </table>