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

Reju Sam John rejusamjohn at gmail.com
Sun Feb 7 03:17:07 PST 2016


Thank you very much, Britton....

On Sun, Feb 7, 2016 at 3:41 PM, Britton Smith <brittonsmith at gmail.com>
wrote:

> Hi Reju,
>
> There is a new feature that will be in the next major release that will
> make this very easy.  It is currently available in the development version
> of yt.  Basically, it allows nearly all data created by yt to be saved in a
> format that can be reloaded as a yt dataset.  Below is an example of how to
> use it in your case:
> http://paste.yt-project.org/show/6230/
> More information can be found here:
> http://yt-project.org/docs/dev/analyzing/saving_data.html
>
> If switching to the development version is not an option for you, then you
> can save them to hdf5 files using the h5py module, which you will have with
> your yt installation.  In that case, you can do something like this:
> http://paste.yt-project.org/show/6231/
>
> Britton
>
> On Sun, Feb 7, 2016 at 9:46 AM, Reju Sam John <rejusamjohn at gmail.com>
> wrote:
>
>> Hi,
>>
>> I would like to know, how to write the plotted values of a 'SlicePlot()'
>> to a file? For example, I made a slice plot with the following line.
>>  p = SlicePlot(pf,0,'My_Field',[0.5,0.5,0.5],(20,'Mpc'))
>>
>> But how can I write the plotted values to a file?
>> Thankyou.
>>
>> Reju Sam John
>>
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>
>>
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>


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


More information about the yt-users mailing list