[yt-users] fixed coordinates when pan_rel is used.

Nathan Goldbaum nathan12343 at gmail.com
Fri Feb 28 14:57:56 PST 2014


Hi Juan,

You need to specify the plot origin when you create the plot.  Here
are the docstrings for SlicePlot, take a look at the entry for the
origin keyword:

http://yt-project.org/docs/dev/_modules/yt/visualization/plot_window.html#SlicePlot

The origin keyword is also accepted by ProjectionPlot.

Hope that helps.  Please let us know if you have any more questions.

-Nathan

On Fri, Feb 28, 2014 at 2:22 PM, Juan Camilo Ibanez Mejia
<jibanezmejia at amnh.org> wrote:
> Hi all,
>
> is there is a way to maintain fixed the coordinates in a slice plot when
> moving the camera around.
> Every time I use the   slc.pan_rel(*args, **kwargs), the coordinates are
> rested with (0.0 , 0.0) in the center of the plot.
>
> Thanks,
>
> Juan
>
> _____________________________
> Juan Camilo Ibañez Mejia
> Department of Astrophysics
> American Museum of Natural History
> +1-212-313-7435
> jibanezmejia at amnh.org
> _____________________________
>
>
>
>
> _______________________________________________
> 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