<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Marco,<div class=""><br class=""></div><div class="">Sorry that I do not understand what you mean by saying “does not bin the data uniformly in log radius”... In ProfilePlot you can set x_log=True to get a log bin in radius (<a href="http://yt-project.org/docs/dev/reference/api/generated/yt.visualization.profile_plotter.ProfilePlot.html#yt.visualization.profile_plotter.ProfilePlot" class="">http://yt-project.org/docs/dev/reference/api/generated/yt.visualization.profile_plotter.ProfilePlot.html#yt.visualization.profile_plotter.ProfilePlot</a>), and np.logspace will be called to get a log bin uniformly.</div><div class=""><br class=""></div><div class="">Do you want something other than that?</div><div class=""><br class=""><div class="">
<div class=""><div class="">Best wishes,</div><div class="">--</div><div class="">Suoqing JI</div><div class="">Ph.D Candidate</div><div class="">Department of Physics</div><div class="">University of California, Santa Barbara</div><div class=""><a href="http://web.physics.ucsb.edu/~suoqing" class="">http://web.physics.ucsb.edu/~suoqing</a></div></div>

</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Nov 24, 2016, at 3:39 PM, Marco Surace <<a href="mailto:marco.surace@port.ac.uk" class="">marco.surace@port.ac.uk</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class=""><div class=""><div class="">Hi all,<br class=""><br class=""></div>I have been using yt.ProfilePlot to create 1D spherically averaged profiles of say the gas temperature in a simulation as a function of radius, starting from the centre of a halo out to a given radius. <br class=""><br class=""></div>Does anyone know how I can bin the data uniformly in log radius? This would improve the resolution at smaller radii. It currently does not bin the data uniformly in linear or log radius. I haven't found an option with ProfilePlot for affecting the binning.<br class=""><br class=""></div>Best wishes,<br class=""></div>Marco<br class=""></div>
_______________________________________________<br class="">yt-users mailing list<br class=""><a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a><br class="">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org<br class=""></div></blockquote></div><br class=""></div></body></html>