Closed JoePython1 closed 9 years ago
I don't know how to change the default size for displayed figures, but you can change the output image size (in pixels) with arguments to the savefig
command, as in the following:
using Winston
x = linspace(0,1,10)
y = rand(10)
p = FramedPlot()
add(p, Curve(x,y))
savefig(p,"test.svg","width",800,"height",400)
The image width and image length is 512 by default. Can that be adjusted dyanmically?