commands → plotsize

plotsize(X,Y)
plotsize(X,Y,Z)

The plotsize command sets the size of the image computed by the plot commands. If two arguments X and Y are given, the size of all 2d images will be X by Y pixels. If three arguments are given, the size of all 3d scenes will be X by Y by Z voxels.

Examples

# 100 x 100 image
plotsize(100,100);
        null
plot(sin(1/x),x,-2,2,-2,2);
view: http://axcas.net/view.html?image11835290387277101032.gif&x0=-2&x1=2&y0=-2&y1=2
        "image11835290387277101032.gif"