Linear Function and graphs