Plotting in MatLab App Builder - no x values?
1 次查看(过去 30 天)
显示 更早的评论
I am building an app in MatLab and have a UItable and a UIAxes. I finally got it to connect and plot what is on the table and update when the values in the table change, but ONLY Y values.
How can I plot my x and y values???
plot(app.UIAxes,y2); <- this is the piece of code that plots it
plot(app.UIAxes,x2, y2); does not work
2 个评论
Sugar Daddy
2020-7-1
insert a breakpoint at that line in code view and see if the size of x2 and y2 are same
采纳的回答
更多回答(1 个)
SC
2020-7-1
From my understanding, you are trying to plot 3 axes
Try using 3d plot, visit the following links to see how 3d plot works:
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!