octave-maintainers
[Top][All Lists]
Advanced

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

Re: Help with bug #47904


From: Przemek Klosowski
Subject: Re: Help with bug #47904
Date: Fri, 20 May 2016 15:11:34 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0

On 05/20/2016 02:42 PM, Rik wrote:
All,

I asked for a test of Matlab behavior a week ago on bug #47904
(https://savannah.gnu.org/bugs/index.php?47904), but got no answers.  Could
someone from the Maintainer's list with access to Matlab run the tests in
comment #4 and post the results there?

Thanks,
Rik

version 8.6.0.267246 (R2015b)

x = 1:5;
y = 1:5;
plot (x, y, 'o');
labels1 = {'a', 'b', 'c', 'd'};
text (x,y,labels1)

Warning: MATLAB has disabled some advanced graphics rendering features by switching to
software OpenGL. For more information, click here.
Error using text
Each string specified must have a corresponding set of coordinates

clf;
plot (x, y, 'o');
labels2 = {'a', 'b', 'c', 'd', 'e'};
text (x,y,labels2)

indeed creates single label at each point

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
 

clf;
plot (x, y, 'o');
labels4 = ['a'; 'b'; 'c'; 'd'; 'e'];
text (x,y,labels4)

indeed creates single label at each point



reply via email to

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