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

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

[Octave-bug-tracker] [bug #65018] failing unit test "bug 40117"


From: Hartmut
Subject: [Octave-bug-tracker] [bug #65018] failing unit test "bug 40117"
Date: Tue, 12 Dec 2023 11:34:06 -0500 (EST)

Follow-up Comment #5, bug#65018 (group octave):

When I copy the exact code from comment #3 into an m-file (I named it
demo_quiver.m) and then run it on my machine, I do get the following error:


>> demo_quiver

quiver example 1:
 clf;
 [x,y] = meshgrid (1:2:20);
 h = quiver (x,y, sin (2*pi*x/10), sin (2*pi*y/10));
 title ("quiver() plot w/arrowheads (default)");

error: 'scripts' undefined near line 3, column 1
error: called from
    demo_quiver at line 3 column 21


This is a different error, than mentioned in comment #3.

When I instead copy the code from comment #3 directly into a (GUI) Octave
console, then I see this error:


>> demo ("quiver", 1)
quiver example 1:
 clf;
 [x,y] = meshgrid (1:2:20);
 h = quiver (x,y, sin (2*pi*x/10), sin (2*pi*y/10));
 title ("quiver() plot w/arrowheads (default)");

>> ## In another terminal window, execute 'touch
>> scripts/plot/private/__quiver__.m
error: 'scripts' undefined near line 1, column 1
>> demo ("quiver", 1)
quiver example 1:
 clf;
 [x,y] = meshgrid (1:2:20);
 h = quiver (x,y, sin (2*pi*x/10), sin (2*pi*y/10));
 title ("quiver() plot w/arrowheads (default)");

>> quiver example 1:
error: quiver: U and V must be the same size
error: called from
    __quiver__ at line 67 column 9
    quiver at line 92 column 10
>>  clf;
>>  [x,y] = meshgrid (1:2:20);
>>  h = quiver (x,y, sin (2*pi*x/10), sin (2*pi*y/10));
>>  set (h, 'maxheadsize', 0.33);
>>


I hope this helps. Let me know if I should run different code on my machine.



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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