Hi,

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) :

error: invalid value for array property "xdata"
error: set: expecting argument 2 to be a property name
error: called from:
error: 
/share/apps/octave-3.2.4-arpack/share/octave/3.2.4/m/plot/__line__.m at 
line 65, column 5
error: /share/apps/octave-3.2.4-arpack/share/octave/3.2.4/m/plot/line.m 
at line 38, column 5

It runs fine with X and Y lines instead of matrices. Any hint to recover 
the old behavior?

Best regards,
Fabien

-- 
Fabien AMIOT
Chargé de recherche CNRS en colere / cross Research Associate
fabien.am...@femto-st.fr
Tel : (+33) (0)3.81.66.60.14
Fax : (+33) (0)3.81.66.67.00
UMR6174 / FEMTO-ST, Dpt. Mécanique Appliquée
24, rue de l'Épitaphe
25000 Besancon
France


------------------------------------------------------------------------------
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

Reply via email to