PsTricks export

From JSXGraph Wiki
Revision as of 13:05, 8 June 2011 by Michael (talk | contribs)
Jump to navigationJump to search

A very recent version of psTricks is recommended, since the colour attribute 'opacity' is required.

HTML/JavaScript code

<jsxgraph width="600" height="400" board="board" filename=""  />
 <input type='button' value='Export as psTricks' onclick='document.getElementById('pstricksOutput').innerHTML = JXG.PsTricks.convert(board);'>
<div id="pstricksOutput" style="width:600px; height:400px; border:1px dashed black; overflow:scroll;">