Hi Caroline,<br><br>On Wednesday, July 2, 2014, Caroline Van Borm <<a href="mailto:borm@astro.rug.nl">borm@astro.rug.nl</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
I made some slices of my density data using pf.h.slice, then used .to_frb to get different box widths, and imshow to plot them in a multiplot layout. Now I was wondering if there is a way to add velocity vectors on top of these slices? It doesn't seem possible to use annotate_velocity with this method..</blockquote>
<div><br></div><div>That's right.  You'll need to do what annotate_velocity does by hand.</div><div><br></div><div>Using your same FRB, you'll need to create slices of the x and y velocity fields (assuming you're slicing through the z axis) and then pass these slices to the matplotlib quiver command.</div>
<div><br></div><div>Nathan<span></span></div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks!<br>
<br>
Cheers,<br>
Caroline<br>
______________________________<u></u>_________________<br>
yt-users mailing list<br>
<a>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/<u></u>listinfo.cgi/yt-users-<u></u>spacepope.org</a><br>
</blockquote>