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: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #39552] quiver/quiver3 ignores scale with only one point to plot
Date: Wed, 19 Apr 2023 10:39:19 -0400 (EDT)

Update of bug #39552 (project octave):

                  Status:               Confirmed => Ready For Test         

    _______________________________________________________

Follow-up Comment #2:

this behavior is still present in 8.2.0 using mike's comment #1 test case.
(single arrow size unchanged despite setting scaling factors of 1.0 and 0.5). 


Code base has changed since 2013 I believe moving the comment #0 suggestion to
line 152.  changing 


if (len > 0 && autoscale && numel (u) > 1)


to 


if (len > 0 && autoscale && numel (u) >= 1)


seems to fix the single quiver problem. 

I can't find any other problem cases that this would trigger (where num
vectors = 1 but it _needs_ to skip the autoscale code for some reason) and
quiver has no BISTs for checking that way.

Since I can't really test it well, and it's a really low priority issue that i
doubt has high demand for faster rollout, pushed this simple bugfix to default
as 
https://hg.savannah.gnu.org/hgweb/octave/rev/29671873411a

Marking as Ready for Test.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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