Hi David, You're patch works for me. Thanks!
Cheers, Shaun On 28-Mar-08, at 2:25 AM, David Bateman wrote: > I'd hesitate to make that change since as you say the bug is in Octave > itself.. We shouldn't add additional cruft to work around bugs when we > can fix the issue at the source.. > > This reason this issue is happening is that "isvector([])" returns > false > whereas "isvector(zeros(1,0))" returns true which is the matlab > compatible behavior. Therefore the fix is to promote the test for > empty > variable in the base plotting code to be first as in the attached > changeset. > > Regards > David ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev