I have a plot3 command with a handle defined. I then reset line width followed immediately by a get( ) to check it out, and the line width is unchanged from the default. This is done inside a function.
p1=plot3(u(:,1),u(:2),u(:,3));
set(p1,'LineWidth',.1);
get(p1,'LineWidth')