<div dir="ltr">Hi Matt,<div><br></div><div><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">
><br>
> plot1 =<br>
> yt.ProjectionPlot(ds,'z',"baryon_overdensity",weight_field="baryon_overdensity",center=c,data_source=my_region)<br>
<br>
</div>You should set it via "field_parameters = {'omega_baryon':<br>
your_favorite_cosmology}" in this function call.  There was some<br>
recent back and forth about this in a pull request and whether or not<br>
it goes into my_region, but this should certainly work.<br></blockquote><div><br></div><div>That did the trick, thank you!</div><div><br></div><div>Now, followup question: I am also attempting to create a 2D phase plot of the same quantity (baryon_overdensity vs. temperature), and yt.PhasePlot does not seem to take the field_parameters dictionary, and neither does yt.create_profile.  Should I try another avenue to create a phase plot? </div>
<div><br></div><div>--Brian</div><div><br></div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
-Matt<br>
<div class=""><br>
><br>
> (with c, my_region being previously defined).  When I do this, it complains:<br>
><br>
> yt.fields.field_exceptions.NeedsParameter: (['omega_baryon'])<br>
><br>
> which certainly makes sense from a physical perspective, and which Enzo<br>
> doesn't natively carry around. I tried to set this by hand:<br>
><br>
><br>
</div>> _______________________________________________<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" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
><br>
_______________________________________________<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" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
</blockquote></div><br></div></div></div>