Make sure the axes are part of the tab group (the tab background will change color when adding a component to it). Once done, plot to the axes the same as when it's not in a tab group. The only trick in app designer is to be sure to specify the target axes.
Here is what my simple example code looked like
function ButtonPushed(app, event)
and the result in my app.