[yt-users] ProfilePlot in YT-3.0

John Regan johnanthonyregan at gmail.com
Sun Sep 28 01:05:54 PDT 2014


HI All,

Is there an easy way to access the x_field and the y_fields in the
ProfilePlot function?

So for example

prof = ProfilePlot(sphere, "radius", "density")


print prof.x_field
print prof.y_field[0]

I inserted a couple of hack functions into the ProfilePlot class to return
the x_field and the .items() tuple but there is probably a better way?

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140928/d8b79f7e/attachment.htm>


More information about the yt-users mailing list