readChannelID = [461653];
readAPIKey = '4555BYFWVBXOMQGB';
[data,time] = thingSpeakRead(readChannelID,'Fields',[1,2,3,4],'NumDays',1);
area(time, data(:,1)); hold on
area(time, data(:,3));
area(time, data(:,4));
area(time, data(:,2));
ylim([-inf,inf])
lgd = legend('PV output','Heater','Consumption','Import/Export');
title(lgd,'Energy readings')
set(lgd,'location','best')
line(xlim(), [0,0], 'LineWidth', 1, 'Color', 'k')
xlabel("Date / Time")
ylabel("KW");
title("Energy Summary")
h = zoom;
h.Motion = 'horizontal';
h.Enable = 'on';
<html>
<head>
<title>Home Energy Monitor</title>
</head>
<body>
<table border=2 bordercolor="#0000FF">
<tr>
<td colspan="3">
<iframe width="1300" height="320" style="border: 1px solid #cccccc;" src="https://thingspeak.com/apps/matlab_visualizations/226024?width=1250&height=300&dynamic=true&update=15"></iframe></td>
</tr>
<tr>
<td>
<iframe width="430" height="270" style="border: 1px solid #cccccc;" src="https://thingspeak.com/apps/matlab_visualizations/223871?width=400&height=250&dynamic=true&update=15"></iframe>
</td>
<td>
<iframe width="430" height="270" style="border: 1px solid #cccccc;" src=
"https://thingspeak.com/apps/matlab_visualizations/223873?width=400&height=250&dynamic=true&update=15"></iframe>
</td>
<td>
<iframe width="430" height="270" style="border: 1px solid #cccccc;" src= "https://thingspeak.com/apps/matlab_visualizations/223872?width=400&height=250&dynamic=true&update=15"></iframe>
</td>
</html>