Plotting in MatLab App Builder - no x values?

I am building an app in MatLab and have a UItable and a UIAxes. I finally got it to connect and plot what is on the table and update when the values in the table change, but ONLY Y values.
How can I plot my x and y values???
plot(app.UIAxes,y2); <- this is the piece of code that plots it
plot(app.UIAxes,x2, y2); does not work

2 comentarios

Sugar Daddy
Sugar Daddy el 1 de Jul. de 2020
insert a breakpoint at that line in code view and see if the size of x2 and y2 are same
Noor Fakih
Noor Fakih el 1 de Jul. de 2020
they are!

Iniciar sesión para comentar.

 Respuesta aceptada

Más respuestas (1)

SC
SC el 1 de Jul. de 2020

0 votos

1 comentario

Noor Fakih
Noor Fakih el 1 de Jul. de 2020
No, I do want a 2D plot. But I am unable to specify x-values.

Iniciar sesión para comentar.

Categorías

Más información sobre Develop Apps Using App Designer en Centro de ayuda y File Exchange.

Productos

Versión

R2019a

Preguntada:

el 1 de Jul. de 2020

Respondida:

el 2 de Jul. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by