Attached velocity arrows to particles
Hi Guys, Just wondering if anyone knows how to attach velocity magnitude arrows to particles (e.g. star particles)? There are the annotate callbacks to place particles on top of gas fields but can I then somehow also view the particle velocity magnitudes. Any tips much appreciated. Cheers, John
Right now you'll need to this manually using e.g. annotate_arrow:
http://yt-project.org/docs/3.4.0/visualizing/callbacks.html#overplot-arrow
We don't have a built-in callback at the moment that draws arrows according
to particle velocities.
-Nathan
On Thu, Feb 15, 2018 at 3:28 PM, John Regan
Hi Guys,
Just wondering if anyone knows how to attach velocity magnitude arrows to particles (e.g. star particles)? There are the annotate callbacks to place particles on top of gas fields but can I then somehow also view the particle velocity magnitudes.
Any tips much appreciated.
Cheers, John
_______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
_______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
Fair enough. Just wanted to check I wasn't missing a trick somewhere. That
should be straight forward and "fun" anyway!
On Thu, Feb 15, 2018 at 9:35 PM, Nathan Goldbaum
Right now you'll need to this manually using e.g. annotate_arrow:
http://yt-project.org/docs/3.4.0/visualizing/callbacks.html#overplot-arrow
We don't have a built-in callback at the moment that draws arrows according to particle velocities.
-Nathan
On Thu, Feb 15, 2018 at 3:28 PM, John Regan
wrote: Hi Guys,
Just wondering if anyone knows how to attach velocity magnitude arrows to particles (e.g. star particles)? There are the annotate callbacks to place particles on top of gas fields but can I then somehow also view the particle velocity magnitudes.
Any tips much appreciated.
Cheers, John
_______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
_______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
_______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
_______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
participants (2)
-
John Regan
-
Nathan Goldbaum