Hi Latif,

I'm a bit confused - were you trying to make a plot with a width of 1 pc or 800 kpc?  If the line you pasted at the end of the e-mail produced the plot you see, I'd say that's a bug, but if you were trying to plot only the central 1 parsec of the simulation box, then I think the plot is correct.

Can you clarify exactly what you did to produce the plot?



On Fri, Apr 26, 2013 at 12:09 PM, Latif <latifne@gmail.com> wrote:
Hi all,
I am trying to create a simple slice plot for the central 1 pc of a simulation box of size  1 mpc using the following  simplest script.  Problem occurs when I set plot width  as can be seen in attached plot.  I tried stable version of yt as well development fork but did not get any success. Slice  works well without any problem if I use pc.add_slice method.  Any ideas what is going wrong here.
thanks in advance,

(pf, 'x', "Density", width = (800.0, 'kpc')).save()

yt-users mailing list