R.plot app designer

2 Ansichten (letzte 30 Tage)
Erick Soto
Erick Soto am 16 Jul. 2020
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

Antworten (1)

Sahithi Kanumarlapudi
Sahithi Kanumarlapudi am 20 Jul. 2020
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!

Kategorien

Mehr zu Trigonometry finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by