<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 Stephanie,<div class=""><br class=""></div><div class="">Maybe you could specify a disk, use BinnedProfile1D to create bins along cylindrical radial ('cylindrical_r'), and do</div><div class=""><br class=""></div><div class="">profile.add_fields(‘cell_mass’, weight=None)</div><div class=""><br class=""></div><div class="">then you could plot profile[‘cell_mass’] vs. profile['cylindrical_r’] and get the 1-D plot the surface density.</div><div class=""><br class=""></div><div class="">Best wishes,</div><div class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">--</div><div class="">Suoqing JI</div><div class="">Ph.D Student</div><div class="">Department of Physics</div><div class="">University of California, Santa Barbara</div><div class="">CA 93106, USA</div></div></div></div></div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Nov 3, 2014, at 5:17 PM, Stephanie Tonnesen <<a href="mailto:stonnes@gmail.com" class="">stonnes@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class="">Hi yt-users,<br class=""><br class=""></div>I would like to make a 1D plot of column density vs radius for a disk (to compare with observations).  I can make a projectionplot, but want something a bit more simple to look at.  I am using yt3.0.1--is there a nice way to to this?<br class=""><br class=""></div>Thanks!<br class=""><br class="">Stephanie<br class=""><br clear="all" class=""><div class=""><div class=""><div class=""><div class=""><div class="gmail_signature"><div dir="ltr" class=""><div class=""><div class=""><div class=""><font face="garamond,serif" class="">--<br class="">Dr. Stephanie Tonnesen<br class=""></font></div><font face="garamond,serif" class="">Alvin E. Nashman Postdoctoral Fellow<br class=""></font></div><font face="garamond,serif" class="">Carnegie Observatories, Pasadena, CA<br class=""></font></div><font face="garamond,serif" class=""><a href="mailto:stonnes@gmail.com" target="_blank" class="">stonnes@gmail.com</a><br class=""></font></div></div></div>
</div></div></div></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>