![](https://secure.gravatar.com/avatar/b279d746f54e2cd6062e8279a767c4bc.jpg?s=120&d=mm&r=g)
Hi Christine, If you're using the plot collection, you can do this: pc.set_width(0.3, '1') for instance, and it will set the width to be 0.3 in code units. If you want finer grained control you can do: p = pc.add_projection(...) p.set_xlim(min_pixel_x, max_pixel_x) p.set_ylim(min_pixel_y, max_pixel_y) where the 'pixel' means that it's x,y in the pixel plane. Does that do what you're looking for? -Matt On Mon, Aug 9, 2010 at 10:43 AM, Christine Simpson <csimpson@astro.columbia.edu> wrote:
Thanks Matt.
This kind of worked. The region I want to project is smaller than the entire simulation domain on the face of the projection. When I made the projection, it left the projected region the same size relative to the entire simulation domain and filled in the parts of the domain not projected with white space. Is there a way I can trim the white space, or rather have add_projection size the projection to fit the plotting space?
I've attached an image to show you what I mean.
Thanks so much!
Christine
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org