From help-octave-request at bevo dot che dot wisc dot edu Thu Oct 12 06:20:51 1995 Subject: BAR not Matlab 4+ compatible From: John Eaton To: Eyal Doron cc: help-octave at bevo dot che dot wisc dot edu Date: Thu, 12 Oct 1995 06:20:50 -0500 Eyal Doron wrote: : I wonder if you noticed: : : MATLAB 4.0: : : ; [X,Y]=bar(1:10,1:10); : ; length(X) : ans = : 51 : : Octave 1.1.1: : : octave:11> [X,Y]=bar(1:10,1:10); : octave:12> length(X) : ans = 31 I had no idea. Matlab is apparently placing the points like this: o---o | | o---o | | | | | | | | | | o---o | | | | | | o-o o-o-o o-o-o X where an `o' represents a single point and an `X' represents a duplicate point. This seems very odd to me and probably not worth duplicating exactly. Of course, if someone wants to modify Octave's current version of bar() and put it up on the contrib ftp site, they are welcome to do so. jwe