boxplot 1.4.1 does not work with octave 3.0.0 for me. If the boxplot does not have any outliers, the resulting plot is empty. The following fix worked for me. I'd be curious to know if there's a more elegant solution.
When the boxplot has no outliers, the variables outliers_x and outliers_y become empty 0x1 matrices: outliers_x = [](0x1) outliers_y = [](0x1) Evidently the plot function can't deal with this. I could see this being a bug in plot though, rather than a bug in boxplot. I would expect the plot function to treat a 1x0 empty matrix the same as a 0x0 empty matrix. Cheers, Shaun --- boxplot.m.orig 2008-03-26 14:27:15.000000000 -0700 +++ boxplot.m 2008-03-26 15:43:19.000000000 -0700 @@ -182,6 +182,16 @@ #median_x,median_y #cap_x,cap_y +if min(size(outliers_x)) == 0 + outliers_x = []; + outliers_y = []; +endif + +if min(size(outliers2_x)) == 0 + outliers2_x = []; + outliers2_y = []; +endif + ## Do the plot if vertical plot (quartile_x, quartile_y, "b;;", ------------------------------------------------------------------------- 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