PsTricks export

From JSXGraph Wiki
Revision as of 17:00, 17 January 2012 by Michael (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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="Blubb81.nc.gxt"  />
<html>
<form>
 <input type='button' value='Export as psTricks' onclick='document.getElementById("pstricksOutput").innerHTML = JXG.PsTricks.convert(board);'>
</form>
<div id="pstricksOutput" style="width:600px; height:400px; border:1px dashed black; overflow:scroll;">
</div>
</html>