<div dir="ltr"><div><div>Dear yt:<br><br></div>What is the best way to change the background of an plot?<br></div>I would like to change the blue background in my plot so that the field lines are more clear. <br><br>Link to the image and the script is below<br><div><div><div><div><div><br><br><a href="https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc">https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc</a><br><br></div><div>Thanks in advance<br></div><div><br><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 1, 2017 at 1:02 PM,  <span dir="ltr"><<a href="mailto:yt-users-request@lists.spacepope.org" target="_blank">yt-users-request@lists.spacepope.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send yt-users mailing list submissions to<br>
        <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/<wbr>listinfo.cgi/yt-users-<wbr>spacepope.org</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:yt-users-request@lists.spacepope.org">yt-users-request@lists.<wbr>spacepope.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:yt-users-owner@lists.spacepope.org">yt-users-owner@lists.<wbr>spacepope.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of yt-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: Covering GIZMO data to uniform grid (Nathan Goldbaum)<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
<br>
Message: 1<br>
Date: Wed, 31 May 2017 17:07:57 -0500<br>
From: Nathan Goldbaum <<a href="mailto:nathan12343@gmail.com">nathan12343@gmail.com</a>><br>
To: Discussion of the yt analysis package<br>
        <<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a>><br>
Subject: Re: [yt-users] Covering GIZMO data to uniform grid<br>
Message-ID:<br>
        <<a href="mailto:CAJXewOn23g9FZJyLOuLnGR2LpRKXt83ryRFRtgkjtGSFVTq6CQ@mail.gmail.com">CAJXewOn23g9FZJyLOuLnGR2LpRKX<wbr>t83ryRFRtgkjtGSFVTq6CQ@mail.<wbr>gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
It looks like I spoke too soon. It turns out that you can't smooth SPH<br>
smoothed fields onto a covering grid or an arbitrary grid. I thought this<br>
worked but I guess I was mistaken. I've filed an issue with a feature<br>
request for this here:<br>
<br>
<a href="https://github.com/yt-project/yt/issues/1436" rel="noreferrer" target="_blank">https://github.com/yt-project/<wbr>yt/issues/1436</a><br>
<br>
In principle I think this would be relatively easy to do. I'm in the middle<br>
of working on a significant change in how yt supports SPH particle data, I<br>
will make sure that this gets done as part of that.<br>
<br>
For now you can use covering grids and arbitrary grids with a locally<br>
deposited field, here's an example using the deposited dark matter density:<br>
<br>
<a href="https://gist.github.com/72803576524833663793e7a10563b6b3" rel="noreferrer" target="_blank">https://gist.github.com/<wbr>72803576524833663793e7a10563b6<wbr>b3</a><br>
<br>
On Wed, May 31, 2017 at 4:39 PM, ??? <<a href="mailto:setsuna@phys.tw">setsuna@phys.tw</a>> wrote:<br>
<br>
> Hi Nathan!<br>
><br>
> Do you mean that I should put deposit fields instead of GIZMO data into<br>
> covering grid/ arbitrary_grid?<br>
><br>
> 2017-06-01 5:14 GMT+08:00 Nathan Goldbaum <<a href="mailto:nathan12343@gmail.com">nathan12343@gmail.com</a>>:<br>
><br>
>> The covering grid should work with deposit fields.<br>
>><br>
>> You could also look at the arbitrary_grid, which is a little bit less<br>
>> restrictive than covering_grid about the resolution and left and right edge.<br>
>><br>
>><br>
>> On Wed, May 31, 2017 at 4:11 PM ??? <<a href="mailto:setsuna@phys.tw">setsuna@phys.tw</a>> wrote:<br>
>><br>
>>> Hello yt-commuinty,<br>
>>><br>
>>> I was trying to use yt to analyse GIZMO data.<br>
>>> Is there a function which can translate GIZMO gas data,particle0, to<br>
>>> uniform grid with neutral hydrogen,velocity,temperature.<wbr>etc?<br>
>>> I know the "deposit " field and covering_grid in yt, but "deposit"<br>
>>>  isn't uniform and covering_grid is designed for grid-like data..<br>
>>><br>
>>> Thank you!<br>
>>> Edward<br>
>>> ______________________________<wbr>_________________<br>
>>> yt-users mailing list<br>
>>> <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
>>> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/<wbr>listinfo.cgi/yt-users-<wbr>spacepope.org</a><br>
>>><br>
>><br>
>> ______________________________<wbr>_________________<br>
>> yt-users mailing list<br>
>> <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
>> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/<wbr>listinfo.cgi/yt-users-<wbr>spacepope.org</a><br>
>><br>
>><br>
><br>
> ______________________________<wbr>_________________<br>
> yt-users mailing list<br>
> <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/<wbr>listinfo.cgi/yt-users-<wbr>spacepope.org</a><br>
><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20170531/9f042e4b/attachment.html" rel="noreferrer" target="_blank">http://lists.spacepope.org/<wbr>pipermail/yt-users-spacepope.<wbr>org/attachments/20170531/<wbr>9f042e4b/attachment.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
______________________________<wbr>_________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/<wbr>listinfo.cgi/yt-users-<wbr>spacepope.org</a><br>
<br>
<br>
------------------------------<br>
<br>
End of yt-users Digest, Vol 112, Issue 1<br>
******************************<wbr>**********<br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><span style="border-collapse:collapse"><div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><b><i>SK<sup>2</sup></i></b></span></div><div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><b><i><sup><br></sup></i></b></span></div><div><span style="color:rgb(80,0,80);font-family:arial,sans-serif;border-collapse:collapse"><b><sup>"</sup></b></span><font color="#500050" face="arial, sans-serif"><b>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.</b></font><b style="color:rgb(80,0,80);font-family:arial,sans-serif"><sup>"</sup></b></div><div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"><br></div></span></div>
</div></div></div></div></div></div></div>