Question: eps export with exportplot in .mpl

Hi Experts

The following code

P := plot3d(cos(x)*cos(y), x = -Pi .. Pi, y = -Pi .. Pi);
exportplot("./test.eps", P, "eps");

results in a very different exported image, depending on if it is executed from a .mw file or a .mpl. How can I get the .mpl export to look like the .mw export?

Details: I understand that .mpl might require adding axes=boxed, but especially the orientation is very odd. It doesn't even orient it like the ASCII plot.

Please Wait...