sage worksheet to parametrically plot 'DOG'