App designer UIAxes loop
8 views (last 30 days)
Hi. I am user app designer and need to designate different locations (for graphing) based on the loop # and a given starting value.
For example, if num= 3 and w = 1, the coding will go:
for i = 1:num
UserPlot = app.UIAxes(i)_w
Scatter(UserPlot, x , y)
So, the user plot should have results of: app.UIAxes1_1, app.UIAxes2_1, app.UIAxes3_1 after the loop is complete.
How would i write the "UserPlot = ...." line.