I have a code that saves a figure with:
savefig("foo.eps", orientation = 'portrait', format = 'eps')
If I don't specify anythingelse, the figure is correctly saved but when I print it, the figure fills only the half of a A4 sheet.If I modify the string as:
savefig("foo.eps", papertype = 'a4', orientation = 'portrait', format = 'eps')
Nothing chages! How can I set the size of the figure in a way that it fills the whole A4 sheet? Many thanks in advance.
figure(figsize=(8.27, 11.69), dpi=100)
should work.errorbar
. The same happens when I useplot
.