Components of the app: - 2 edit fields (XEditField, YEditField) - 1 UIAxes (Graph) - 1 Button function PlotButtonPushed(app, event) x = app.XEditField.Value; y = app.YEditField.Value; hold(app.UIAxes, "on"); plot(app.UIAxes, x, y, "r*"); end
Components of the app: - 2 edit fields (XEditField, YEditField) - 1 UIAxes (Graph) - 1 Button function PlotButtonPushed(app, event) x = app.XEditField.Value; y = app.YEditField.Value; hold(app.UIAxes, "on"); plot(app.UIAxes, x, y, "r*"); end