
617Putting It All Together
Customizing result plots (See color insert.)
The “+” button is actually a com.mathworks.mwswing.MJButton Java object (Section
6.1) that is displayed using javacomponent. We recall from Section 6.1 that MJButton added
a FlyOverAppearance property to the standard Java Swing’s JButton. It is this property that
I now use, using the following code snippet:
btLinePropsCbStr = ['uisetlineprops(findall(' num2str(hAxes,99) . . .
',''type'',''line''))'];
btLinePropsPos = [axesPos(1:2) + 0.003, 0.02, 0.02];
%uicontrol('string','+', 'Units','Norm', 'BackgroundColor','white',
'Position',btLinePropsPos, 'tag',['bt' axName '_LineProps'], ...