24 Jul
2012
24 Jul
'12
4:33 p.m.
On Jul 24, 2012, at 4:29 PM, Nathan Goldbaum wrote:
Hi Mark,
You can manually specify the size of the figure that will be created by setting the fig_size keyword. For example:
pf = load(fn)
pc = PlotCollection(pf)
fig_size = [4, 3] # the figure size in inches
pc.add_slice('Density',0,fig_size = fig_size)
pc.save() # saves a slice of Density that is 4 x 3 inches.
Hope that was helpful.
-Nathan
I just tried it, and I'm afraid this doesn't work. Setting the figure size to, say [1,4] (the aspect ratio of my figure) just results in a squashed version of what I got before. The whitespace is still there, and the image of the data is now artificially compressed. -- Mark Krumholz krumholz@ucolick.org