<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi Alexander,<div><br></div><div>If you have:</div><div><br></div><div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><span style="color: #ce7924">pp</span> = PhasePlot(object, <span style="color: #af3782">"Density"</span>, <span style="color: #af3782">"Temp"</span>, <span style="color: #af3782">"CellMassMsun"</span>, weight_field=<span style="color: #34a2a1">None</span>)</div></div><div><br></div><div>Then:</div><div><br></div><div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><span style="color: #ce7924">x</span> = pp.profile.x.copy()</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><span style="color: #ce7924">y</span> = pp.profile.y.copy()</div></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><div style="margin: 0px;"><span style="color: #ce7924">z</span> = pp.profile[<span style="color: #af3782">'CellMassMsun'</span>]</div></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">I think should do it.</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Elizabeth</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><br></div><div><br><div><div>On Jun 8, 2014, at 10:48 PM, Alexander A. Kaurov <<a href="mailto:akaurov@gmail.com">akaurov@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi All,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">

Is there an easy way to extract numpy array with 2d histogram from PhasePlot? Same question for other types of plots.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">

Thanks!</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">- Alexander</div></div>
_______________________________________________<br>yt-users mailing list<br><a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org<br></blockquote></div><br></div></body></html>