Skip to content

Commit c8b37ec

Browse files
committed
Updating plot files
1 parent dbabe2d commit c8b37ec

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

ScriptData/Microgrid Control/+plot/loadVI.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ function loadVI(logsout,plotType,caseNum,voltageLimit)
1717
figureName = 'loadVIRMS';
1818
end
1919
% Create new figure
20-
PlotLoadVI = figure('Name', figureName);
20+
PlotLoadVI = figure('Name', figureName); %#ok<*NASGU>
2121
figure(PlotLoadVI)
22-
%clf(PlotLoadVI)
22+
clf(PlotLoadVI)
2323

2424
% selecting time axis for the plot
2525
switch caseNum

ScriptData/Microgrid Control/+plot/microgridStatus.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ function microgridStatus(logsout,caseNum)
1010

1111

1212
% Create new figure
13-
PlotMicrogridStatus = figure('Name', 'PlotMicrogridStatus');
13+
PlotMicrogridStatus = figure('Name', 'PlotMicrogridStatus'); %#ok<*NASGU>
1414
figure(PlotMicrogridStatus)
15-
%clf(PlotLoadVI)
15+
clf(PlotMicrogridStatus)
1616

1717
% selecting time axis for the plot
1818
switch caseNum

ScriptData/Microgrid Control/+plot/powerFlow.m

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@ function powerFlow(logsout,caseNum)
55

66
arguments
77
logsout
8-
caseNum (1,1) double = 1;
8+
caseNum (1,1) double = 1; %#ok<*INUSA>
99
end
1010

1111

1212
% Create new figure
13-
PlotPower = figure('Name', 'Power flow in microgrid');
14-
figure(PlotPower)
13+
PlotPower = figure('Name', 'Power flow in microgrid'); %#ok<*NASGU>
14+
figure(PlotPower);
15+
clf(PlotPower);
1516

1617

1718
tStart = 3.5;
2 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)