Add Graphic Functions

(Thomas )