<div dir="ltr">I'm all for minimalism, but being able to easily specify the limits on a profile/phaseplot is a bread and butter operation.  I'm +1 for making this doable from the initial ProfilePlot/PhasePlot call.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 3, 2014 at 6:40 PM, John ZuHone <span dir="ltr"><<a href="mailto:jzuhone@gmail.com" target="_blank">jzuhone@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
> On Feb 3, 2014, at 6:29 PM, Sam Skillman <<a href="mailto:samskillman@gmail.com">samskillman@gmail.com</a>> wrote:<br>
><br>
> +1 on having .x be the bin centers, and .x_bins being edges.  That said, what is the protocol for calculating the center of logarithmically spaced bins? Is it<br>
> .x = (.x_bins[:1] + .x_bins[1:])/2<br>
> or<br>
> .x = 10**( (np.log10(.x_bins[:1]) + np.log10(.x_bins[1:]))/2 )<br>
<br>
</div>I'm not sure, but your second expression is reducible to:<br>
<br>
.x = np.sqrt(.x_bins[:-1]*.x_bins[1:])<br>
<br>
And I think you meant that to be ":-1"<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
yt-dev mailing list<br>
<a href="mailto:yt-dev@lists.spacepope.org">yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
</div></div></blockquote></div><br></div>