[yt-users] Change background

Sushilkumar sushil.sush19us at gmail.com
Thu Jun 1 14:55:40 PDT 2017


Dear yt:

What is the best way to change the background of an plot?
I would like to change the blue background in my plot so that the field
lines are more clear.

Link to the image and the script is below


https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc

Thanks in advance



On Thu, Jun 1, 2017 at 1:02 PM, <yt-users-request at lists.spacepope.org>
wrote:

> Send yt-users mailing list submissions to
>         yt-users at lists.spacepope.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> or, via email, send a message with subject or body 'help' to
>         yt-users-request at lists.spacepope.org
>
> You can reach the person managing the list at
>         yt-users-owner at lists.spacepope.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of yt-users digest..."
>
>
> Today's Topics:
>
>    1. Re: Covering GIZMO data to uniform grid (Nathan Goldbaum)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 31 May 2017 17:07:57 -0500
> From: Nathan Goldbaum <nathan12343 at gmail.com>
> To: Discussion of the yt analysis package
>         <yt-users at lists.spacepope.org>
> Subject: Re: [yt-users] Covering GIZMO data to uniform grid
> Message-ID:
>         <CAJXewOn23g9FZJyLOuLnGR2LpRKXt83ryRFRtgkjtGSFVTq6CQ at mail.
> gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> It looks like I spoke too soon. It turns out that you can't smooth SPH
> smoothed fields onto a covering grid or an arbitrary grid. I thought this
> worked but I guess I was mistaken. I've filed an issue with a feature
> request for this here:
>
> https://github.com/yt-project/yt/issues/1436
>
> In principle I think this would be relatively easy to do. I'm in the middle
> of working on a significant change in how yt supports SPH particle data, I
> will make sure that this gets done as part of that.
>
> For now you can use covering grids and arbitrary grids with a locally
> deposited field, here's an example using the deposited dark matter density:
>
> https://gist.github.com/72803576524833663793e7a10563b6b3
>
> On Wed, May 31, 2017 at 4:39 PM, ??? <setsuna at phys.tw> wrote:
>
> > Hi Nathan!
> >
> > Do you mean that I should put deposit fields instead of GIZMO data into
> > covering grid/ arbitrary_grid?
> >
> > 2017-06-01 5:14 GMT+08:00 Nathan Goldbaum <nathan12343 at gmail.com>:
> >
> >> The covering grid should work with deposit fields.
> >>
> >> You could also look at the arbitrary_grid, which is a little bit less
> >> restrictive than covering_grid about the resolution and left and right
> edge.
> >>
> >>
> >> On Wed, May 31, 2017 at 4:11 PM ??? <setsuna at phys.tw> wrote:
> >>
> >>> Hello yt-commuinty,
> >>>
> >>> I was trying to use yt to analyse GIZMO data.
> >>> Is there a function which can translate GIZMO gas data,particle0, to
> >>> uniform grid with neutral hydrogen,velocity,temperature.etc?
> >>> I know the "deposit " field and covering_grid in yt, but "deposit"
> >>>  isn't uniform and covering_grid is designed for grid-like data..
> >>>
> >>> Thank you!
> >>> Edward
> >>> _______________________________________________
> >>> yt-users mailing list
> >>> yt-users at lists.spacepope.org
> >>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> >>>
> >>
> >> _______________________________________________
> >> yt-users mailing list
> >> yt-users at lists.spacepope.org
> >> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> >>
> >>
> >
> > _______________________________________________
> > 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/20170531/9f042e4b/attachment.html>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>
> ------------------------------
>
> End of yt-users Digest, Vol 112, Issue 1
> ****************************************
>



-- 
*SK2*

*"**Claiming that something can move faster than light is a good
conversation-stopper in physics. People edge away from you in cocktail
parties; friends never return phone calls. You just don’t mess with Albert
Einstein.**"*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20170601/4fdaf2e3/attachment.htm>


More information about the yt-users mailing list