figure is not being displayed
Afficher commentaires plus anciens
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.
Réponses (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
Catégories
En savoir plus sur Graphics Objects dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

