# -*- coding: utf-8 -*-
"""
Created on Mon May 31 14:17:20 2021

@author: Sim
"""
import pandas as pd
import numpy as np

np.random.seed(100)
x = np.linspace(0, 10, num=100)
y = 2 + 1.5*x + np.random.normal(loc=0, scale=2, size=100)
df = pd.DataFrame({'x': x, 'y':y}, columns=['x', 'y'])

df.plot(x='x',y='y', title='Scatter Test', kind='scatter', 
        xticks=[0, 1, 5, 10], yticks=[-4, 0, 4, 8, 10], grid=True)

df.plot(x='x',y='y', title='Scatter Test', kind='scatter', 
        xlabel='x-axis', ylabel='responses',
        xlim=(-4,10), ylim=[-2,20])

df.plot(x='x',y='y', title='Scatter Test', kind='scatter', 
        xlabel='x-axis', ylabel='responses',
        xlim=(-4,10), ylim=[-2,20], color='r', marker='*')
