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

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

[Octave-bug-tracker] [bug #41458] plot(x, [y1, y2, y3]) does not work


From: Kai Torben Ohlhus
Subject: [Octave-bug-tracker] [bug #41458] plot(x, [y1, y2, y3]) does not work
Date: Wed, 05 Feb 2014 13:25:51 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0

Follow-up Comment #2, bug #41458 (project octave):

Hi,

I can support Mikes comment. plot(x,[a;b;c]); works in both Octave 3.8 and
MATLAB.

[code]
>> ver
-------------------------------------------------------------------------------------------------------
MATLAB Version: 8.0.0.783 (R2012b)
MATLAB License Number: ---
Operating System: Linux 3.7.10-1.24-desktop #1 SMP PREEMPT Wed Oct 2 11:15:18
UTC 2013 (375b8b4) x86_64
Java Version: Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot(TM)
64-Bit Server VM mixed mode
-------------------------------------------------------------------------------------------------------
>> x=[0:0.01:2*pi];
a = sin(x);
b = cos(x);
c = a.*b;

plot(x,[a,b,c]);
Error using plot
Vectors must be the same lengths. 
[/code]

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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