[yt-users] Quiver normalization

Jean-Claude Passy jcpassy at uvic.ca
Thu Aug 2 09:05:55 PDT 2012


Hi Max,

So, on any png image produced by YT, if I set "inches", the arrow unit length is always exactly one inch?

yes, I think so. At least, this is what matplotlib says:
http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.quiver

Cheers,

JC



________________________________
From: gaspmax at hotmail.com<mailto:gaspmax at hotmail.com>
To: yt-users at lists.spacepope.org<mailto:yt-users at lists.spacepope.org>
Subject: Quiver normalization
Date: Wed, 1 Aug 2012 17:04:03 +0200

Hi guys,


how can I set a given normalization for the velocity field superposed to a slice?


p.modify["velocity"](factor=13)


I am a bit puzzled by the "scale" keyword.
E.g., I want to set 1000 km/s as the normalization for all the slices of a simulation.



Thanks,



   Max
WebRep
currentVote
noRating
noWeight
_______________________________________________
yt-users mailing list
yt-users at lists.spacepope.org<mailto:yt-users at lists.spacepope.org>
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20120802/a70402e2/attachment.htm>


More information about the yt-users mailing list