[yt-users] change resolution of a slice
Britton Smith
brittonsmith at gmail.com
Mon Sep 26 20:18:20 PDT 2011
Hi JC,
If you want to use the PlotCollection, you can control the image size with
the fig_size keyword given to pc.add_slice. The dpi of images written out
is 100, so you just need to give the right values with fig_size to get what
you're looking for. A couple things to remember. The colorbar takes 25% of
the width of the image, so you need to adjust the width for that. Also, you
need to give the value as a tuple, so fig_size=(10, 8), for example. You
can always do:
help(pc.add_slice)
to get more information on everything you can do with that function, or any
for that matter.
Britton
On Mon, Sep 26, 2011 at 5:57 PM, Jean-Claude Passy <jcpassy at gmail.com>wrote:
> Hi all,
>
> I have a pretty dumb question.
> I have data from which I would like to take a slice with a resolution of
> one cell per pixel. How can I do that ?
>
> Thanks a lot,
>
> JC
> ______________________________**_________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/**listinfo.cgi/yt-users-**spacepope.org<http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20110926/82559410/attachment.html>
More information about the yt-users
mailing list