[yt-users] ProfilePlot(), How to write the plotted values to a file?

Reju Sam John rejusamjohn at gmail.com
Fri Apr 22 00:57:48 PDT 2016


Hi,

I would like to know, how to write the plotted values of a 'ProfilePlot()'
to a file? For example, I made a  histogram with the following line.
 plot = ProfilePlot(sphere_200, "ProtonMomentum", ["NoOfProton"],
weight_field="CellMass")

But how can I write the values of "ProtonMomentum" and "NoOfProton" to a
file?

Thankyou.

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


More information about the yt-users mailing list