<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi!<br>Do you think you can send me your .dat so that  can see what the code is doing?<br>Thank you!<br>Ariadna <br><br><div>> Are you doing 3D visualization?  The simulation I was using when I<br>> wrote that script was 2D -- if yours is 3D, you will likely need to<br>> change it to 3, rather than 2, in that line.  If you give a bit more<br>> info about the data (shape for instance) I can try replicating it<br>> here.<br>> <br>> -Matt<br>> <br>> On Mon, Jul 14, 2014 at 2:51 PM, Ariadna Murguia <doggies012@hotmail.com> wrote:<br>> > Hi!<br>> > I wrote a while back asking to visualize a dataset in an unstructured grid<br>> > with AMR and a vtk output file. I was given a script that could do simple<br>> > visualizations: http://paste.yt-project.org/show/4879/ .<br>> > I tried altering it in order to visualize my data but (line 39), the number<br>> > of elements in my vals array is odd, making the reshape become an error. Is<br>> > there a way around it?<br>> > Thank you very much<br>> > Ariadna Murguia Berthier<br>> ><br>> > _______________________________________________<br>> > yt-users mailing list<br>> > yt-users@lists.spacepope.org<br>> > http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org<br>> ><br>> _______________________________________________<br>> yt-users mailing list<br>> yt-users@lists.spacepope.org<br>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org<br></div>                                     </div></body>
</html>