MODULE 3.2: basic plotting functions