daily pastebin goal
48%
SHARE
TWEET

Untitled

a guest Aug 15th, 2018 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import pandas as pd
  2. import matplotlib.pyplot as plt
  3.  
  4. pjm_data = pd.read_table('http://www.pjm.com/pub/account/loadhryr/2018.txt',
  5.                          delimiter =',')
  6.  
  7. day_df = pjm_data[pjm_data.DAY=='08/09/18']
  8.  
  9. #%%
  10. fig, ax = plt.subplots()
  11. ax.plot((day_df.HOUR/100.0 - 1.0), day_df.PJME, c='k', linewidth=2)
  12. ax.set_xlim([0, 23])
  13. ax.set_xlabel('Hour of Day', fontsize=12)
  14. ax.set_ylabel('System Load [MW]', fontsize=12)
  15. ax.set_title('PJM Mid-Atlantic Region, 08/09/18', fontweight='bold')
  16. fig.tight_layout()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top