added scale to circle plotting code