R.plot app designer

1 回表示 (過去 30 日間)
Erick Soto
Erick Soto 2020 年 7 月 16 日
回答済み: Sahithi Kanumarlapudi 2020 年 7 月 20 日
hi, i need help ploting in an appp designer, i tri to display a figure generated by this code
Robot.plot(q,'workspace',[-100 100 -100 100 0 100]);
but matlab creates a new figure instead of put it inside the axes in my app so i've tried to use this
hold(app.figura,"on");
% and this
Robot.plot(app.figure,q,'workspace',[-100 100 -100 100 0 100]);
but then q hasn't insuficient columns
at last i tried to
app.figura=Robot.plot(q,'workspace',[-100 100 -100 100 0 100]);
but there are too many output arguments
every help will be apreciated

回答 (1 件)

Sahithi Kanumarlapudi
Sahithi Kanumarlapudi 2020 年 7 月 20 日
Hi,
You could create an axis on app.UIFigure and pass it as an input argument to the plot function (assuming you were trying to use MATLAB plot function). For more details on how to give axes as input refer to the below link
Hope this helps!

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by