Difference between revisions of "Projective transformation matrix"

From JSXGraph Wiki
Jump to navigationJump to search
Line 1: Line 1:
 
<html>
 
<html>
<h1 id="jxg_output"></h1>
+
<table id="jxg_output"></table>
 
</html>
 
</html>
  
Line 56: Line 56:
 
             var txt = '';
 
             var txt = '';
 
             for (i = 0; i < 3; i++) {
 
             for (i = 0; i < 3; i++) {
                 txt += mat_global[i].join(' ') + '<br>\n';
+
                 txt += '<tr><td>' + mat_global[i].join('</td><td>') + '</td></tr>\n';
 
             }
 
             }
 
             document.getElementById('jxg_output').innerHTML = txt;
 
             document.getElementById('jxg_output').innerHTML = txt;

Revision as of 12:17, 22 July 2020

The underlying JavaScript code