quiver - autoscaling

Hi folks,

I am trying to turn off the auto scaling in quiver.

In the form QUIVER( X, Y, U, V, S), I have made plots with S=0, S=5 and omitting S entirely. The plots look the same to me.

What effect does the S argument have on the plot?

What I want is to be able to generate multiple figures with a consistent scale. In other words, I want a vector of U=100,V=100 to be the same size on each figure no matter what the maximum vector is for the figure.

Any hints?

I am using matplotlib 0.87.1 with numarray and GTKagg.

···

--
Ms. Carol A. Leger
SRI International Phone: (650) 859-4114
333 Ravenswood Avenue G-273
Menlo Park, CA 94025 e-mail: leger@...392...

Carol Leger wrote:

Hi folks,

I am trying to turn off the auto scaling in quiver.

In the form QUIVER( X, Y, U, V, S), I have made plots with S=0, S=5 and
omitting S entirely. The plots look the same to me.

What effect does the S argument have on the plot?

What I want is to be able to generate multiple figures with a consistent
scale. In other words, I want a vector of U=100,V=100 to be the same
size on each figure no matter what the maximum vector is for the figure.

quiver()'s argument handling is very fragile. You can't use keyword arguments.
If you want to use the S argument you have to invoke quiver() like so:

  quiver(X, Y, U, V, S)

···

--
Robert Kern
robert.kern@...287...

"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
  -- Umberto Eco