quiver3 给出不一致的论点?

计算科学 可视化 八度 矢量化
2021-12-17 20:35:44

有谁知道我为什么会看到这些错误?我没有给它一个矩阵。

>>> t = 0:0.1:2*pi;
>>> quiver3(4*t,3*cos(t),3*sin(t));
error: __quiver__: operator +: nonconformant arguments (op1 is 3969x1, op2 is 6
3x1)
error: called from:
error:   /usr/share/octave/3.6.2/m/plot/private/__quiver__.m at line 179, colum
n 10
error:   /usr/share/octave/3.6.2/m/plot/quiver3.m at line 75, column 11
1个回答

Matlab 比 Octave 更明确一点:

quiver3(4*t,3*cos(t),3*sin(t))

???在 53 处使用 ==> quiver3 时出错

没有足够的输入参数。

quiver3仅使用 3 个参数是无法使用的。你想做什么?