MATLAB: Creating axes afterwards causes bugs

axesguislider

I have a form that allows the user to adjust the parameters of a function displayed on axes1 via a slider. I have this working fine but when I add axes2 to the GUI, the graph no longer displays in axes1. How would adding an axes with a different tag affect the code for axes1?