How to plot daily load profile for 1 year data (1-minute interval)
    4 vues (au cours des 30 derniers jours)
  
       Afficher commentaires plus anciens
    
I haven't been able to figure out the way to automatically plot multiple daily load profile for 1 year data in one figure. How do I do it? 
I want to be able to plot them as the 'Active Power (kW) vs Time (hh)' graph:

0 commentaires
Réponses (1)
  Abhishek Chakram
      
 le 5 Oct 2023
        Hi Muhammad Hilmi Rosli. 
It is my understanding that you want to plot multiple daily load profile for 1 year data in a single figure. To achieve this, you can use the “hold” function. Here is a sample code for the same: 
% Generate x and y data for multiple plots
x = linspace(0, 2*pi, 100);
y1 = sin(x);
y2 = cos(x);
y3 = tan(x);
% Create a new figure
figure;
% Plot the first curve
plot(x, y1, 'r');
hold on;
% Plot the second curve
plot(x, y2, 'g');
% Plot the third curve
plot(x, y3, 'b');
% Add labels and legends
title('Trigonometric Functions');
xlabel('x');
ylabel('y');
legend('sin(x)', 'cos(x)', 'tan(x)');
% Turn off hold
hold off; 
You can refer to the following documentation to know more about the functions used:   
Hope this answers your question.
Best Regards,
Abhishek Chakram
0 commentaires
Voir également
Catégories
				En savoir plus sur Line Plots dans Help Center et File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

