h=boxplot(...)
set(h(7,:),'Visible','off')
Wonder if there is a reason why the documentation doesn't say anything about the matrix of handles that boxplot returns, skipped my eyes at least (R2008b). It only suggests to use findobj to find handles of various parts of the plot.
h=findobj(gca,'tag','Outliers');
Older versions of the boxplot help used to recommend using the output array
of handles. In more recent releases there have been options added so that
the number and type of handles can vary. There is still the output array.
But the "findobj" approach will work regardless of whether the style is
traditional or compact, for example.
-- Tom