R.plot app designer

조회 수: 2 (최근 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 CenterFile Exchange에서 Trigonometry에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by