[yt-users] saving files with a different resolution

Luigi Iapichino luigi at ita.uni-heidelberg.de
Tue Mar 30 07:47:22 PDT 2010


Dear all,

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"]("Density", ncont=5, take_log=True)
    ...
    ...
    ...
    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

-- 

---------------------------------------------------------------

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: luigi at ita.uni-heidelberg.de
URL: http://www.ita.uni-heidelberg.de/~luigi/



More information about the yt-users mailing list