Lawful_good

10 Reputation

One Badge

7 years, 242 days

MaplePrimes Activity


These are questions asked by Lawful_good

Exporting one plot in program works well:

       MapleEngine.EvalMapleStatement(kv, "Export(\"D:\\\\MyGraph.jpeg\",plot(sin(x)*cos(2*x)));");

But if I'm trying to export two plots, program stops working and prints no exception:
        MapleEngine.EvalMapleStatement(kv, "Export(\"D:\\\\MyGraph.jpeg\",plot(sin(x)*cos(2*x)));");
        MapleEngine.EvalMapleStatement(kv, "Export(\"D:\\\\MyGraph2.jpeg\",plot(sin(x)*cos(2*x)));");

What is the cause?

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.

Page 1 of 1