回答編集履歴
1
修正
answer
CHANGED
@@ -1,5 +1,7 @@
|
|
1
|
-
なかなか独特の挙動になるようですね。
|
1
|
+
なかなか独特の挙動になるようですね。
|
2
2
|
|
3
|
+
この数字を単位にして測るということのようです。scaleで割られるのですね。現象としては「a smaller scale parameter makes the arrow longer. 」なのですが、他の引数と連動して挙動が変わるようです。
|
4
|
+
|
3
5
|
> scale_units : [ 'width' | 'height' | 'dots' | 'inches' | 'x' | 'y' | 'xy' ], None, optional
|
4
6
|
> If the scale kwarg is None, the arrow length unit. Default is None.
|
5
7
|
e.g. scale_units is 'inches', scale is 2.0, and (u,v) = (1,0), then the vector will be 0.5 inches long.
|
@@ -8,4 +10,6 @@
|
|
8
10
|
|
9
11
|
> [matplotlib.axes.Axes.quiver — Matplotlib 2.2.3 documentation](https://matplotlib.org/api/_as_gen/matplotlib.axes.Axes.quiver.html)
|
10
12
|
|
13
|
+
おそらく`"xy"`を使うのが簡単でしょう。
|
14
|
+
|
11
15
|
「To plot vectors in the x-y plane, with u and v having the same units as x and y, use angles='xy', scale_units='xy', scale=1」と言っているので、angles,scale_units,scaleをそのように設定してあげると(15, 15)が(15,15)にプロットされるようです。ここでscale=15にすると(1,1)にplotされます、という挙動です。
|