R.plot app designer

2 visualizaciones (últimos 30 días)
Erick Soto
Erick Soto el 16 de Jul. de 2020
Respondida: Sahithi Kanumarlapudi el 20 de Jul. de 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

Respuestas (1)

Sahithi Kanumarlapudi
Sahithi Kanumarlapudi el 20 de Jul. de 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!

Categorías

Más información sobre Trigonometry en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by