[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #47904] text() with the wrong sized vector or
From: |
Nicholas Jankowski |
Subject: |
[Octave-bug-tracker] [bug #47904] text() with the wrong sized vector or cell array gives unexpected/weird results |
Date: |
Fri, 20 May 2016 19:29:49 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0 |
Follow-up Comment #6, bug #47904 (project octave):
Matlab R2015b
test 1:
>> x = 1:5;
>> y = 1:5;
>> plot (x, y, 'o');
>> labels1 = {'a', 'b', 'c', 'd'};
>> text (x,y,labels1)
Error using text
Each string specified must have a corresponding set of coordinates
plot appeared, image attached as comment5_test1.png
after test 2:
>> clf;
>> plot (x, y, 'o');
>> labels2 = {'a', 'b', 'c', 'd', 'e'};
>> text (x,y,labels2)
plot appeared, image attached as comment5_test2.png
after test 3:
>> clf;
plot (x, y, 'o');
labels3 = ['a'; 'b'; 'c'; 'd'];
text (x,y,labels3)
Error using text
Each string specified must have a corresponding set of coordinates
plot appeared, image attached as comment5_test3.png
after test 4:
>> clf;
plot (x, y, 'o');
labels4 = ['a'; 'b'; 'c'; 'd'; 'e'];
text (x,y,labels4)
>>
plot appeared, image attached as comment5_test4.png
(file #37215, file #37216, file #37217, file #37218)
_______________________________________________________
Additional Item Attachment:
File name: comment5_test1.png Size:6 KB
File name: comment5_test3.png Size:6 KB
File name: comment5_test2.png Size:7 KB
File name: comment5_test4.png Size:7 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47904>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/