[yt-users] phaseplot set zlim
Nathan Goldbaum
nathan12343 at gmail.com
Sun Mar 26 16:20:58 PDT 2017
Hi Stephanie,
One way to do this would be to create the PhasePlot using a cut_region data
object. If you're already using another data object to construct your phase
plot, the cut_region could be passed to the other data object via the
data_source keyword argument.
Nathan
On Sun, Mar 26, 2017 at 4:24 PM Stephanie Tonnesen <stonnes at gmail.com>
wrote:
> Hi yt-users,
>
> I am trying to make some nice looking phaseplots, and want to set the mass
> range that I show in the figure. I use set_zlim and instead of only
> showing the cells that call into that mass range, it just changes the color
> coding. You can see the attached for what I am talking about. Is there a
> way to have phaseplot only show me the cells that have "cell_mass" larger
> that 1e36 (or whatever I happen to set)?
>
> Thanks!
>
> Stephanie
>
> --
> Dr. Stephanie Tonnesen
> Alvin E. Nashman Postdoctoral Fellow
> Carnegie Observatories, Pasadena, CA
> stonnes at gmail.com
> _______________________________________________
> yt-users mailing list
> yt-users at lists.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/20170326/1927e32c/attachment-0001.html>
More information about the yt-users
mailing list