[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**: |
H. G. |

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

**Date**: |
Tue, 04 Feb 2014 18:33:34 +0000 |

**User-agent**: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 |

URL:
<http://savannah.gnu.org/bugs/?41458>
Summary: plot(x,[y1,y2,y3]) does not work
Project: GNU Octave
Submitted by: hardy
Submitted on: Di 04 Feb 2014 18:33:33 GMT
Category: Plotting
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.8.0
Operating System: Any
_______________________________________________________
Details:
In Matlab there is the possibility to plot several vectors (of equal length)
against one common x vector. This does currently (version 3.8.0) NOT work in
Octave.
Here is an example:
x=[0:0.01:2*pi];
a = sin(x);
b = cos(x);
c = a.*b;
plot(x,[a,b,c]);
In Octave this throughs an error:
error: __plt2vv__: vector lengths must match
In Matlab it generates a plot that is identical to
plot(x,a,x,b,x,c);
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41458>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/

**[Octave-bug-tracker] [bug #41458] plot(x, [y1, y2, y3]) does not work**,
*H. G.* **<=**
**[Octave-bug-tracker] [bug #41458] plot(x, [y1, y2, y3]) does not work**, *Mike Miller*, `2014/02/04`
**[Octave-bug-tracker] [bug #41458] plot(x, [y1, y2, y3]) does not work**, *Kai Torben Ohlhus*, `2014/02/05`
**[Octave-bug-tracker] [bug #41458] plot(x, [y1, y2, y3]) does not work**, *H. G.*, `2014/02/05`
**[Octave-bug-tracker] [bug #41458] plot(x, [y1, y2, y3]) does not work**, *Mike Miller*, `2014/02/05`