Forgot to add a screen capture:

I got an error, when running the code:
Error using uicontrol Axes cannot be a parent. Error in PANTONE_subplots (line 39) checkbox1 = uicontrol(ax2, 'Style', 'checkbox', 'String', 'Show Scatter Plot', ...
I tried changing the uicontrol line to:
checkbox1 = uicontrol(panel2, 'Style', 'checkbox', 'String', 'Show Scatter Plot', ...
'Position', [0.1, 0.1, 0.3, 0.50], 'Callback', @toggleScatterPlot);
But it still does not work? I'll continue searching the obscure reason this does not work...