How can I plot scatterplot in the UIAxes of App Designer
显示 更早的评论
I want to plot a scatterplot (from communications toolbox) onto a UIAxes created with App designer.
Scatterplot always opens a new figure, and scatterplot does not support the following syntax:
scatterplot(app.UIAxes, SignalofInterest)
Scatterplot does support
scatfig = scatterplot(__)
but I am not sure how I can place the scatfig handle into a UIAxes of app designer.
采纳的回答
更多回答(1 个)
GERARDO TAPIA
2025-9-26
0 个投票
Hi May the Lord Jesus Christ bless you in a mighty way
use the plot in the following way
plot(app.UIAxes,Name,'-*','LineWidth',2,'Color','#f29c07');
where name is your data like y
there you go
1 个评论
GERARDO TAPIA
2025-9-26
plot(app.UIAxesSize,AreaSamp,'-*','LineWidth',2,'Color','#f29c07');
类别
在 帮助中心 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!