On 28 June 2012 09:59, fabien amiot <fabien.am...@femto-st.fr> wrote: > It looks like the behavior of 'line' changed with the latest Octave > versions, generating unexpected errors in older pieces of codes. For > instance, the following code : > > cax = figure('visible','off');clf; > cfig = get(cax,'Parent'); > hold_state = ishold; > ax_nextplot = lower(get(cax,'NextPlot')); > X=rand(2,600); > Y=rand(2,600); > hmesh = line(X, Y); > > -> runs fine on Octave 3.0.5 (Debian) > -> generates an error on Octave 3.2.4 (same for both a standard > installation on Ubuntu Pangolin and a custom one on Debian) :
3.2.4 is not the latest Octave version; it's actually quite old. The Debian packaging fell behind. Your example works on 3.6.2. Get it from this PPA for Ubuntu, which is derived from the 3.6.2 packaging for Debian unstable: https://launchpad.net/~mvanderkolff/+archive/octave-3.6 HTH, - Jordi G. H. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev