When using "plotsetup(png,...)" the third rotational angle is ignored.  Attached are a worksheet and the corresponding three plots that demonstrate this bug.

restart;
with(plots):

plot3d(x^2-y^2,x=-2..2,y=-2..2,axes=boxed,orientation=[20,60,50]);

plotsetup(jpeg, plotoutput = `TestPlot1.jpg`, plotoptions = "height=200,width=200");
plot3d(x^2-y^2,x=-2..2,y=-2..2,axes=boxed,orientation=[20,60,50],title="JPG image");
plotsetup(default);

plotsetup(png, plotoutput = `TestPlot1.png`, plotoptions = "height=200,width=200");
plot3d(x^2-y^2,x=-2..2,y=-2..2,axes=boxed,orientation=[20,60,50],title="PNG image");
plotsetup(default);

plotsetup(png, plotoutput = `TestPlot1A.png`, plotoptions = "height=200,width=200");
plot3d(x^2-y^2,x=-2..2,y=-2..2,axes=boxed,orientation=[20,60,0],title="PNG image, third angle is 0");
plotsetup(default);

 

 

Download OrientationTest_pn.mw


Please Wait...