Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
teb11007 committed Sep 12, 2017
1 parent 2edac34 commit 1e1cfc0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -35,9 +35,10 @@ transcum=cumsum(data(:,9))./1000000;%cumulative sum of transportational
%energy consumption in quintillions
figure(2)
plot(data(:,1),rescum,data(:,1),transcum)
```
set(gcf, 'Position', [500, 200, 1000, 800])
xlabel('Time (years)')
ylabel('Total Energy Consumed (quintillions of BTUs)')
legend('Residential','Transportation','Location','northwest')
title('Cumulative US Energy Consumption from 1949 to 2016')
```

0 comments on commit 1e1cfc0

Please sign in to comment.