[yt-users] width of projection

Matthew Turk matthewturk at gmail.com
Tue Feb 21 10:23:27 PST 2012


There's also PlotCollection.add_thin_projection, although there have
been reports that it may misbehave around boundaries.

-Matt

On Tue, Feb 21, 2012 at 12:28 PM, John Wise <jwise at physics.gatech.edu> wrote:
> Hi Elizabeth,
>
> You can give add_projection a data object to plot, for instance a region.
>  You'd do something like
>
> reg = pf.h.region(center, center-0.5*width, center+0.5*width)
> pc.add_projection('Density', 0, data_source=reg)
> pc.set_width(width, 'unitary')
>
> John
>
>
> On 02/21/2012 12:24 PM, Elizabeth Tasker wrote:
>>
>> Hi,
>>
>> Is there a way to control how deep the projection is with
>> add_projection? I'd like to project along only 1kpc of my disk, if
>> that were possible?
>>
>> Elizabeth
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>
> --
> John Wise
> Assistant Professor of Physics
> Center for Relativistic Astrophysics, Georgia Tech
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org



More information about the yt-users mailing list