added degree plotting routine