<div dir="ltr"><div>The following has worked for me:<br><br>pf = load(fname)<br>sphere = pf.h.sphere([0.,0.,0.], (pf.domain_right_edge[0]/3.1e18, "pc"))<br>rad_profile = BinnedProfile1D(sphere, ninterp, "Radiuspc", 0.0, \<br>
                                  pf.domain_right_edge[0]/3.1e18, log_space=False)<br>radius = rad_profile['Radiuspc']<br>    <br>rad_profile.add_fields("Density")<br>rad_profile.add_fields("Temperature")<br>
rad_profile.add_fields("x-velocity")<br><br><br></div>And then I just plot using "fig"<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 9, 2014 at 2:47 PM, Melinda Soares-Furtado <span dir="ltr"><<a href="mailto:msoares.physics@gmail.com" target="_blank">msoares.physics@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Is there a simple way to create density/temp/velocity profiles using 1D FLASH data? I've done this in the past for 3-dimensional data, which is very user friendly.<div>
<br></div><div>Is the best method of attack is <span style="font-family:arial,sans-serif;font-size:13px">dumping the data to np arrays and then plotting from these arrays?</span><br>
<div><br clear="all"><div><div dir="ltr"><div><font face="georgia, serif">Regards,</font></div><font face="georgia, serif">Melinda Soares-Furtado</font><div><font face="georgia, serif"><a href="mailto:msoares@princeton.edu" target="_blank">msoares@princeton.edu</a><br>

</font><div></div></div><div><font face="georgia, serif"><a href="http://cargo.ucsc.edu/msoares" target="_blank">http://cargo.ucsc.edu/msoares</a></font></div><div><div><div><font face="georgia, serif">415-860-0438</font><br>

<br></div></div></div></div></div>
</div></div></div>
<br>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><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></blockquote></div><br></div>