Question: How to export plots using OpenMaple in Java

How can i export a plot using open maple in java?

engine.evaluate("Export(\"D:\\MyGraph.jpeg\", plot(sin(x)));");

and 

engine.evaluate("exportplot(\"D:\\MyGraph.jpeg\", plot(sin(x)));");

doesn't work,

exception - com.maplesoft.externalcall.MapleException: Error, (in Export) exported file D:MyGraph.jpeg could not be createdError, plotting was not implemented by the application

 

Thanks.

Please Wait...