#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu May  3 15:30:15 2018

@author: hollyerickson

Code for loading the loglog citation graph.
"""
import matplotlib.pyplot as plt
from Citation_dataV2 import x
from Citation_dataV2 import y


plt.style.use('seaborn-whitegrid')
fig = plt.figure(figsize = (9, 5))
ax1 = fig.add_subplot(1, 1, 1)

ax1.loglog(x, y, ls='None', marker='.', ms = 6, mec='black', mew=.5, c='blue')

ax1.set_title('LogLog In-Degree Distribution for Citation Graph', weight=600)
ax1.set_xlabel('Number of Citations')
ax1.set_ylabel('Normalized Fraction of Nodes')

#plt.savefig('Images/Citation Plot', orientation='landscape')
plt.show()


