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);

 Akzeptierte Antwort

M Afshari
M Afshari am 14 Aug. 2022

0 Stimmen

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.

Weitere Antworten (0)

Kategorien

Mehr zu Develop Apps Using App Designer finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2022a

Gefragt:

am 14 Aug. 2022

Beantwortet:

am 14 Aug. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by