assignment related to ploting line