PsTricks export

From JSXGraph Wiki
Revision as of 12:03, 4 May 2009 by A WASSERMANN (talk | contribs)

Jump to: navigation, search

Starting with release 0.72 JSXGraph supports export to psTricks. A very recent version of psTricks is recommended, since the colour attribute 'opacity' is needed.

Underlying JavaScript code

<jsxgraph width="600" height="400" board="board" filename="Blubb81.nc.gxt"  />
<html>
<form>
 <input type='button' value='Export as psTricks' onclick='board.pstricks.givePsTricksToDiv("pstricksOutput",board);'>
</form>
<div id="pstricksOutput" style="width:600px; height:400px; border:1px dashed black; overflow:scroll;">
</div>
</html>