octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #56120] Quiver scale argument has no effect wi


From: anonymous
Subject: [Octave-bug-tracker] [bug #56120] Quiver scale argument has no effect with constant vector field
Date: Thu, 11 Apr 2019 11:56:47 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36

URL:
  <https://savannah.gnu.org/bugs/?56120>

                 Summary: Quiver scale argument has no effect with constant
vector field
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Thu 11 Apr 2019 03:56:46 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Tony Richardson
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.4.1
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

The scaling argument seems to have no effect when the vector field is
constant.  Changing the fifth argument to quiver in the code below had no
affect on the plot.


% Range over which to plot field
range = [-5:.5:5];

% Create vector tail coordinate grid
[xx yy] = meshgrid(range);

% Toggle pair between 1 and 2 to select the u, v pair to plot
pair = 2;
u{1} = xx;  v{1} = .4;
u{2} = .4;  v{2} = .4;

figure(1)
% Vary the fifth arg between 0 and 1
% It has no affect on the second u, v pair above (pair = 2)
quiver(xx, yy, u{pair}, v{pair}, .6)
xlim([range(1) range(end)]);
ylim([range(1) range(end)]);
grid on






    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56120>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]