<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Hi Matt,</div>

<div> </div>

<div>can you give me more details or a link to an example where something similar is done? The only object I have is a PlotCollection. How do I access the data from the phase plot I added to the plot collection? I cannot find the attribute data or field_data in the plot collection.</div>

<div> </div>

<div>Thanks,<br/>
Maike<br/>
 </div>

<div><br/>
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Freitag, 04. Juli 2014 um 13:52 Uhr<br/>
<b>Von:</b> "Matthew Turk" <matthewturk@gmail.com><br/>
<b>An:</b> "Discussion of the yt analysis package" <yt-users@lists.spacepope.org><br/>
<b>Betreff:</b> Re: [yt-users] save phase plot data</div>

<div name="quoted-content">Hi Maike,<br/>
<br/>
On Fri, Jul 4, 2014 at 6:49 AM, Maike Schmidt <maikeschmidt2@gmx.de> wrote:<br/>
> Hi Britton,<br/>
><br/>
> in my specific example, the third variable computed as function of the other<br/>
> two (CellMass as function of Temperature and Density in the example on the<br/>
> page you linked to) varies over so many orders of magnitude that it<br/>
> physically makes so sense to show the full range. I had hoped that I could<br/>
> somehow get a 2d array corresponding to the data shown in the plot and<br/>
> remove all points below a certain threshold.<br/>
><br/>
<br/>
You can do this. If you have created a phase plot, the data will<br/>
reside either in the attribute .data (I think -- not sure about how<br/>
the old method stores it) or .field_data, depending on how you have<br/>
created it. This attribute will be a dictionary of arrays.<br/>
<br/>
-Matt<br/>
<br/>
> Maike<br/>
><br/>
><br/>
> Gesendet: Freitag, 04. Juli 2014 um 13:35 Uhr<br/>
> Von: "Britton Smith" <brittonsmith@gmail.com><br/>
> An: "Discussion of the yt analysis package" <yt-users@lists.spacepope.org><br/>
> Betreff: Re: [yt-users] save phase plot data<br/>
> Hi Maike,<br/>
><br/>
><br/>
> I recommend giving the newer PhasePlot command a try. You will have to<br/>
> first create the sphere data container manually and then give it to<br/>
> PhasePlot, but it will make a good looking image for you. Have a look here<br/>
> for more information:<br/>
> <a href="http://yt-project.org/doc/visualizing/plots.html#d-phase-plots" target="_blank">http://yt-project.org/doc/visualizing/plots.html#d-phase-plots</a><br/>
><br/>
><br/>
> Britton<br/>
><br/>
> On Fri, Jul 4, 2014 at 12:15 PM, Maike Schmidt <maikeschmidt2@gmx.de> wrote:<br/>
>><br/>
>> Hi all,<br/>
>><br/>
>><br/>
>> I create phase plots with the add_phase_sphere command. I have been unable<br/>
>> to figure out how to save the data from the phase plot to a file to use<br/>
>> another program to plot the data. Any help is appreciated.<br/>
>><br/>
>><br/>
>> Thanks,<br/>
>> Maike<br/>
>><br/>
>><br/>
>><br/>
>> _______________________________________________<br/>
>> yt-users mailing list<br/>
>> yt-users@lists.spacepope.org<br/>
>> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br/>
>><br/>
>><br/>
><br/>
> _______________________________________________ yt-users mailing list<br/>
> yt-users@lists.spacepope.org<br/>
> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br/>
><br/>
> _______________________________________________<br/>
> yt-users mailing list<br/>
> yt-users@lists.spacepope.org<br/>
> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br/>
><br/>
_______________________________________________<br/>
yt-users mailing list<br/>
yt-users@lists.spacepope.org<br/>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a></div>
</div>
</div>
</div></div></body></html>