<div dir="ltr">If you have data that's loadable by yt, you should be able to create the streamlines following this document:<div><br></div><div><a href="http://yt-project.org/doc/visualizing/streamlines.html">http://yt-project.org/doc/visualizing/streamlines.html</a><br></div><div><br></div><div>yt doesn't natively visualize streamlines, but you can use matplotlib or mayavi to visualize the streamlines in 3d:</div><div><br></div><div>* <a href="http://docs.enthought.com/mayavi/mayavi/mlab.html">http://docs.enthought.com/mayavi/mayavi/mlab.html</a></div><div>* <a href="http://matplotlib.org/mpl_toolkits/mplot3d/tutorial.html">http://matplotlib.org/mpl_toolkits/mplot3d/tutorial.html</a></div><div><br></div><div>Hope that helps,</div><div><br></div><div>Nathan</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 8, 2015 at 12:56 PM, Sushilkumar <span dir="ltr"><<a href="mailto:sushil.sush19us@gmail.com" target="_blank">sushil.sush19us@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"><div><div>Dear yt:<br><br></div>I would like to plot magnetic field lines in 3D using either streamline or 3D quiver plots. Could you suggest me ways for the doing the same?<br><br></div>Thanks in advance<span class="HOEnZb"><font color="#888888"><br><div><div><br><br clear="all"><div><br>-- <br><div><span style="border-collapse:collapse"><div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><b><i>SK<sup>2</sup></i></b></span></div><div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><b><i><sup><br></sup></i></b></span></div><div><span style="color:rgb(80,0,80);font-family:arial,sans-serif;border-collapse:collapse"><b><sup>"</sup></b></span><font face="arial, sans-serif" color="#500050"><b>Claiming that something can move faster than light is a good conversation-stopper in physics. People edge away from you in cocktail parties; friends never return phone calls. You just don’t mess with Albert Einstein.</b></font><b style="color:rgb(80,0,80);font-family:arial,sans-serif"><sup>"</sup></b></div><div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"><br></div></span></div>
</div></div></div></font></span></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" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div>