| I can save a graphic I have created as a svg using the following command:
However, my particular graphic is saved as a 39.5MB file, which is too large for my graphic editor to handle well. Saving as .ps creates a 20.4MB file. In the end, I want a .png, but with particular printed dimensions and resolution. So:
|
| I think that there are two options for
Actually if you look at This basically matches the size of the outputted
OK. I tried using this command: p.save('/home/bill/demo2.png', xmin=-10, xmax=50, ymin=-10, ymax=30, aspect_ratio=1, axes=False, transparent=True, figsize=(12,8), dpi=300)
Bill (Jul 19 '11)
The image I get is 2850x1919, which at 300dpi is 9.5in x 6.4in, not 12x8. What's going on here?
Bill (Jul 19 '11) |
Asked: Jul 18 '11
Seen: 227 times
Last updated: Jul 19 '11
powered by ASKBOT version 0.7.22
Copyright Sage, 2010. Some rights reserved under creative commons license.