figure is not being displayed
Ältere Kommentare anzeigen
I am trying to write a code for a trigeneration system and see the results to make necessary changes yet when i run the code, the output graph is emty and i dont understand why. please help as soon as possible.
Antworten (1)
All the plots in the 2nd, 3rd, and 4th figures are based on scalars. Plotting a scalar is plotting a single point, so it's not going to show up without a marker. Example:
x = 1;
y = 2;
figure
plot(x,y) % nothing shows up on the plot in this case
figure
plot(x,y,'o') % 'o' means mark the plotted point(s) with a circle
Kategorien
Mehr zu Graphics Objects finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

