<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi Trae,</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>for very simple line plots I usually use the loaddata routine in IDL, </div><div>which is located in the tools/fidlr3.0 directory</div><div><br></div><div>In case you use IDL, the syntax would be something like:</div><div><br></div><div>t = loaddata(<filename>, 'temp')</div><div><br></div><div>or if you want to have x and y coordinates:</div><div><br></div><div>t = loaddata(<filename>, 'temp', xcoords = x, ycoords = y)</div><div> </div><div>t is an array with the values for the variable temp (or any other), x and y give the coordinate informations and:</div><div><br></div><div>plot, x, t[*,4] </div><div><br></div><div>should do a simple line plot. </div><div><br></div><div>Greets, </div><div><br></div><div>Sylvia<br><div><br></div><div><br><div><div>Am 15.01.2013 um 17:47 schrieb Henry (Trae) Winter:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks,<div><br></div><div>I am currently using Visit which works well. I thought that it might be simpler to make line plots by getting at the data directly. It looks like I was incorrect.</div><div><br></div><div>-Trae</div><div><br></div><div><br><div><div>On Jan 15, 2013, at 11:27 AM, Anthony Scopatz wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div style="">Hello Henry,</div><div><br></div>If you simple, sane access to FLASH data, I recommend using yt (<a href="http://yt-project.org/">http://yt-project.org/</a>). VisIt (<a href="https://wci.llnl.gov/codes/visit/">https://wci.llnl.gov/codes/visit/</a>) also works too. The shape of the array corresponds to the setup of the blocks.<div>
<br></div><div style="">Be Well</div><div style="">Anthony</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 15, 2013 at 10:23 AM, Henry (Trae) Winter <span dir="ltr"><<a href="mailto:hwinter@cfa.harvard.edu" target="_blank">hwinter@cfa.harvard.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am trying to plot the output from the NeiTest problem. I want to plot the fraction of the ion as a function of X. I opened the hdf5 file and see the variables I need but I am confused by their shape. The ion variables, as well as velocity and temperature have a shape of (5,1,8,8). Does anyone know what these dimensions correspond to and/or how to map the variables to position?<br>
<br>
Thanks,<br>
-Trae<br>
<br>
-------------------------------------------------------------------------------------<br>
Dr. Henry (Trae) Winter III<br>
Astrophysicist Tel: <a href="tel:617-495-7400" value="+16174957400">617-495-7400</a><br>
Center for Astrophysics Fax: <a href="tel:617-496-7577" value="+16174967577">617-496-7577</a><br>
60 Garden Street, MS 58 Cell: <a href="tel:617-755-7967" value="+16177557967">617-755-7967</a><br>
Cambridge, MA 02138 <a href="mailto:hwinter@cfa.harvard.edu">hwinter@cfa.harvard.edu</a><br>
-------------------------------------------------------------------------------------<br>
<br>
<br>
<br>
<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><font face="'times new roman', serif"><span style="color:rgb(34,34,34);font-size:13px;background-color:rgb(255,255,255)">Anthony Scopatz</span><br style="color:rgb(34,34,34);font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-size:13px;background-color:rgb(255,255,255)">Post-doctoral Scholar<br></span></font><div><font face="'times new roman', serif"><span style="color:rgb(34,34,34);font-size:13px;background-color:rgb(255,255,255)">The FLASH Center for Computational Science</span><br style="color:rgb(34,34,34);font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-size:13px;background-color:rgb(255,255,255)">Dept. of Astronomy and Astrophysics</span><br style="color:rgb(34,34,34);font-size:13px;background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34);font-size:13px;background-color:rgb(255,255,255)">The University of Chicago</span></font></div>
<div><font face="'times new roman', serif">cell: (512) U2-PU239<br style="color:rgb(34,34,34);font-size:13px;background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34);font-size:13px;background-color:rgb(255,255,255)">office: (</span>773) 834-2705<br style="color:rgb(34,34,34);font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-size:13px;background-color:rgb(255,255,255)">fax:(</span>773) 834-3230<br style="color:rgb(34,34,34);font-size:13px;background-color:rgb(255,255,255)"><a href="http://flash.uchicago.edu/" style="color:rgb(17,85,204);font-size:13px;background-color:rgb(255,255,255)" target="_blank">http://flash.uchicago.edu</a></font></div>
</div>
</blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><br>-------------------------------------------------------------------------------------</div><div>Dr. Henry (Trae) Winter III <span class="Apple-tab-span" style="white-space: pre; "> </span><span class="Apple-tab-span" style="white-space: pre; "> </span></div><div><span class="Apple-tab-span" style="white-space: pre; "></span>Astrophysicist<span class="Apple-tab-span" style="white-space: pre; "> </span>Tel: 617-495-7400<br>Center for Astrophysics<span class="Apple-tab-span" style="white-space: pre; "> </span><span class="Apple-tab-span" style="white-space: pre; "> </span>Fax: 617-496-7577<br>60 Garden Street, MS 58<span class="Apple-tab-span" style="white-space: pre; "> </span><span class="Apple-tab-span" style="white-space: pre; "> </span>Cell: 617-755-7967<br>Cambridge, MA 02138<span class="Apple-tab-span" style="white-space: pre; "> </span><span class="Apple-tab-span" style="white-space: pre; "> </span><a href="mailto:hwinter@cfa.harvard.edu">hwinter@cfa.harvard.edu</a></div><div>-------------------------------------------------------------------------------------<br></div></div><br></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br></div></div></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">----------------------------------------------------------------<br> Mag. Sylvia Ploeckinger, Bakk. <br> </div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "> Institute for Astrophysics</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "> University of Vienna</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "> Tuerkenschanzstrasse 17 </div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "> <span class="Apple-converted-space"> </span>A-1180 Vienna </div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "> <br> Tel: +43 1 4277 518 96 <br> e-mail: <a href="mailto:sylvia.ploeckinger@univie.ac.at">sylvia.ploeckinger@univie.ac.at</a> </div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">----------------------------------------------------------------<br><br></div></span></div></span></span>
</div>
<br></div></div></body></html>