plotting functions and point of refferance