MATLAB: How to change the line width in a contourslice plot

plotting

Take for example
[X,Y,Z,V] = flow;
zslice = 0;
s=contourslice(X,Y,Z,V,[],[],zslice)
grid on
I want the lines in the contourslice plot to be thicker, as I would them change in a regular contour plot via the LineWidth property. However, the contourslice object (called s here) does not have this property.

Best Answer

Yes it does. Contourslice builds a number of patch objects, which have linewidths like any patch objects. If it really does not work for you, then perhaps you are using an old MATLAB release.
set(s,'linewidth',2)