added utility function to draw svg version of palmer stim