how to plot graph
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Suppose i have a result,
result = 1 2 3 4
5 6 7 8
9 10 11 12
where in this 3x4 matrix, the 3 rows denote 3 different generator and 4 coloumns denote time period in four hours.
how to plot a graph for time vs the generation. that is in x-axis you will have 4 hrs time period with 1 hr difference and y axis will be generation takin into account the 3 different generator values for each hour.
The above one is for example purpose. I need to plot for 6 generating units for 12 hours.
0 Commenti
Risposte (1)
Star Strider
il 8 Feb 2019
result = [1 2 3 4
5 6 7 8
9 10 11 12];
time = [1 2 3 4];
figure
plot(time, result)
0 Commenti
Vedere anche
Categorie
Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!