My code in app designer works without any errors, the limits set with the datas but the plot can't be shown. Where's the problem? M_MED values change between 0 to 60, W_Turbine_MED values change between 60000 to 15000 and the M_disalinated_water values change between 0 to 1.7474. I'll be grateful to help me in this case.
axis(app.UIAxes,'tight');
plot(app.UIAxes,M_MED,W_Turbine_MED,'r',LineWidth=2);
yyaxis(app.UIAxes,'right');
hold on;
plot(app.UIAxes,M_MED,M_disalinated_water,'b',LineWidth=2);

 Respuesta aceptada

M Afshari
M Afshari el 14 de Ag. de 2022

0 votos

I found the solution. That was because of one of the functions of my code which the plot must draw from that, determined just 1 value instead of the matrix of values.

Más respuestas (0)

Categorías

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

Productos

Versión

R2022a

Preguntada:

el 14 de Ag. de 2022

Respondida:

el 14 de Ag. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by