[Matplotlib-users] Matplotlib quiver

Eric Firing efiring at hawaii.edu
Thu Aug 24 12:54:11 EDT 2017

On 2017/08/24 6:21 AM, Raju Ankleshwaria wrote:
> Dear Matplotlib help,
> I have successfully created plots with quiver. The script is working. 
> However, I want to create multiple plots (quiver) with different 
> datasets. Due to the differences in datasets the length of the quiver is 
> changing in each plot. How can I keep the quiver length same in each 
> plots? Note, I do want variations in quiver length in the plot. I don't 
> want the length of each quiver equal in same plot.
> I am using below in my script.
> Q=ax.quiver(x, y, u, v, pivot-'tip')
> qk = ax.quiverkey(Q, 0.78, 0.78, 5, '5 mph', labelpos='E', 
> coordinates=figure')
>  1. scale function will not work.

Why do you say this?  If I understand your question correctly, setting 
the scale and scale_units keyword arguments to the same value in each 
plot should do what you need.


Q=ax.quiver(x, y, u, v, pivot-'tip', scale=10, scale_units='inches')


>  2. Normalizing the data will also not work
> Please suggest/help.
> RA
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users at python.org
> https://mail.python.org/mailman/listinfo/matplotlib-users

More information about the Matplotlib-users mailing list