Hi Stephanie,Maybe you could specify a disk, use BinnedProfile1D to create bins along cylindrical radial ('cylindrical_r'), and doprofile.add_fields(‘cell_mass’, weight=None)then you could plot profile[‘cell_mass’] vs. profile['cylindrical_r’] and get the 1-D plot the surface density.
Best wishes,--Suoqing JIPh.D StudentDepartment of PhysicsUniversity of California, Santa BarbaraCA 93106, USAOn Nov 3, 2014, at 5:17 PM, Stephanie Tonnesen <stonnes@gmail.com> wrote:Hi yt-users,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?
_______________________________________________Thanks!
Stephaniestonnes@gmail.comCarnegie Observatories, Pasadena, CA--Alvin E. Nashman Postdoctoral Fellow
Dr. Stephanie Tonnesen
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org