Hi Nathan,<br><br>This ought to do the trick.  The important line is:<br><br>p._antialias = False<br><br>--Brian<br><br>from yt.mods import *<br><br>for n in range(0,36):<br>    pf = load("DD%04i/DD%04i" % (n,n))<br>
    pc = PlotCollection(pf, center=[0.5, 0.5, 0.5])<br><br>    for axis in range(0,3):<br>        p = pc.add_slice("Density",axis) <br>        if n == 0:<br>            print "this is ",n,", turning off anti-aliasing"<br>
            p._antialias = False<br>    pc.set_width(0.1,'1')<br>    pc.save("%s" % pf)<br><br><br><br><div class="gmail_quote">On Sun, Oct 24, 2010 at 10:55 PM, Nathan Roth <span dir="ltr"><<a href="mailto:nathaniel.roth@berkeley.edu">nathaniel.roth@berkeley.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hello,<br><br>  Could I see an example of the lines of code that would allow me to view a slice with anti-aliasing turned off? In a test problem I am running, some fields values start out with constant values across the simulation box, and when I plot slices they show up garbled. <br>

<br>  Thanks,<br><font color="#888888">  Nathan <br>
</font><br>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br>