j: Next unread message
k: Previous unread message
j a: Jump to all threads
j l: Jump to MailingList overview
Yup, you'll just need to provide it with a new "figure". In matplotlib, figures are the background - the entire image, if you will
fig = raven.matplotlib.figure.Figure(dpi = 100, figsize = (12, 9)) p = pc.add_projection("Temperature", 0, weight_field="Density")
That's the slightly harder way -- you'll have to generate a new Figure object for every plot. There's a shortcut in yt already, though, that accepts a figsize=(width, height) argument, where width and height are in inches:
p = pc.add_projection("Temperature", 0, weight_field="Density", fig_size=(20, 16))
if you wanted 2000 by 1600 pixels.
Does that help out?
On Tue, Mar 30, 2010 at 7:47 AM, Luigi Iapichino firstname.lastname@example.org wrote:
in one of my scripts I have something like this:
pc = PlotCollection(pf, center=[0.5,0.5,0.5])
p = pc.add_projection("Temperature", 0, weight_field="Density") p.modify"contour" ... ... ... pc.save("%s_temp-proj" % pf,override=True)
The saved file has a resolution of 800x800. Is there a way to change this number in YT? I had a look in the PlotCollection class, but I haven't found what I'm searching.
Looking forward to your suggestions, Cheers
Luigi Iapichino Zentrum fuer Astronomie der Universitaet Heidelberg Institut fuer Theoretische Astrophysik Albert-Ueberle-Str. 2, D-69120 Heidelberg, Germany Tel: +49 6221 548983, Fax: +49 6221 544221 e-mail: email@example.com URL: http://www.ita.uni-heidelberg.de/~luigi/
yt-users mailing list firstname.lastname@example.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org