Thank you JC, the plot looks better. So, on any png image produced by YT, if I set "inches", the arrow unit length is always exactly one inch? Or is there any kind of device rescaling (e.g., using different resolutions)? Cheers, Max From: gaspmax@hotmail.com To: yt-users@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, MaxWebRepcurrentVotenoRatingnoWeight
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.quiv... Cheers, JC ________________________________ From: gaspmax@hotmail.commailto:gaspmax@hotmail.com To: yt-users@lists.spacepope.orgmailto:yt-users@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@lists.spacepope.orgmailto:yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
participants (2)
-
Jean-Claude Passy
-
Massimo Gaspari