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

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

[Octave-bug-tracker] [bug #39552] quiver/quiver3 ignores scale with only


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #39552] quiver/quiver3 ignores scale with only one point to plot
Date: Sat, 17 Dec 2016 20:35:04 -0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0

Update of bug #39552 (project octave):

                Severity:              3 - Normal => 2 - Minor              
                Priority:              5 - Normal => 3 - Low                
                  Status:                    None => Confirmed              
                 Release:                   3.6.4 => dev                    
        Operating System:                  Mac OS => Any                    

    _______________________________________________________

Follow-up Comment #1:

Confirmed here, still present with the development version of Octave (4.3.0+)
on Debian.

Here is a simple example showing that the arrow scaling factor does not work,
and in fact the scale of a single arrow is blown out of proportion compared to
how it is computed with a full field of arrows.

Derived from the demo of quiver:


[x,y] = meshgrid (1:2:20);
u = sin (2*pi*x/10); v = sin (2*pi*y/10);
quiver (x, y, u, v, 1); axis ([0, 20, 0, 20]);
quiver (x, y, u, v, .5); axis ([0, 20, 0, 20]);
## At this point, the scale factor works

subs = 3:7;
quiver (x(subs,subs), y(subs,subs), u(subs,subs), v(subs,subs), 1); axis ([0,
20, 0, 20]);
quiver (x(subs,subs), y(subs,subs), u(subs,subs), v(subs,subs), .5); axis ([0,
20, 0, 20]);
## Scaling still works for a subset of the original 100 arrows

subs = 4;
quiver (x(subs,subs), y(subs,subs), u(subs,subs), v(subs,subs), 1); axis ([0,
20, 0, 20]);
quiver (x(subs,subs), y(subs,subs), u(subs,subs), v(subs,subs), .5); axis ([0,
20, 0, 20]);
## Scaling now has no effect




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?39552>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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